diff --git a/404.html b/404.html index 4ad18c7..c8afd02 100644 --- a/404.html +++ b/404.html @@ -42,5 +42,5 @@ - + diff --git a/chunk-XAGCUCAT.js b/chunk-OFOAMEDS.js similarity index 77% rename from chunk-XAGCUCAT.js rename to chunk-OFOAMEDS.js index 23c2739..1620860 100644 --- a/chunk-XAGCUCAT.js +++ b/chunk-OFOAMEDS.js @@ -1,2 +1,2 @@ -import{b as he}from"./chunk-HP2KUAWQ.js";import{a as ye}from"./chunk-4A5M7RW6.js";import{b as pe}from"./chunk-D2DE26MU.js";import{c as je,d as ve,e as xe,f as be}from"./chunk-LOQWNVM6.js";import{a as C,c as ge}from"./chunk-Y2IJV7KJ.js";import"./chunk-NO6YX2BS.js";import"./chunk-EPSS3MK7.js";import{V as fe,W as ue,t as oe,y as se,z as ne}from"./chunk-IXH6PIJ2.js";import"./chunk-6PAL4IQQ.js";import{$ as le,V as ie,X as ae,Z as ce,ba as de,ca as me}from"./chunk-WKHOS5S7.js";import{Aa as w,Ab as u,Ba as l,Ca as g,Cb as x,D,Ib as H,Jb as W,Kb as Q,Pa as M,Q as _,Ua as f,W as v,Xb as G,Z as b,a as B,b as A,ba as K,db as a,eb as c,ec as Y,fb as j,fc as Z,gb as T,gc as J,h as d,hb as $,ia as P,ja as S,jb as O,k as U,ka as R,l as z,la as L,lc as X,mb as I,ob as E,pc as ee,q as k,sb as V,uc as te,yc as re,zb as q}from"./chunk-IRG7MLS7.js";var Pe=(()=>{let i=class i{constructor(e,t,r){this.http=e,this.indexerService=t,this.indexedDBService=r,this.offset=0,this.limit=20,this.totalProjects=0,this.loading=!1,this.projects=[],this.noMoreProjects=!1,this.totalProjectsFetched=!1,this.selectedNetwork="testnet",this.loadNetwork()}loadNetwork(){this.selectedNetwork=this.indexerService.getNetwork()}fetchProjects(){return d(this,null,function*(){if(this.loading||this.noMoreProjects)return[];this.loading=!0;let e=this.indexerService.getPrimaryIndexer(this.selectedNetwork),t=this.totalProjectsFetched?`${e}api/query/Angor/projects?offset=${this.offset}&limit=${this.limit}`:`${e}api/query/Angor/projects?limit=${this.limit}`;try{let r=yield this.http.get(t,{observe:"response"}).toPromise();if(!this.totalProjectsFetched&&r&&r.headers){let p=r.headers.get("pagination-total");this.totalProjects=p?+p:0,this.totalProjectsFetched=!0,this.offset=Math.max(this.totalProjects-this.limit,0)}let s=r?.body||[];if(!s.length)return this.noMoreProjects=!0,[];let n=s.filter(p=>!this.projects.some(y=>y.projectIdentifier===p.projectIdentifier));if(!n.length)return this.noMoreProjects=!0,[];let h=n.map(p=>d(this,null,function*(){yield this.indexedDBService.saveProject(p)})),F=n.map(p=>d(this,null,function*(){try{let y=yield this.fetchProjectDetails(p.projectIdentifier).toPromise();return p.totalInvestmentsCount=y.totalInvestmentsCount,p}catch(y){return console.error(`Error fetching details for project ${p.projectIdentifier}:`,y),p}}));return yield Promise.all([...h,...F]),this.projects=[...this.projects,...n],this.offset=Math.max(this.offset-this.limit,0),n}catch(r){return console.error("Error fetching projects:",r),[]}finally{this.loading=!1}})}fetchProjectStats(e){let r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}/stats`;return this.http.get(r).pipe(D(s=>(console.error(`Error fetching stats for project ${e}:`,s),k({}))))}fetchAndSaveProjectStats(e){return d(this,null,function*(){try{let t=yield this.fetchProjectStats(e).toPromise();return t&&(yield this.indexedDBService.saveProjectStats(e,t)),t}catch(t){return console.error(`Error fetching and saving stats for project ${e}:`,t),null}})}fetchProjectDetails(e){let r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}`;return this.http.get(r).pipe(D(s=>(console.error(`Error fetching details for project ${e}:`,s),k({}))))}fetchAndSaveProjectDetails(e){return d(this,null,function*(){try{let t=yield this.fetchProjectDetails(e).toPromise();return t&&(yield this.indexedDBService.saveProject(t)),t}catch(t){return console.error(`Error fetching and saving details for project ${e}:`,t),null}})}getAllProjectsFromDB(){return d(this,null,function*(){return this.indexedDBService.getAllProjects()})}getProjectStatsFromDB(e){return d(this,null,function*(){return this.indexedDBService.getProjectStats(e)})}getProjects(){return this.projects}resetProjects(){this.projects=[],this.noMoreProjects=!1,this.offset=0,this.totalProjectsFetched=!1}};i.\u0275fac=function(t){return new(t||i)(b(ee),b(be),b(C))},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var Se=(()=>{let i=class i{constructor(){this.projects=[],this.projectsSubject=new z([])}getProjectsObservable(){return this.projectsSubject.asObservable()}setProjects(e){this.projects=e,this.projectsSubject.next(this.projects)}getProjects(){return this.projects}hasProjects(){return this.projects.length>0}updateProject(e){let t=this.projects.findIndex(r=>r.nostrPubKey===e.nostrPubKey);t>-1?this.projects[t]=e:this.projects.push(e),this.projectsSubject.next(this.projects)}getProjectByPubKey(e){return this.projects.find(t=>t.nostrPubKey===e)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var we=(()=>{let i=class i{stripHtmlTags(e){if(!e)return"";e=e.replace(/.*?<\/script>/gi,""),e=e.replace(/.*?<\/style>/gi,""),e=e.replace(/<([a-zA-Z][^\s>]*)(\s+[^>]*)?>/gi,(s,n,h)=>(h=h.replace(/\s+(style|class)\s*=\s*"[^"]*"/gi,""),`<${n}${h}>`));let t=/<(?!\/?(br|p|a|ul|ol|li|strong|em|b|i|u|hr|blockquote|img|div|span|table|thead|tbody|tr|td|th)\b)[^>]+>/gi;return e=e.replace(t,""),["h1","h2","h3","h4","h5","h6","p","div","section","article","footer","header","main"].forEach(s=>{let n=new RegExp(`<\\/?${s}[^>]*>`,"gi");e=e.replace(n,"
")}),e=e.replace(/<((?!br\s*\/?)[^>]+)>/gi,""),e=e.replace(/(\r?\n){2,}/g,` -`),e=e.replace(/(\s*){2,}/g,"
"),e=e.replace(/^\s*\s*|\s*\s*$/g,""),e=e.replace(/\s*()\s*/g,"$1"),e}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var ke=()=>[],De=o=>({"-ml-3":o});function _e(o,i){if(o&1&&(T(0),j(1,"img",41),$()),o&2){let m=i.index,e=E().$implicit;l(),V("alt","Investor avatar ",m+1,""),f("ngClass",Q(4,De,e.totalInvestmentsCount>1&&m>0))("src","images/avatars/avatar-placeholder.png",w)}}function Te(o,i){if(o&1&&(T(0),a(1,"angor-card",24)(2,"div",25),j(3,"img",26),c(),a(4,"div",27)(5,"div",28),j(6,"img",29),c()(),a(7,"div",30)(8,"div",31)(9,"div",32)(10,"div",33),u(11),c(),a(12,"div",34),u(13),c()(),a(14,"div",35)(15,"button",36),j(16,"mat-icon",37),c()()(),j(17,"hr",38),a(18,"div",31)(19,"div",39),u(20),c(),a(21,"div",40),M(22,_e,2,6,"ng-container",20),c()()()(),$()),o&2){let m=i.$implicit,e=E();l(3),f("src",e.getSafeUrl(m==null?null:m.banner,!0)||"images/pages/profile/cover.jpg",w),l(3),f("src",e.getSafeUrl(m==null?null:m.picture,!1)||"images/avatars/avatar-placeholder.png",w),l(5),x(" ",m.displayName||m.nostrPubKey," "),l(2),x(" ",m.about||"No description available"," "),l(3),f("svgIcon","heroicons_solid:user-plus"),l(4),x(" ",m.totalInvestmentsCount||0," investors "),l(2),f("ngForOf",W(7,ke).constructor(m.totalInvestmentsCount||0))}}function $e(o,i){if(o&1&&(a(0,"div",42),u(1),c()),o&2){let m=E();l(),x(" ",m.errorMessage," ")}}var Me=(()=>{let i=class i{constructor(e,t,r,s,n,h,F,p){this.projectService=e,this.router=t,this.stateService=r,this.metadataService=s,this.indexedDBService=n,this.changeDetectorRef=h,this.sanitizer=F,this.sanitizerService=p,this.projects=[],this.errorMessage="",this.loading=!1,this.metadataLoadLimit=5,this._unsubscribeAll=new U,this.filteredProjects=[]}ngOnInit(){return d(this,null,function*(){this.loadInitialProjects(),this.subscribeToMetadataUpdates()})}loadInitialProjects(){return d(this,null,function*(){try{if(this.loading=!0,this.projects=this.stateService.getProjects(),this.projects.length===0)yield this.loadProjectsFromService();else{this.filteredProjects=[...this.projects];let e=this.getProjectsWithoutMetadata();e.length>0&&(yield this.loadMetadataForProjects(e))}}catch{this.handleError("Error loading initial projects")}finally{this.loading=!1,this.changeDetectorRef.detectChanges()}})}loadProjectsFromService(){return d(this,null,function*(){try{let e=yield this.projectService.fetchProjects();if(e.length===0){this.errorMessage="No projects found";return}this.projects=e,this.filteredProjects=[...this.projects],this.stateService.setProjects(this.projects);let t=e.map(r=>r.nostrPubKey);yield this.loadMetadataForProjects(t)}catch{this.handleError("Error fetching projects from service")}})}subscribeToMetadataUpdates(){this.indexedDBService.getMetadataStream().pipe(_(this._unsubscribeAll)).subscribe(e=>{if(e){let t=this.projects.find(r=>r.nostrPubKey===e.pubkey);t&&this.updateProjectMetadata(t,e.metadata)}})}getProjectsWithoutMetadata(){return this.projects.filter(e=>!e.displayName||!e.about).map(e=>e.nostrPubKey)}loadMetadataForProjects(e){this.metadataService.fetchMetadataForMultipleKeys(e).then(t=>{t.forEach(r=>{let s=this.projects.find(n=>n.nostrPubKey===r.pubkey);s&&this.updateProjectMetadata(s,r)}),this.changeDetectorRef.detectChanges()}).catch(t=>{console.error("Error fetching metadata for projects:",t)})}loadProjects(){return d(this,null,function*(){this.loading||this.errorMessage==="No more projects found"||(this.loading=!0,this.projectService.fetchProjects().then(e=>d(this,null,function*(){if(e.length===0&&this.projects.length===0)this.errorMessage="No projects found";else if(e.length===0)this.errorMessage="No more projects found";else{this.projects=[...this.projects,...e],this.filteredProjects=[...this.projects];let t=e.map(r=>r.nostrPubKey);yield this.loadMetadataForProjects(t),this.stateService.setProjects(this.projects),this.projects.forEach(r=>this.subscribeToProjectMetadata(r))}this.loading=!1,this.changeDetectorRef.detectChanges()})).catch(e=>{console.error("Error fetching projects:",e),this.errorMessage="Error fetching projects. Please try again later.",this.loading=!1,this.changeDetectorRef.detectChanges()}))})}loadMetadataForProject(e){return d(this,null,function*(){try{let t=yield this.metadataService.fetchMetadataWithCache(e.nostrPubKey);t?this.updateProjectMetadata(e,t):console.warn(`No metadata found for project ${e.nostrPubKey}`)}catch(t){console.error(`Error fetching metadata for project ${e.nostrPubKey}:`,t)}})}updateProjectMetadata(e,t){let r=this.sanitizerService.stripHtmlTags(t.about||"No description available"),s=A(B({},e),{displayName:t.name,about:r,picture:t.picture,banner:t.banner}),n=this.projects.findIndex(h=>h.projectIdentifier===e.projectIdentifier);n!==-1&&(this.projects[n]=s,this.projects=[...this.projects]),this.filteredProjects=[...this.projects],this.changeDetectorRef.detectChanges()}subscribeToProjectMetadata(e){this.metadataService.getMetadataStream().pipe(_(this._unsubscribeAll)).subscribe(t=>{t&&t.pubkey===e.nostrPubKey&&this.updateProjectMetadata(e,t.metadata)})}goToProjectDetails(e){this.router.navigate(["/projects",e.projectIdentifier])}filterByQuery(e){if(!e){this.filteredProjects=[...this.projects];return}this.filteredProjects=this.projects.filter(t=>t.displayName?.toLowerCase().includes(e.toLowerCase())||t.about?.toLowerCase().includes(e.toLowerCase()))}toggleCompleted(e){}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}handleError(e){console.error(e),this.errorMessage=e,this.loading=!1,this.changeDetectorRef.detectChanges()}getSafeUrl(e,t){if(e&&typeof e=="string"&&this.isImageUrl(e))return this.sanitizer.bypassSecurityTrustUrl(e);{let r=t?"/images/pages/profile/cover.jpg":"images/avatars/avatar-placeholder.png";return this.sanitizer.bypassSecurityTrustUrl(r)}}isImageUrl(e){return/\.(jpeg|jpg|gif|png|svg|bmp|webp|tiff|ico)$/i.test(e)}};i.\u0275fac=function(t){return new(t||i)(g(Pe),g(re),g(Se),g(ge),g(C),g(G),g(te),g(we))},i.\u0275cmp=K({type:i,selectors:[["explore"]],standalone:!0,features:[H],decls:29,vars:7,consts:[["query",""],[1,"absolute","inset-0","flex","min-w-0","flex-col","overflow-y-auto"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"absolute","inset-0","pointer-events-none"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","max-w-xs","flex-auto","flex-col","sm:max-w-5xl"],[1,"flex","w-full","max-w-xs","flex-col","items-center","justify-between","sm:max-w-none","sm:flex-row"],[1,"mt-4","w-full","sm:mt-0","sm:w-72",3,"subscriptSizing"],["matPrefix","",1,"icon-size-5",3,"svgIcon"],["placeholder","Search ...","matInput","",3,"input"],[1,"mt-8","sm:ml-auto","sm:mt-0",3,"change","color"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2","mt-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","mt-10"],["mat-raised-button","","color","primary",3,"click","disabled"],["class","error-message",4,"ngIf"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"mr-4","flex-1","min-w-0"],[1,"text-2xl","font-semibold","leading-tight","truncate"],[1,"text-secondary","mt-1","leading-tight","truncate"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border"],["mat-icon-button",""],[1,"icon-size-5",3,"svgIcon"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"error-message"]],template:function(t,r){if(t&1){let s=O();a(0,"div",1)(1,"div",2),R(),a(2,"svg",3)(3,"g",4),j(4,"circle",5)(5,"circle",6),c()(),L(),a(6,"div",7)(7,"h2",8),u(8,"Explore Projects"),c(),a(9,"div",9),u(10," What\u2019s your next investment? "),c(),a(11,"div",10),u(12," Check out our projects and find your next investment opportunity. "),c()()(),a(13,"div",11)(14,"div",12)(15,"div",13)(16,"mat-form-field",14),j(17,"mat-icon",15),a(18,"input",16,0),I("input",function(){P(s);let h=q(19);return S(r.filterByQuery(h.value))}),c()(),a(20,"mat-slide-toggle",17),I("change",function(h){return P(s),S(r.toggleCompleted(h))}),u(21," Hide completed "),c()()(),a(22,"div",18)(23,"div",19),M(24,Te,23,8,"ng-container",20),c(),a(25,"div",21)(26,"button",22),I("click",function(){return P(s),S(r.loadProjects())}),u(27),c()(),M(28,$e,2,1,"div",23),c()()()}t&2&&(l(16),f("subscriptSizing","dynamic"),l(),f("svgIcon","heroicons_solid:magnifying-glass"),l(3),f("color","primary"),l(4),f("ngForOf",r.projects),l(2),f("disabled",r.loading),l(),x(" ",r.loading?"Loading...":"Load More Projects"," "),l(),f("ngIf",!r.loading&&r.errorMessage))},dependencies:[le,ae,ce,me,de,ye,ne,se,oe,je,ie,ue,fe,xe,ve,Y,pe,he,X,Z,J],encapsulation:2});let o=i;return o})();var yt=[{path:"",component:Me}];export{yt as default}; +import{b as he}from"./chunk-HP2KUAWQ.js";import{a as ye}from"./chunk-4A5M7RW6.js";import{b as pe}from"./chunk-D2DE26MU.js";import{c as je,d as ve,e as xe,f as be}from"./chunk-LOQWNVM6.js";import{a as C,c as ge}from"./chunk-Y2IJV7KJ.js";import"./chunk-NO6YX2BS.js";import"./chunk-EPSS3MK7.js";import{V as fe,W as ue,t as oe,y as se,z as ne}from"./chunk-IXH6PIJ2.js";import"./chunk-6PAL4IQQ.js";import{$ as le,V as ie,X as ae,Z as ce,ba as de,ca as me}from"./chunk-WKHOS5S7.js";import{Aa as w,Ab as u,Ba as l,Ca as g,Cb as x,D,Ib as H,Jb as W,Kb as Q,Pa as M,Q as _,Ua as f,W as v,Xb as G,Z as b,a as N,b as A,ba as K,db as a,eb as c,ec as Y,fb as j,fc as Z,gb as T,gc as J,h as d,hb as $,ia as P,ja as S,jb as O,k as U,ka as R,l as z,la as L,lc as X,mb as I,ob as E,pc as ee,q as k,sb as V,uc as te,yc as re,zb as q}from"./chunk-IRG7MLS7.js";var Pe=(()=>{let i=class i{constructor(e,t,r){this.http=e,this.indexerService=t,this.indexedDBService=r,this.offset=0,this.limit=20,this.totalProjects=0,this.loading=!1,this.projects=[],this.noMoreProjects=!1,this.totalProjectsFetched=!1,this.selectedNetwork="testnet",this.loadNetwork()}loadNetwork(){this.selectedNetwork=this.indexerService.getNetwork()}fetchProjects(){return d(this,null,function*(){if(this.loading||this.noMoreProjects)return[];this.loading=!0;let e=this.indexerService.getPrimaryIndexer(this.selectedNetwork),t=this.totalProjectsFetched?`${e}api/query/Angor/projects?offset=${this.offset}&limit=${this.limit}`:`${e}api/query/Angor/projects?limit=${this.limit}`;try{let r=yield this.http.get(t,{observe:"response"}).toPromise();if(!this.totalProjectsFetched&&r&&r.headers){let p=r.headers.get("pagination-total");this.totalProjects=p?+p:0,this.totalProjectsFetched=!0,this.offset=Math.max(this.totalProjects-this.limit,0)}let s=r?.body||[];if(!s.length)return this.noMoreProjects=!0,[];let n=s.filter(p=>!this.projects.some(y=>y.projectIdentifier===p.projectIdentifier));if(!n.length)return this.noMoreProjects=!0,[];let h=n.map(p=>d(this,null,function*(){yield this.indexedDBService.saveProject(p)})),F=n.map(p=>d(this,null,function*(){try{let y=yield this.indexedDBService.getProjectStats(p.projectIdentifier);return p.totalInvestmentsCount=y.investorCount|0,p}catch(y){return console.error(`Error fetching details for project ${p.projectIdentifier}:`,y),p}}));return yield Promise.all([...h,...F]),this.projects=[...this.projects,...n],this.offset=Math.max(this.offset-this.limit,0),n}catch(r){return console.error("Error fetching projects:",r),[]}finally{this.loading=!1}})}fetchProjectStats(e){let r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}/stats`;return this.http.get(r).pipe(D(s=>(console.error(`Error fetching stats for project ${e}:`,s),k({}))))}fetchAndSaveProjectStats(e){return d(this,null,function*(){try{let t=yield this.fetchProjectStats(e).toPromise();return t&&(yield this.indexedDBService.saveProjectStats(e,t)),t}catch(t){return console.error(`Error fetching and saving stats for project ${e}:`,t),null}})}fetchProjectDetails(e){let r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}`;return this.http.get(r).pipe(D(s=>(console.error(`Error fetching details for project ${e}:`,s),k({}))))}fetchAndSaveProjectDetails(e){return d(this,null,function*(){try{let t=yield this.fetchProjectDetails(e).toPromise();return t&&(yield this.indexedDBService.saveProject(t)),t}catch(t){return console.error(`Error fetching and saving details for project ${e}:`,t),null}})}getAllProjectsFromDB(){return d(this,null,function*(){return this.indexedDBService.getAllProjects()})}getProjectStatsFromDB(e){return d(this,null,function*(){return this.indexedDBService.getProjectStats(e)})}getProjects(){return this.projects}resetProjects(){this.projects=[],this.noMoreProjects=!1,this.offset=0,this.totalProjectsFetched=!1}};i.\u0275fac=function(t){return new(t||i)(b(ee),b(be),b(C))},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var Se=(()=>{let i=class i{constructor(){this.projects=[],this.projectsSubject=new z([])}getProjectsObservable(){return this.projectsSubject.asObservable()}setProjects(e){this.projects=e,this.projectsSubject.next(this.projects)}getProjects(){return this.projects}hasProjects(){return this.projects.length>0}updateProject(e){let t=this.projects.findIndex(r=>r.nostrPubKey===e.nostrPubKey);t>-1?this.projects[t]=e:this.projects.push(e),this.projectsSubject.next(this.projects)}getProjectByPubKey(e){return this.projects.find(t=>t.nostrPubKey===e)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var we=(()=>{let i=class i{stripHtmlTags(e){if(!e)return"";e=e.replace(/.*?<\/script>/gi,""),e=e.replace(/.*?<\/style>/gi,""),e=e.replace(/<([a-zA-Z][^\s>]*)(\s+[^>]*)?>/gi,(s,n,h)=>(h=h.replace(/\s+(style|class)\s*=\s*"[^"]*"/gi,""),`<${n}${h}>`));let t=/<(?!\/?(br|p|a|ul|ol|li|strong|em|b|i|u|hr|blockquote|img|div|span|table|thead|tbody|tr|td|th)\b)[^>]+>/gi;return e=e.replace(t,""),["h1","h2","h3","h4","h5","h6","p","div","section","article","footer","header","main"].forEach(s=>{let n=new RegExp(`<\\/?${s}[^>]*>`,"gi");e=e.replace(n,"
")}),e=e.replace(/<((?!br\s*\/?)[^>]+)>/gi,""),e=e.replace(/(\r?\n){2,}/g,` +`),e=e.replace(/(\s*){2,}/g,"
"),e=e.replace(/^\s*\s*|\s*\s*$/g,""),e=e.replace(/\s*()\s*/g,"$1"),e}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let o=i;return o})();var ke=()=>[],De=o=>({"-ml-3":o});function _e(o,i){if(o&1&&(T(0),j(1,"img",41),$()),o&2){let m=i.index,e=E().$implicit;l(),V("alt","Investor avatar ",m+1,""),f("ngClass",Q(4,De,e.totalInvestmentsCount>1&&m>0))("src","images/avatars/avatar-placeholder.png",w)}}function Te(o,i){if(o&1&&(T(0),a(1,"angor-card",24)(2,"div",25),j(3,"img",26),c(),a(4,"div",27)(5,"div",28),j(6,"img",29),c()(),a(7,"div",30)(8,"div",31)(9,"div",32)(10,"div",33),u(11),c(),a(12,"div",34),u(13),c()(),a(14,"div",35)(15,"button",36),j(16,"mat-icon",37),c()()(),j(17,"hr",38),a(18,"div",31)(19,"div",39),u(20),c(),a(21,"div",40),M(22,_e,2,6,"ng-container",20),c()()()(),$()),o&2){let m=i.$implicit,e=E();l(3),f("src",e.getSafeUrl(m==null?null:m.banner,!0)||"images/pages/profile/cover.jpg",w),l(3),f("src",e.getSafeUrl(m==null?null:m.picture,!1)||"images/avatars/avatar-placeholder.png",w),l(5),x(" ",m.displayName||m.nostrPubKey," "),l(2),x(" ",m.about||"No description available"," "),l(3),f("svgIcon","heroicons_solid:user-plus"),l(4),x(" ",m.totalInvestmentsCount||0," investors "),l(2),f("ngForOf",W(7,ke).constructor(m.totalInvestmentsCount||0))}}function $e(o,i){if(o&1&&(a(0,"div",42),u(1),c()),o&2){let m=E();l(),x(" ",m.errorMessage," ")}}var Me=(()=>{let i=class i{constructor(e,t,r,s,n,h,F,p){this.projectService=e,this.router=t,this.stateService=r,this.metadataService=s,this.indexedDBService=n,this.changeDetectorRef=h,this.sanitizer=F,this.sanitizerService=p,this.projects=[],this.errorMessage="",this.loading=!1,this.metadataLoadLimit=5,this._unsubscribeAll=new U,this.filteredProjects=[]}ngOnInit(){return d(this,null,function*(){this.loadInitialProjects(),this.subscribeToMetadataUpdates()})}loadInitialProjects(){return d(this,null,function*(){try{if(this.loading=!0,this.projects=this.stateService.getProjects(),this.projects.length===0)yield this.loadProjectsFromService();else{this.filteredProjects=[...this.projects];let e=this.getProjectsWithoutMetadata();e.length>0&&(yield this.loadMetadataForProjects(e))}}catch{this.handleError("Error loading initial projects")}finally{this.loading=!1,this.changeDetectorRef.detectChanges()}})}loadProjectsFromService(){return d(this,null,function*(){try{let e=yield this.projectService.fetchProjects();if(e.length===0){this.errorMessage="No projects found";return}this.projects=e,this.filteredProjects=[...this.projects],this.stateService.setProjects(this.projects);let t=e.map(r=>r.nostrPubKey);yield this.loadMetadataForProjects(t)}catch{this.handleError("Error fetching projects from service")}})}subscribeToMetadataUpdates(){this.indexedDBService.getMetadataStream().pipe(_(this._unsubscribeAll)).subscribe(e=>{if(e){let t=this.projects.find(r=>r.nostrPubKey===e.pubkey);t&&this.updateProjectMetadata(t,e.metadata)}})}getProjectsWithoutMetadata(){return this.projects.filter(e=>!e.displayName||!e.about).map(e=>e.nostrPubKey)}loadMetadataForProjects(e){this.metadataService.fetchMetadataForMultipleKeys(e).then(t=>{t.forEach(r=>{let s=this.projects.find(n=>n.nostrPubKey===r.pubkey);s&&this.updateProjectMetadata(s,r)}),this.changeDetectorRef.detectChanges()}).catch(t=>{console.error("Error fetching metadata for projects:",t)})}loadProjects(){return d(this,null,function*(){this.loading||this.errorMessage==="No more projects found"||(this.loading=!0,this.projectService.fetchProjects().then(e=>d(this,null,function*(){if(e.length===0&&this.projects.length===0)this.errorMessage="No projects found";else if(e.length===0)this.errorMessage="No more projects found";else{this.projects=[...this.projects,...e],this.filteredProjects=[...this.projects];let t=e.map(r=>r.nostrPubKey);yield this.loadMetadataForProjects(t),this.stateService.setProjects(this.projects),this.projects.forEach(r=>this.subscribeToProjectMetadata(r))}this.loading=!1,this.changeDetectorRef.detectChanges()})).catch(e=>{console.error("Error fetching projects:",e),this.errorMessage="Error fetching projects. Please try again later.",this.loading=!1,this.changeDetectorRef.detectChanges()}))})}loadMetadataForProject(e){return d(this,null,function*(){try{let t=yield this.metadataService.fetchMetadataWithCache(e.nostrPubKey);t?this.updateProjectMetadata(e,t):console.warn(`No metadata found for project ${e.nostrPubKey}`)}catch(t){console.error(`Error fetching metadata for project ${e.nostrPubKey}:`,t)}})}updateProjectMetadata(e,t){let r=this.sanitizerService.stripHtmlTags(t.about||"No description available"),s=A(N({},e),{displayName:t.name,about:r,picture:t.picture,banner:t.banner}),n=this.projects.findIndex(h=>h.projectIdentifier===e.projectIdentifier);n!==-1&&(this.projects[n]=s,this.projects=[...this.projects]),this.filteredProjects=[...this.projects],this.changeDetectorRef.detectChanges()}subscribeToProjectMetadata(e){this.metadataService.getMetadataStream().pipe(_(this._unsubscribeAll)).subscribe(t=>{t&&t.pubkey===e.nostrPubKey&&this.updateProjectMetadata(e,t.metadata)})}goToProjectDetails(e){this.router.navigate(["/projects",e.projectIdentifier])}filterByQuery(e){if(!e){this.filteredProjects=[...this.projects];return}this.filteredProjects=this.projects.filter(t=>t.displayName?.toLowerCase().includes(e.toLowerCase())||t.about?.toLowerCase().includes(e.toLowerCase()))}toggleCompleted(e){}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}handleError(e){console.error(e),this.errorMessage=e,this.loading=!1,this.changeDetectorRef.detectChanges()}getSafeUrl(e,t){if(e&&typeof e=="string"&&this.isImageUrl(e))return this.sanitizer.bypassSecurityTrustUrl(e);{let r=t?"/images/pages/profile/cover.jpg":"images/avatars/avatar-placeholder.png";return this.sanitizer.bypassSecurityTrustUrl(r)}}isImageUrl(e){return/\.(jpeg|jpg|gif|png|svg|bmp|webp|tiff|ico)$/i.test(e)}};i.\u0275fac=function(t){return new(t||i)(g(Pe),g(re),g(Se),g(ge),g(C),g(G),g(te),g(we))},i.\u0275cmp=K({type:i,selectors:[["explore"]],standalone:!0,features:[H],decls:29,vars:7,consts:[["query",""],[1,"absolute","inset-0","flex","min-w-0","flex-col","overflow-y-auto"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"absolute","inset-0","pointer-events-none"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","max-w-xs","flex-auto","flex-col","sm:max-w-5xl"],[1,"flex","w-full","max-w-xs","flex-col","items-center","justify-between","sm:max-w-none","sm:flex-row"],[1,"mt-4","w-full","sm:mt-0","sm:w-72",3,"subscriptSizing"],["matPrefix","",1,"icon-size-5",3,"svgIcon"],["placeholder","Search ...","matInput","",3,"input"],[1,"mt-8","sm:ml-auto","sm:mt-0",3,"change","color"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2","mt-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","mt-10"],["mat-raised-button","","color","primary",3,"click","disabled"],["class","error-message",4,"ngIf"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"mr-4","flex-1","min-w-0"],[1,"text-2xl","font-semibold","leading-tight","truncate"],[1,"text-secondary","mt-1","leading-tight","truncate"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border"],["mat-icon-button",""],[1,"icon-size-5",3,"svgIcon"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"error-message"]],template:function(t,r){if(t&1){let s=O();a(0,"div",1)(1,"div",2),R(),a(2,"svg",3)(3,"g",4),j(4,"circle",5)(5,"circle",6),c()(),L(),a(6,"div",7)(7,"h2",8),u(8,"Explore Projects"),c(),a(9,"div",9),u(10," What\u2019s your next investment? "),c(),a(11,"div",10),u(12," Check out our projects and find your next investment opportunity. "),c()()(),a(13,"div",11)(14,"div",12)(15,"div",13)(16,"mat-form-field",14),j(17,"mat-icon",15),a(18,"input",16,0),I("input",function(){P(s);let h=q(19);return S(r.filterByQuery(h.value))}),c()(),a(20,"mat-slide-toggle",17),I("change",function(h){return P(s),S(r.toggleCompleted(h))}),u(21," Hide completed "),c()()(),a(22,"div",18)(23,"div",19),M(24,Te,23,8,"ng-container",20),c(),a(25,"div",21)(26,"button",22),I("click",function(){return P(s),S(r.loadProjects())}),u(27),c()(),M(28,$e,2,1,"div",23),c()()()}t&2&&(l(16),f("subscriptSizing","dynamic"),l(),f("svgIcon","heroicons_solid:magnifying-glass"),l(3),f("color","primary"),l(4),f("ngForOf",r.projects),l(2),f("disabled",r.loading),l(),x(" ",r.loading?"Loading...":"Load More Projects"," "),l(),f("ngIf",!r.loading&&r.errorMessage))},dependencies:[le,ae,ce,me,de,ye,ne,se,oe,je,ie,ue,fe,xe,ve,Y,pe,he,X,Z,J],encapsulation:2});let o=i;return o})();var yt=[{path:"",component:Me}];export{yt as default}; diff --git a/index.html b/index.html index 4ad18c7..c8afd02 100644 --- a/index.html +++ b/index.html @@ -42,5 +42,5 @@ - + diff --git a/main-CXHG5XOI.js b/main-RPLAWMBI.js similarity index 99% rename from main-CXHG5XOI.js rename to main-RPLAWMBI.js index 5272ce6..c81b222 100644 --- a/main-CXHG5XOI.js +++ b/main-RPLAWMBI.js @@ -4,7 +4,7 @@ import{a as qc,b as kc}from"./chunk-HP2KUAWQ.js";import{a as Fc,b as Rc}from"./c `],encapsulation:2,data:{animation:gi},changeDetection:0});let i=e;return i})();var cr=i=>({"angor-vertical-navigation-item-active-forced":i}),rm=i=>[i];function Mb(i,e){i&1&&ye(0)}function Eb(i,e){if(i&1&&(y(0,"a",2),A(1,Mb,1,0,"ng-container",6),_()),i&2){let a,t,n,o,r=h(),s=te(9);f("ngClass",qe(10,cr,r.item.active))("routerLink",qe(12,rm,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Ob(i,e){i&1&&ye(0)}function Nb(i,e){if(i&1&&(y(0,"a",3),A(1,Ob,1,0,"ng-container",6),_()),i&2){let a=h(),t=te(9);f("href",a.item.link,Ye)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Lb(i,e){i&1&&ye(0)}function Pb(i,e){if(i&1){let a=le();y(0,"div",7),Y("click",function(){K(a);let n=h();return Q(n.item.function(n.item))}),A(1,Lb,1,0,"ng-container",6),_()}if(i&2){let a=h(),t=te(9);f("ngClass",qe(3,cr,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Fb(i,e){i&1&&ye(0)}function Rb(i,e){if(i&1){let a=le();y(0,"a",8),Y("click",function(){K(a);let n=h();return Q(n.item.function(n.item))}),A(1,Fb,1,0,"ng-container",6),_()}if(i&2){let a,t,n,o,r=h(),s=te(9);f("ngClass",qe(10,cr,r.item.active))("routerLink",qe(12,rm,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Hb(i,e){i&1&&ye(0)}function jb(i,e){if(i&1){let a=le();y(0,"a",9),Y("click",function(){K(a);let n=h();return Q(n.item.function(n.item))}),A(1,Hb,1,0,"ng-container",6),_()}if(i&2){let a=h(),t=te(9);f("href",a.item.link,Ye)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function zb(i,e){i&1&&ye(0)}function Jb(i,e){if(i&1&&(y(0,"div",4),A(1,zb,1,0,"ng-container",6),_()),i&2){let a=h(),t=te(9);f("ngClass",qe(3,cr,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Bb(i,e){i&1&&ye(0)}function Vb(i,e){if(i&1&&(y(0,"div",5),A(1,Bb,1,0,"ng-container",6),_()),i&2){let a=h(),t=te(9);f("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Wb(i,e){if(i&1&&S(0,"mat-icon",10),i&2){let a=h(2);f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function Ub(i,e){if(i&1&&(y(0,"div",14)(1,"span",13),j(2),_()()),i&2){let a=h(2);m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),ae(" ",a.item.subtitle," ")}}function Gb(i,e){if(i&1&&(y(0,"div",15)(1,"div",16),j(2),_()()),i&2){let a=h(2);m(),f("ngClass",a.item.badge.classes),m(),ae(" ",a.item.badge.title," ")}}function $b(i,e){if(i&1&&(A(0,Wb,1,2,"mat-icon",10),y(1,"div",11)(2,"div",12)(3,"span",13),j(4),_()(),A(5,Ub,3,2,"div",14),_(),A(6,Gb,3,2,"div",15)),i&2){let a=h();q(a.item.icon?0:-1),m(3),f("ngClass",a.item.classes==null?null:a.item.classes.title),m(),ae(" ",a.item.title," "),m(),q(a.item.subtitle?5:-1),m(),q(a.item.badge?6:-1)}}var Si=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._angorNavigationService=I(ge),this._angorUtilsService=I(qt),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new Z}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[G],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(n,o){n&1&&(y(0,"div",1),A(1,Eb,2,14,"a",2)(2,Nb,2,4,"a",3)(3,Pb,2,5,"div",4)(4,Rb,2,14,"a",2)(5,jb,2,4,"a",3)(6,Jb,2,5,"div",4)(7,Vb,2,2,"div",5),_(),A(8,$b,7,5,"ng-template",null,0,it)),n&2&&(Ke("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),q(o.item.link&&!o.item.externalLink&&!o.item.function&&!o.item.disabled?1:-1),m(),q(o.item.link&&o.item.externalLink&&!o.item.function&&!o.item.disabled?2:-1),m(),q(!o.item.link&&o.item.function&&!o.item.disabled?3:-1),m(),q(o.item.link&&!o.item.externalLink&&o.item.function&&!o.item.disabled?4:-1),m(),q(o.item.link&&o.item.externalLink&&o.item.function&&!o.item.disabled?5:-1),m(),q(!o.item.link&&!o.item.function&&!o.item.disabled?6:-1),m(),q(o.item.disabled?7:-1))},dependencies:[_e,di,Xn,rt,ot,yt,be,he],encapsulation:2,changeDetection:0});let i=e;return i})();var Ci=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._angorNavigationService=I(ge),this._unsubscribeAll=new Z}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[G],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(n,o){n&1&&S(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[_e],encapsulation:2,changeDetection:0});let i=e;return i})();var qi=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._angorNavigationService=I(ge),this._unsubscribeAll=new Z}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[G],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(n,o){n&1&&S(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[_e],encapsulation:2,changeDetection:0});let i=e;return i})();function Zb(i,e){if(i&1&&S(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function Yb(i,e){if(i&1&&(y(0,"div",6)(1,"span",5),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),ae(" ",a.item.subtitle," ")}}function Kb(i,e){if(i&1&&(y(0,"div",7)(1,"div",8),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),ae(" ",a.item.badge.title," ")}}function Qb(i,e){if(i&1&&S(0,"angor-vertical-navigation-basic-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Xb(i,e){if(i&1&&S(0,"angor-vertical-navigation-collapsable-item",10),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function ev(i,e){if(i&1&&S(0,"angor-vertical-navigation-divider-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function tv(i,e){if(i&1&&S(0,"angor-vertical-navigation-group-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function iv(i,e){if(i&1&&S(0,"angor-vertical-navigation-spacer-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function av(i,e){if(i&1&&A(0,Qb,1,2,"angor-vertical-navigation-basic-item",9)(1,Xb,1,3,"angor-vertical-navigation-collapsable-item",10)(2,ev,1,2,"angor-vertical-navigation-divider-item",9)(3,tv,1,2,"angor-vertical-navigation-group-item",9)(4,iv,1,2,"angor-vertical-navigation-spacer-item",9),i&2){let a=h().$implicit;q(a.type==="basic"?0:-1),m(),q(a.type==="collapsable"?1:-1),m(),q(a.type==="divider"?2:-1),m(),q(a.type==="group"?3:-1),m(),q(a.type==="spacer"?4:-1)}}function nv(i,e){if(i&1&&A(0,av,5,5),i&2){let a=e.$implicit;q(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}var Aa=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._angorNavigationService=I(ge),this._unsubscribeAll=new Z}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[G],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(y(0,"div",0)(1,"div",1),A(2,Zb,1,2,"mat-icon",2),y(3,"div",3)(4,"div",4)(5,"span",5),j(6),_()(),A(7,Yb,3,2,"div",6),_(),A(8,Kb,3,2,"div",7),_()(),Pe(9,nv,1,1,null,null,o.trackByFn,!0)),n&2&&(Ke("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(2),q(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),ae(" ",o.item.title," "),m(),q(o.item.subtitle?7:-1),m(),q(o.item.badge?8:-1),m(),Fe(o.item.children))},dependencies:()=>[e,_e,be,he,Si,Ia,Ci,qi],encapsulation:2,changeDetection:0});let i=e;return i})();var ov=i=>({"angor-vertical-navigation-item-disabled":i});function rv(i,e){if(i&1&&S(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function sv(i,e){if(i&1&&(y(0,"div",6)(1,"span",5),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),ae(" ",a.item.subtitle," ")}}function lv(i,e){if(i&1&&(y(0,"div",7)(1,"div",10),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),ae(" ",a.item.badge.title," ")}}function cv(i,e){if(i&1&&S(0,"angor-vertical-navigation-basic-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function uv(i,e){if(i&1&&S(0,"angor-vertical-navigation-collapsable-item",12),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function dv(i,e){if(i&1&&S(0,"angor-vertical-navigation-divider-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function mv(i,e){if(i&1&&S(0,"angor-vertical-navigation-group-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function pv(i,e){if(i&1&&S(0,"angor-vertical-navigation-spacer-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function gv(i,e){if(i&1&&A(0,cv,1,2,"angor-vertical-navigation-basic-item",11)(1,uv,1,3,"angor-vertical-navigation-collapsable-item",12)(2,dv,1,2,"angor-vertical-navigation-divider-item",11)(3,mv,1,2,"angor-vertical-navigation-group-item",11)(4,pv,1,2,"angor-vertical-navigation-spacer-item",11),i&2){let a=h().$implicit;q(a.type==="basic"?0:-1),m(),q(a.type==="collapsable"?1:-1),m(),q(a.type==="divider"?2:-1),m(),q(a.type==="group"?3:-1),m(),q(a.type==="spacer"?4:-1)}}function fv(i,e){if(i&1&&A(0,gv,5,5),i&2){let a=e.$implicit;q(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function hv(i,e){if(i&1&&(y(0,"div",9),Pe(1,fv,1,1,null,null,zt().trackByFn,!0),_()),i&2){let a=h();f("@expandCollapse",void 0),m(),Fe(a.item.children)}}var Ia=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._router=I(je),this._angorNavigationService=I(ge),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new Z}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe(B(this._unsubscribeAll)).subscribe(t=>{t!==null&&this._isChildrenOf(t,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe(B(this._unsubscribeAll)).subscribe(t=>{t!==null&&(this._isChildrenOf(this.item,t)||this._hasActiveChild(this.item,this._router.url)||this.item!==t&&this.collapse())}),this._router.events.pipe($e(t=>t instanceof Jt),B(this._unsubscribeAll)).subscribe(t=>{this._hasActiveChild(this.item,t.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(t,n){return n.id||t}_hasActiveChild(t,n){let o=t.children;if(!o)return!1;for(let r of o)if(r.children&&this._hasActiveChild(r,n)||r.link&&this._router.isActive(r.link,r.exactMatch||!1))return!0;return!1}_isChildrenOf(t,n){let o=t.children;if(!o)return!1;if(o.indexOf(n)>-1)return!0;for(let r of o)if(r.children&&this._isChildrenOf(r,n))return!0;return!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(n,o){n&2&&li(o.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[G],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(y(0,"div",0)(1,"div",1),Y("click",function(){return o.toggleCollapsable()}),A(2,rv,1,2,"mat-icon",2),y(3,"div",3)(4,"div",4)(5,"span",5),j(6),_()(),A(7,sv,3,2,"div",6),_(),A(8,lv,3,2,"div",7),S(9,"mat-icon",8),_()(),A(10,hv,3,1,"div",9)),n&2&&(Ke("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),f("ngClass",qe(12,ov,o.item.disabled))("matTooltip",o.item.tooltip||""),m(),q(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),ae(" ",o.item.title," "),m(),q(o.item.subtitle?7:-1),m(),q(o.item.badge?8:-1),m(),f("svgIcon","heroicons_solid:chevron-right"),m(),q(o.isCollapsed?-1:10))},dependencies:()=>[e,_e,rt,ot,be,he,Si,Ci,Aa,qi],encapsulation:2,data:{animation:gi},changeDetection:0});let i=e;return i})();var bv=(i,e,a)=>({"angor-vertical-navigation-item-active":i,"angor-vertical-navigation-item-disabled":e,"angor-vertical-navigation-item-active-forced":a});function vv(i,e){if(i&1&&S(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function yv(i,e){if(i&1&&(y(0,"div",6)(1,"span",5),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),ae(" ",a.item.subtitle," ")}}function _v(i,e){if(i&1&&(y(0,"div",7)(1,"div",9),j(2),_()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),ae(" ",a.item.badge.title," ")}}function xv(i,e){if(i&1&&S(0,"angor-vertical-navigation-basic-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function wv(i,e){if(i&1&&S(0,"angor-vertical-navigation-collapsable-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function Sv(i,e){if(i&1&&S(0,"angor-vertical-navigation-divider-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function Cv(i,e){if(i&1&&S(0,"angor-vertical-navigation-group-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function qv(i,e){if(i&1&&S(0,"angor-vertical-navigation-spacer-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function kv(i,e){if(i&1&&A(0,xv,1,2,"angor-vertical-navigation-basic-item",10)(1,wv,1,3,"angor-vertical-navigation-collapsable-item",11)(2,Sv,1,2,"angor-vertical-navigation-divider-item",10)(3,Cv,1,2,"angor-vertical-navigation-group-item",10)(4,qv,1,2,"angor-vertical-navigation-spacer-item",10),i&2){let a=h().$implicit;q(a.type==="basic"?0:-1),m(),q(a.type==="collapsable"?1:-1),m(),q(a.type==="divider"?2:-1),m(),q(a.type==="group"?3:-1),m(),q(a.type==="spacer"?4:-1)}}function Tv(i,e){if(i&1&&A(0,kv,5,5),i&2){let a=e.$implicit;q(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function Dv(i,e){if(i&1&&(y(0,"div",8),Pe(1,Tv,1,1,null,null,zt().trackByFn,!0),_()),i&2){let a=h();m(),Fe(a.item.children)}}var sm=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(ce),this._router=I(je),this._angorNavigationService=I(ge),this.active=!1,this._unsubscribeAll=new Z}ngOnChanges(t){"activeItemId"in t&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe($e(t=>t instanceof Jt),B(this._unsubscribeAll)).subscribe(t=>{this._markIfActive(t.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(B(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(t,n){return n.id||t}_hasActiveChild(t,n){let o=t.children;if(!o)return!1;for(let r of o){if(r.children&&this._hasActiveChild(r,n))return!0;if(r.type==="basic"&&r.link&&this._router.isActive(r.link,r.exactMatch||!1))return!0}return!1}_markIfActive(t){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,t)&&(this.active=!0),this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[tt,G],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(y(0,"div",0)(1,"div",1),A(2,vv,1,2,"mat-icon",2),y(3,"div",3)(4,"div",4)(5,"span",5),j(6),_()(),A(7,yv,3,2,"div",6),_(),A(8,_v,3,2,"div",7),_()(),A(9,Dv,3,0,"div",8)),n&2&&(Ke("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),f("ngClass",Pl(11,bv,o.active,o.item.disabled,o.item.active))("matTooltip",o.item.tooltip||""),m(),q(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),ae(" ",o.item.title," "),m(),q(o.item.subtitle?7:-1),m(),q(o.item.badge?8:-1),m(),q(o.skipChildren?-1:9))},dependencies:[_e,rt,ot,be,he,Si,Ia,Ci,Aa,qi],encapsulation:2,changeDetection:0});let i=e;return i})();var ur=class{constructor(e,a,t,n){this.x=e,this.y=a,this.w=t,this.h=n}},On=class{constructor(e,a){this.x=e,this.y=a}};function Wt(i){return getComputedStyle(i)}function st(i,e){for(var a in e){var t=e[a];typeof t=="number"&&(t=t+"px"),i.style[a]=t}return i}function dr(i){var e=document.createElement("div");return e.className=i,e}var lm=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function ki(i,e){if(!lm)throw new Error("No element matching method supported");return lm.call(i,e)}function Ea(i){i.remove?i.remove():i.parentNode&&i.parentNode.removeChild(i)}function cm(i,e){return Array.prototype.filter.call(i.children,function(a){return ki(a,e)})}var Oe={main:"ps",rtl:"ps__rtl",element:{thumb:function(i){return"ps__thumb-"+i},rail:function(i){return"ps__rail-"+i},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(i){return"ps--active-"+i},scrolling:function(i){return"ps--scrolling-"+i}}},mm={x:null,y:null};function pm(i,e){var a=i.element.classList,t=Oe.state.scrolling(e);a.contains(t)?clearTimeout(mm[e]):a.add(t)}function gm(i,e){mm[e]=setTimeout(function(){return i.isAlive&&i.element.classList.remove(Oe.state.scrolling(e))},i.settings.scrollingThreshold)}function Av(i,e){pm(i,e),gm(i,e)}var Nn=function(e){this.element=e,this.handlers={}},fm={isEmpty:{configurable:!0}};Nn.prototype.bind=function(e,a){typeof this.handlers[e]>"u"&&(this.handlers[e]=[]),this.handlers[e].push(a),this.element.addEventListener(e,a,!1)};Nn.prototype.unbind=function(e,a){var t=this;this.handlers[e]=this.handlers[e].filter(function(n){return a&&n!==a?!0:(t.element.removeEventListener(e,n,!1),!1)})};Nn.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)};fm.isEmpty.get=function(){var i=this;return Object.keys(this.handlers).every(function(e){return i.handlers[e].length===0})};Object.defineProperties(Nn.prototype,fm);var Oa=function(){this.eventElements=[]};Oa.prototype.eventElement=function(e){var a=this.eventElements.filter(function(t){return t.element===e})[0];return a||(a=new Nn(e),this.eventElements.push(a)),a};Oa.prototype.bind=function(e,a,t){this.eventElement(e).bind(a,t)};Oa.prototype.unbind=function(e,a,t){var n=this.eventElement(e);n.unbind(a,t),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)};Oa.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]};Oa.prototype.once=function(e,a,t){var n=this.eventElement(e),o=function(r){n.unbind(a,o),t(r)};n.bind(a,o)};function mr(i){if(typeof window.CustomEvent=="function")return new CustomEvent(i);var e=document.createEvent("CustomEvent");return e.initCustomEvent(i,!1,!1,void 0),e}function pr(i,e,a,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1);var o;if(e==="top")o=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(e==="left")o=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");Iv(i,a,o,t,n)}function Iv(i,e,a,t,n){var o=a[0],r=a[1],s=a[2],l=a[3],c=a[4],d=a[5];t===void 0&&(t=!0),n===void 0&&(n=!1);var g=i.element;i.reach[l]=null,g[s]<1&&(i.reach[l]="start"),g[s]>i[o]-i[r]-1&&(i.reach[l]="end"),e&&(g.dispatchEvent(mr("ps-scroll-"+l)),e<0?g.dispatchEvent(mr("ps-scroll-"+c)):e>0&&g.dispatchEvent(mr("ps-scroll-"+d)),t&&Av(i,l)),i.reach[l]&&(e||n)&&g.dispatchEvent(mr("ps-"+l+"-reach-"+i.reach[l]))}function De(i){return parseInt(i,10)||0}function Mv(i){return ki(i,"input,[contenteditable]")||ki(i,"select,[contenteditable]")||ki(i,"textarea,[contenteditable]")||ki(i,"button,[contenteditable]")}function Ev(i){var e=Wt(i);return De(e.width)+De(e.paddingLeft)+De(e.paddingRight)+De(e.borderLeftWidth)+De(e.borderRightWidth)}var Ma={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function oi(i){var e=i.element,a=Math.floor(e.scrollTop),t=e.getBoundingClientRect();i.containerWidth=Math.round(t.width),i.containerHeight=Math.round(t.height),i.contentWidth=e.scrollWidth,i.contentHeight=e.scrollHeight,e.contains(i.scrollbarXRail)||(cm(e,Oe.element.rail("x")).forEach(function(n){return Ea(n)}),e.appendChild(i.scrollbarXRail)),e.contains(i.scrollbarYRail)||(cm(e,Oe.element.rail("y")).forEach(function(n){return Ea(n)}),e.appendChild(i.scrollbarYRail)),!i.settings.suppressScrollX&&i.containerWidth+i.settings.scrollXMarginOffset=i.railXWidth-i.scrollbarXWidth&&(i.scrollbarXLeft=i.railXWidth-i.scrollbarXWidth),i.scrollbarYTop>=i.railYHeight-i.scrollbarYHeight&&(i.scrollbarYTop=i.railYHeight-i.scrollbarYHeight),Ov(e,i),i.scrollbarXActive?e.classList.add(Oe.state.active("x")):(e.classList.remove(Oe.state.active("x")),i.scrollbarXWidth=0,i.scrollbarXLeft=0,e.scrollLeft=i.isRtl===!0?i.contentWidth:0),i.scrollbarYActive?e.classList.add(Oe.state.active("y")):(e.classList.remove(Oe.state.active("y")),i.scrollbarYHeight=0,i.scrollbarYTop=0,e.scrollTop=0)}function um(i,e){return i.settings.minScrollbarLength&&(e=Math.max(e,i.settings.minScrollbarLength)),i.settings.maxScrollbarLength&&(e=Math.min(e,i.settings.maxScrollbarLength)),e}function Ov(i,e){var a={width:e.railXWidth},t=Math.floor(i.scrollTop);e.isRtl?a.left=e.negativeScrollAdjustment+i.scrollLeft+e.containerWidth-e.contentWidth:a.left=i.scrollLeft,e.isScrollbarXUsingBottom?a.bottom=e.scrollbarXBottom-t:a.top=e.scrollbarXTop+t,st(e.scrollbarXRail,a);var n={top:t,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?n.right=e.contentWidth-(e.negativeScrollAdjustment+i.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:n.right=e.scrollbarYRight-i.scrollLeft:e.isRtl?n.left=e.negativeScrollAdjustment+i.scrollLeft+e.containerWidth*2-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:n.left=e.scrollbarYLeft+i.scrollLeft,st(e.scrollbarYRail,n),st(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),st(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}function Nv(i){var e=i.element;i.event.bind(i.scrollbarY,"mousedown",function(a){return a.stopPropagation()}),i.event.bind(i.scrollbarYRail,"mousedown",function(a){var t=a.pageY-window.pageYOffset-i.scrollbarYRail.getBoundingClientRect().top,n=t>i.scrollbarYTop?1:-1;i.element.scrollTop+=n*i.containerHeight,oi(i),a.stopPropagation()}),i.event.bind(i.scrollbarX,"mousedown",function(a){return a.stopPropagation()}),i.event.bind(i.scrollbarXRail,"mousedown",function(a){var t=a.pageX-window.pageXOffset-i.scrollbarXRail.getBoundingClientRect().left,n=t>i.scrollbarXLeft?1:-1;i.element.scrollLeft+=n*i.containerWidth,oi(i),a.stopPropagation()})}function Lv(i){dm(i,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),dm(i,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function dm(i,e){var a=e[0],t=e[1],n=e[2],o=e[3],r=e[4],s=e[5],l=e[6],c=e[7],d=e[8],g=i.element,x=null,b=null,v=null;function T(k){k.touches&&k.touches[0]&&(k[n]=k.touches[0].pageY),g[l]=x+v*(k[n]-b),pm(i,c),oi(i),k.stopPropagation(),k.type.startsWith("touch")&&k.changedTouches.length>1&&k.preventDefault()}function E(){gm(i,c),i[d].classList.remove(Oe.state.clicking),i.event.unbind(i.ownerDocument,"mousemove",T)}function w(k,R){x=g[l],R&&k.touches&&(k[n]=k.touches[0].pageY),b=k[n],v=(i[t]-i[a])/(i[o]-i[s]),R?i.event.bind(i.ownerDocument,"touchmove",T):(i.event.bind(i.ownerDocument,"mousemove",T),i.event.once(i.ownerDocument,"mouseup",E),k.preventDefault()),i[d].classList.add(Oe.state.clicking),k.stopPropagation()}i.event.bind(i[r],"mousedown",function(k){w(k)}),i.event.bind(i[r],"touchstart",function(k){w(k,!0)})}function Pv(i){var e=i.element,a=function(){return ki(e,":hover")},t=function(){return ki(i.scrollbarX,":focus")||ki(i.scrollbarY,":focus")};function n(o,r){var s=Math.floor(e.scrollTop);if(o===0){if(!i.scrollbarYActive)return!1;if(s===0&&r>0||s>=i.contentHeight-i.containerHeight&&r<0)return!i.settings.wheelPropagation}var l=e.scrollLeft;if(r===0){if(!i.scrollbarXActive)return!1;if(l===0&&o<0||l>=i.contentWidth-i.containerWidth&&o>0)return!i.settings.wheelPropagation}return!0}i.event.bind(i.ownerDocument,"keydown",function(o){if(!(o.isDefaultPrevented&&o.isDefaultPrevented()||o.defaultPrevented)&&!(!a()&&!t())){var r=document.activeElement?document.activeElement:i.ownerDocument.activeElement;if(r){if(r.tagName==="IFRAME")r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(Mv(r))return}var s=0,l=0;switch(o.which){case 37:o.metaKey?s=-i.contentWidth:o.altKey?s=-i.containerWidth:s=-30;break;case 38:o.metaKey?l=i.contentHeight:o.altKey?l=i.containerHeight:l=30;break;case 39:o.metaKey?s=i.contentWidth:o.altKey?s=i.containerWidth:s=30;break;case 40:o.metaKey?l=-i.contentHeight:o.altKey?l=-i.containerHeight:l=-30;break;case 32:o.shiftKey?l=i.containerHeight:l=-i.containerHeight;break;case 33:l=i.containerHeight;break;case 34:l=-i.containerHeight;break;case 36:l=i.contentHeight;break;case 35:l=-i.contentHeight;break;default:return}i.settings.suppressScrollX&&s!==0||i.settings.suppressScrollY&&l!==0||(e.scrollTop-=l,e.scrollLeft+=s,oi(i),n(s,l)&&o.preventDefault())}})}function Fv(i){var e=i.element;function a(r,s){var l=Math.floor(e.scrollTop),c=e.scrollTop===0,d=l+e.offsetHeight===e.scrollHeight,g=e.scrollLeft===0,x=e.scrollLeft+e.offsetWidth===e.scrollWidth,b;return Math.abs(s)>Math.abs(r)?b=c||d:b=g||x,b?!i.settings.wheelPropagation:!0}function t(r){var s=r.deltaX,l=-1*r.deltaY;return(typeof s>"u"||typeof l>"u")&&(s=-1*r.wheelDeltaX/6,l=r.wheelDeltaY/6),r.deltaMode&&r.deltaMode===1&&(s*=10,l*=10),s!==s&&l!==l&&(s=0,l=r.wheelDelta),r.shiftKey?[-l,-s]:[s,l]}function n(r,s,l){if(!Ma.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(r))return!1;for(var c=r;c&&c!==e;){if(c.classList.contains(Oe.element.consuming))return!0;var d=Wt(c);if(l&&d.overflowY.match(/(scroll|auto)/)){var g=c.scrollHeight-c.clientHeight;if(g>0&&(c.scrollTop>0&&l<0||c.scrollTop0))return!0}if(s&&d.overflowX.match(/(scroll|auto)/)){var x=c.scrollWidth-c.clientWidth;if(x>0&&(c.scrollLeft>0&&s<0||c.scrollLeft0))return!0}c=c.parentNode}return!1}function o(r){var s=t(r),l=s[0],c=s[1];if(!n(r.target,l,c)){var d=!1;i.settings.useBothWheelAxes?i.scrollbarYActive&&!i.scrollbarXActive?(c?e.scrollTop-=c*i.settings.wheelSpeed:e.scrollTop+=l*i.settings.wheelSpeed,d=!0):i.scrollbarXActive&&!i.scrollbarYActive&&(l?e.scrollLeft+=l*i.settings.wheelSpeed:e.scrollLeft-=c*i.settings.wheelSpeed,d=!0):(e.scrollTop-=c*i.settings.wheelSpeed,e.scrollLeft+=l*i.settings.wheelSpeed),oi(i),d=d||a(l,c),d&&!r.ctrlKey&&(r.stopPropagation(),r.preventDefault())}}typeof window.onwheel<"u"?i.event.bind(e,"wheel",o):typeof window.onmousewheel<"u"&&i.event.bind(e,"mousewheel",o)}function Rv(i){if(!Ma.supportsTouch&&!Ma.supportsIePointer)return;var e=i.element;function a(v,T){var E=Math.floor(e.scrollTop),w=e.scrollLeft,k=Math.abs(v),R=Math.abs(T);if(R>k){if(T<0&&E===i.contentHeight-i.containerHeight||T>0&&E===0)return window.scrollY===0&&T>0&&Ma.isChrome}else if(k>R&&(v<0&&w===i.contentWidth-i.containerWidth||v>0&&w===0))return!0;return!0}function t(v,T){e.scrollTop-=T,e.scrollLeft-=v,oi(i)}var n={},o=0,r={},s=null;function l(v){return v.targetTouches?v.targetTouches[0]:v}function c(v){return v.pointerType&&v.pointerType==="pen"&&v.buttons===0?!1:!!(v.targetTouches&&v.targetTouches.length===1||v.pointerType&&v.pointerType!=="mouse"&&v.pointerType!==v.MSPOINTER_TYPE_MOUSE)}function d(v){if(c(v)){var T=l(v);n.pageX=T.pageX,n.pageY=T.pageY,o=new Date().getTime(),s!==null&&clearInterval(s)}}function g(v,T,E){if(!e.contains(v))return!1;for(var w=v;w&&w!==e;){if(w.classList.contains(Oe.element.consuming))return!0;var k=Wt(w);if(E&&k.overflowY.match(/(scroll|auto)/)){var R=w.scrollHeight-w.clientHeight;if(R>0&&(w.scrollTop>0&&E<0||w.scrollTop0))return!0}if(T&&k.overflowX.match(/(scroll|auto)/)){var J=w.scrollWidth-w.clientWidth;if(J>0&&(w.scrollLeft>0&&T<0||w.scrollLeft0))return!0}w=w.parentNode}return!1}function x(v){if(c(v)){var T=l(v),E={pageX:T.pageX,pageY:T.pageY},w=E.pageX-n.pageX,k=E.pageY-n.pageY;if(g(v.target,w,k))return;t(w,k),n=E;var R=new Date().getTime(),J=R-o;J>0&&(r.x=w/J,r.y=k/J,o=R),a(w,k)&&v.preventDefault()}}function b(){i.settings.swipeEasing&&(clearInterval(s),s=setInterval(function(){if(i.isInitialized){clearInterval(s);return}if(!r.x&&!r.y){clearInterval(s);return}if(Math.abs(r.x)<.01&&Math.abs(r.y)<.01){clearInterval(s);return}if(!i.element){clearInterval(s);return}t(r.x*30,r.y*30),r.x*=.8,r.y*=.8},10))}Ma.supportsTouch?(i.event.bind(e,"touchstart",d),i.event.bind(e,"touchmove",x),i.event.bind(e,"touchend",b)):Ma.supportsIePointer&&(window.PointerEvent?(i.event.bind(e,"pointerdown",d),i.event.bind(e,"pointermove",x),i.event.bind(e,"pointerup",b)):window.MSPointerEvent&&(i.event.bind(e,"MSPointerDown",d),i.event.bind(e,"MSPointerMove",x),i.event.bind(e,"MSPointerUp",b)))}var Hv=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},jv={"click-rail":Nv,"drag-thumb":Lv,keyboard:Pv,wheel:Fv,touch:Rv},Ln=function(e,a){var t=this;if(a===void 0&&(a={}),typeof e=="string"&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=e,e.classList.add(Oe.main),this.settings=Hv();for(var n in a)this.settings[n]=a[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var o=function(){return e.classList.add(Oe.state.focus)},r=function(){return e.classList.remove(Oe.state.focus)};this.isRtl=Wt(e).direction==="rtl",this.isRtl===!0&&e.classList.add(Oe.rtl),this.isNegativeScroll=function(){var c=e.scrollLeft,d=null;return e.scrollLeft=-1,d=e.scrollLeft<0,e.scrollLeft=c,d}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new Oa,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=dr(Oe.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=dr(Oe.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",r),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var s=Wt(this.scrollbarXRail);this.scrollbarXBottom=parseInt(s.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=De(s.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=De(s.borderLeftWidth)+De(s.borderRightWidth),st(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=De(s.marginLeft)+De(s.marginRight),st(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=dr(Oe.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=dr(Oe.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",r),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=Wt(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=De(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?Ev(this.scrollbarY):null,this.railBorderYWidth=De(l.borderTopWidth)+De(l.borderBottomWidth),st(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=De(l.marginTop)+De(l.marginBottom),st(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(c){return jv[c](t)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(c){return t.onScroll(c)}),oi(this)};Ln.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,st(this.scrollbarXRail,{display:"block"}),st(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=De(Wt(this.scrollbarXRail).marginLeft)+De(Wt(this.scrollbarXRail).marginRight),this.railYMarginHeight=De(Wt(this.scrollbarYRail).marginTop)+De(Wt(this.scrollbarYRail).marginBottom),st(this.scrollbarXRail,{display:"none"}),st(this.scrollbarYRail,{display:"none"}),oi(this),pr(this,"top",0,!1,!0),pr(this,"left",0,!1,!0),st(this.scrollbarXRail,{display:""}),st(this.scrollbarYRail,{display:""}))};Ln.prototype.onScroll=function(e){this.isAlive&&(oi(this),pr(this,"top",this.element.scrollTop-this.lastScrollTop),pr(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Ln.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Ea(this.scrollbarX),Ea(this.scrollbarY),Ea(this.scrollbarXRail),Ea(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Ln.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var hm=Ln;var Pn=(()=>{let e=class e{constructor(){this._elementRef=I(jt),this._platform=I(ta),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new Z}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(t){"angorScrollbar"in t&&(this.angorScrollbar=mi(t.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in t&&(this._options=co({},this._options,t.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){Zi(window,"resize").pipe(B(this._unsubscribeAll),Wn(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(t="scroll"){return new ur(this._elementRef.nativeElement[`${t}Left`],this._elementRef.nativeElement[`${t}Top`],this._elementRef.nativeElement[`${t}Width`],this._elementRef.nativeElement[`${t}Height`])}position(t=!1){return!t&&this._ps?new On(this._ps.reach.x||0,this._ps.reach.y||0):new On(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(t,n,o){n==null&&o==null?this.animateScrolling("scrollTop",t,o):(t!=null&&this.scrollToX(t,o),n!=null&&this.scrollToY(n,o))}scrollToX(t,n){this.animateScrolling("scrollLeft",t,n)}scrollToY(t,n){this.animateScrolling("scrollTop",t,n)}scrollToTop(t=0,n){this.animateScrolling("scrollTop",t,n)}scrollToBottom(t=0,n){let o=this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight;this.animateScrolling("scrollTop",o-t,n)}scrollToLeft(t=0,n){this.animateScrolling("scrollLeft",t,n)}scrollToRight(t=0,n){let o=this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth;this.animateScrolling("scrollLeft",o-t,n)}scrollToElement(t,n=0,o=!1,r){let s=this._elementRef.nativeElement.querySelector(t);if(!s)return;let l=s.getBoundingClientRect(),c=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(l.left,c.left,"scrollLeft",n,o,r),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(l.top,c.top,"scrollTop",n,o,r)}animateScrolling(t,n,o){this._animation&&window.cancelAnimationFrame(this._animation),!o||typeof window>"u"?this._elementRef.nativeElement[t]=n:n!==this._elementRef.nativeElement[t]&&this._smoothScroll(t,n,o)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new hm(this._elementRef.nativeElement,M({},this._options)))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(t,n,o,r,s,l){if(s&&t<=n-Math.abs(r))return;let c=this._elementRef.nativeElement[o],d=t-n+c;this.animateScrolling(o,d+r,l)}_smoothScroll(t,n,o){let r=0,s=this._elementRef.nativeElement[t],l=(s-n)/2,c=performance.now(),d=g=>{r+=Math.PI/(o/(g-c));let x=Math.round(n+l+l*Math.cos(r));this._elementRef.nativeElement[t]===s&&(r>=Math.PI?this.animateScrolling(t,n,0):(this._elementRef.nativeElement[t]=x,s=this._elementRef.nativeElement[t],c=g,this._animation=window.requestAnimationFrame(d)))};window.requestAnimationFrame(d)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=za({type:e,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[tt]});let i=e;return i})();var zv=["navigationContent"],Jv=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Bv=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],Vv=i=>({wheelPropagation:i,suppressScrollX:!0}),Wv=()=>({wheelPropagation:!1,suppressScrollX:!0});function Uv(i,e){if(i&1){let a=le();y(0,"angor-vertical-navigation-aside-item",10),Y("click",function(){K(a);let n=h(2).$implicit,o=h();return Q(o.toggleAside(n))}),_()}if(i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("activeItemId",t.activeAsideItemId)("autoCollapse",t.autoCollapse)("skipChildren",!0)}}function Gv(i,e){if(i&1&&S(0,"angor-vertical-navigation-basic-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function $v(i,e){if(i&1&&S(0,"angor-vertical-navigation-collapsable-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function Zv(i,e){if(i&1&&S(0,"angor-vertical-navigation-divider-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Yv(i,e){if(i&1&&S(0,"angor-vertical-navigation-group-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function Kv(i,e){if(i&1&&S(0,"angor-vertical-navigation-spacer-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Qv(i,e){if(i&1&&A(0,Uv,1,5,"angor-vertical-navigation-aside-item",7)(1,Gv,1,2,"angor-vertical-navigation-basic-item",8)(2,$v,1,3,"angor-vertical-navigation-collapsable-item",9)(3,Zv,1,2,"angor-vertical-navigation-divider-item",8)(4,Yv,1,3,"angor-vertical-navigation-group-item",9)(5,Kv,1,2,"angor-vertical-navigation-spacer-item",8),i&2){let a=h().$implicit;q(a.type==="aside"?0:-1),m(),q(a.type==="basic"?1:-1),m(),q(a.type==="collapsable"?2:-1),m(),q(a.type==="divider"?3:-1),m(),q(a.type==="group"?4:-1),m(),q(a.type==="spacer"?5:-1)}}function Xv(i,e){if(i&1&&A(0,Qv,6,6),i&2){let a=e.$implicit;q(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function e1(i,e){if(i&1&&S(0,"angor-vertical-navigation-aside-item",9),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function t1(i,e){if(i&1&&A(0,e1,1,3,"angor-vertical-navigation-aside-item",9),i&2){let a=h().$implicit,t=h(2);q(a.type==="aside"&&a.id===t.activeAsideItemId?0:-1)}}function i1(i,e){if(i&1&&A(0,t1,1,1),i&2){let a=e.$implicit;q(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function a1(i,e){if(i&1&&(y(0,"div",6),Pe(1,i1,1,1,null,null,zt().trackByFn,!0),_()),i&2){let a=h();f("angorScrollbarOptions",Zn(5,Wv))("@fadeInLeft",a.position==="left")("@fadeInRight",a.position==="right")("@fadeOutLeft",a.position==="left")("@fadeOutRight",a.position==="right"),m(),Fe(a.navigation)}}var gr=(()=>{let e=class e{constructor(){this._animationBuilder=I(cc),this._changeDetectorRef=I(ce),this._document=I(nt),this._elementRef=I(jt),this._renderer2=I(Mi),this._router=I(je),this._scrollStrategyOptions=I(ro),this._angorNavigationService=I(ge),this._angorUtilsService=I(qt),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new ct,this.modeChanged=new ct,this.openedChanged=new ct,this.positionChanged=new ct,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new Rt(1),this.onCollapsableItemExpanded=new Rt(1),this.onRefreshed=new Rt(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new Z,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":this.mode==="over","angor-vertical-navigation-mode-side":this.mode==="side","angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":this.position==="left","angor-vertical-navigation-position-right":this.position==="right"}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(t){this._angorScrollbarDirectives=t,t.length!==0&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=Ai(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe(B(this._unsubscribeAll),Yi(250)).subscribe(()=>{t.forEach(n=>{n.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(t){if("appearance"in t&&this.appearanceChanged.next(t.appearance.currentValue),"inner"in t&&(this.inner=mi(t.inner.currentValue)),"mode"in t){let n=t.mode.currentValue,o=t.mode.previousValue;this._disableAnimations(),o==="over"&&n==="side"&&this._hideOverlay(),o==="side"&&n==="over"&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(n),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in t&&this._changeDetectorRef.markForCheck(),"opened"in t&&(this.opened=mi(t.opened.currentValue),this._toggleOpened(this.opened)),"position"in t&&this.positionChanged.next(t.position.currentValue),"transparentOverlay"in t&&(this.transparentOverlay=mi(t.transparentOverlay.currentValue))}ngOnInit(){this.name===""&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe($e(t=>t instanceof Jt),B(this._unsubscribeAll)).subscribe(()=>{this.mode==="over"&&this.opened&&this.close(),this.mode==="side"&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(t=>{t.forEach(n=>{let o=n.target;if(n.attributeName==="class")if(o.classList.contains("cdk-global-scrollblock")){let r=parseInt(o.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(r)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(t=>{t.isEnabled()&&t.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{let t=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");t&&t.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(t){t.disabled||!t.id||(this.activeAsideItemId=t.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(t){this.activeAsideItemId===t.id?this.closeAside():this.openAside(t)}trackByFn(t,n){return n.id||t}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([ei("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ut({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([ei("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ut({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([ei("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ut({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([ei("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ut({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(t){this.opened=t,this._enableAnimations(),this.mode==="over"&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=U({type:e,selectors:[["angor-vertical-navigation"]],viewQuery:function(n,o){if(n&1&&(Qe(zv,5),Qe(Pn,5)),n&2){let r;Re(r=He())&&(o._navigationContentEl=r.first),Re(r=He())&&(o.angorScrollbarDirectives=r)}},hostVars:4,hostBindings:function(n,o){n&1&&Y("mouseenter",function(){return o._onMouseenter()})("mouseleave",function(){return o._onMouseleave()}),n&2&&(Nl(o.styleList),li(o.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[tt,G],ngContentSelectors:Bv,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(n,o){n&1&&(Un(Jv),y(0,"div",1)(1,"div",2),Qi(2),_(),y(3,"div",3,0)(5,"div",4),Qi(6,1),_(),Pe(7,Xv,1,1,null,null,o.trackByFn,!0),_(),y(9,"div",5),Qi(10,2),_()(),A(11,a1,3,6,"div",6)),n&2&&(m(3),f("angorScrollbarOptions",qe(2,Vv,o.inner)),m(4),Fe(o.navigation),m(4),q(o.activeAsideItemId?11:-1))},dependencies:[Pn,sm,Si,Ia,Ci,Aa,qi],styles:[`:root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)} `],encapsulation:2,data:{animation:gi},changeDetection:0});let i=e;return i})();var n1=["notificationsOrigin"],o1=["notificationsPanel"],r1=i=>({unread:i}),s1=(i,e)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":i,"bg-primary":e});function l1(i,e){if(i&1&&(y(0,"span",4)(1,"span",6),j(2),_()()),i&2){let a=h();m(2),ae(" ",a.unreadCount," ")}}function c1(i,e){i&1&&ye(0)}function u1(i,e){if(i&1&&(y(0,"a",23),A(1,c1,1,0,"ng-container",25),_()),i&2){let a=h(2).$implicit,t=te(9);f("href",a.link,Ye),m(),f("ngTemplateOutlet",t)}}function d1(i,e){i&1&&ye(0)}function m1(i,e){if(i&1&&(y(0,"a",24),A(1,d1,1,0,"ng-container",25),_()),i&2){let a=h(2).$implicit,t=te(9);f("routerLink",a.link),m(),f("ngTemplateOutlet",t)}}function p1(i,e){if(i&1&&A(0,u1,2,2,"a",23)(1,m1,2,2,"a",24),i&2){let a=h().$implicit;q(a.useRouter?-1:0),m(),q(a.useRouter?1:-1)}}function g1(i,e){i&1&&ye(0)}function f1(i,e){if(i&1&&(y(0,"div",17),A(1,g1,1,0,"ng-container",25),_()),i&2){h();let a=te(9);m(),f("ngTemplateOutlet",a)}}function h1(i,e){if(i&1&&(y(0,"div",26),S(1,"mat-icon",32),_()),i&2){let a=h(2).$implicit;m(),f("svgIcon",a.icon)}}function b1(i,e){if(i&1&&S(0,"img",27),i&2){let a=h(2).$implicit;f("src",a.image,Ye)("alt","Notification image")}}function v1(i,e){if(i&1&&S(0,"div",29),i&2){let a=h(2).$implicit;f("innerHTML",a.title,Kt)}}function y1(i,e){if(i&1&&S(0,"div",30),i&2){let a=h(2).$implicit;f("innerHTML",a.description,Kt)}}function _1(i,e){if(i&1&&(A(0,h1,2,1,"div",26)(1,b1,1,2,"img",27),y(2,"div",28),A(3,v1,1,1,"div",29)(4,y1,1,1,"div",30),y(5,"div",31),j(6),Ei(7,"date"),_()()),i&2){let a=h().$implicit;q(a.icon&&!a.image?0:-1),m(),q(a.image?1:-1),m(2),q(a.title?3:-1),m(),q(a.description?4:-1),m(2),ae(" ",Oi(7,5,a.time,"MMM dd, h:mm a")," ")}}function x1(i,e){if(i&1){let a=le();y(0,"div",16),A(1,p1,2,2)(2,f1,2,1,"div",17),y(3,"div",18)(4,"button",19),Y("click",function(){let n=K(a).$implicit,o=h(2);return Q(o.toggleRead(n))}),S(5,"span",20),_(),y(6,"button",21),Y("click",function(){let n=K(a).$implicit,o=h(2);return Q(o.delete(n))}),S(7,"mat-icon",22),_()()(),A(8,_1,8,8,"ng-template",null,2,it)}if(i&2){let a=e.$implicit;f("ngClass",qe(7,r1,!a.read)),m(),q(a.link?1:-1),m(),q(a.link?-1:2),m(2),f("matTooltip",a.read?"Mark as unread":"Mark as read"),m(),f("ngClass",Ct(9,s1,a.read,!a.read)),m(),f("matTooltip","Remove"),m(),f("svgIcon","heroicons_solid:x-mark")}}function w1(i,e){i&1&&(y(0,"div",15)(1,"div",33),S(2,"mat-icon",34),_(),y(3,"div",35),j(4," No notifications "),_(),y(5,"div",36),j(6," When you have notifications, they will appear here. "),_()()),i&2&&(m(2),f("svgIcon","heroicons_outline:bell"))}function S1(i,e){if(i&1){let a=le();y(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),Y("click",function(){K(a);let n=h();return Q(n.closePanel())}),S(4,"mat-icon",10),_()(),y(5,"div",11),j(6,"Notifications"),_(),y(7,"div",12)(8,"button",13),Y("click",function(){K(a);let n=h();return Q(n.markAllAsRead())}),S(9,"mat-icon",10),_()()(),y(10,"div",14),Pe(11,x1,10,12,null,null,zt().trackByFn,!0),A(13,w1,7,1,"div",15),_()()}if(i&2){let a=h();m(4),f("svgIcon","heroicons_solid:x-mark"),m(4),f("matTooltip","Mark all as read")("disabled",a.unreadCount===0),m(),f("svgIcon","heroicons_solid:envelope-open"),m(2),Fe(a.notifications),m(2),q(!a.notifications||!a.notifications.length?13:-1)}}var fr=(()=>{let e=class e{constructor(t,n,o,r){this._changeDetectorRef=t,this._notificationsService=n,this._overlay=o,this._viewContainerRef=r,this.unreadCount=0,this._unsubscribeAll=new Z}ngOnInit(){this._notificationsService.notifications$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.notifications=t,this._calculateUnreadCount(),this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete(),this._overlayRef&&this._overlayRef.dispose()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new oo(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef.detach()}markAllAsRead(){this._notificationsService.markAllAsRead().subscribe()}toggleRead(t){t.read=!t.read,this._notificationsService.update(t.id,t).subscribe()}delete(t){this._notificationsService.delete(t.id).subscribe()}trackByFn(t,n){return n.id||t}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}_calculateUnreadCount(){let t=0;this.notifications&&this.notifications.length&&(t=this.notifications.filter(n=>!n.read).length),this.unreadCount=t}};e.\u0275fac=function(n){return new(n||e)(z(ce),z(ar),z(ti),z(Ja))},e.\u0275cmp=U({type:e,selectors:[["notifications"]],viewQuery:function(n,o){if(n&1&&(Qe(n1,5),Qe(o1,5)),n&2){let r;Re(r=He())&&(o._notificationsOrigin=r.first),Re(r=He())&&(o._notificationsPanel=r.first)}},exportAs:["notifications"],standalone:!0,features:[G],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(n,o){if(n&1){let r=le();y(0,"button",3,0),Y("click",function(){return K(r),Q(o.openPanel())}),A(2,l1,3,1,"span",4),S(3,"mat-icon",5),_(),A(4,S1,14,5,"ng-template",null,1,it)}n&2&&(m(2),q(o.unreadCount>0?2:-1),m(),f("svgIcon","heroicons_outline:bell"))},dependencies:[et,Xe,be,he,rt,ot,_e,yt,di,Kn],encapsulation:2,changeDetection:0});let i=e;return i})();var C1=["messageInput"],q1=(i,e)=>({"-translate-x-full shadow sm:-translate-x-96 lg:-translate-x-80":i,"translate-x-0":e}),k1=()=>({wheelPropagation:!1}),T1=(i,e)=>({"dark:hover:bg-hover hover:bg-gray-100":i,"bg-primary-50 dark:bg-hover":e}),D1=(i,e,a,t)=>({"items-end":i,"items-start":e,"mt-0.5":a,"mt-3":t}),A1=(i,e)=>({"bg-blue-500 text-blue-50":i,"bg-gray-500 text-gray-50":e}),I1=(i,e)=>({"-right-1 -mr-px mb-px text-blue-500":i,"-left-1 -ml-px mb-px -scale-x-1 text-gray-500":e}),M1=(i,e)=>({"mr-3":i,"ml-3":e});function E1(i,e){i&1&&(y(0,"div",5)(1,"div",13),S(2,"mat-icon",14),_(),y(3,"div",15),j(4," Team Chat "),_(),y(5,"button",16),S(6,"mat-icon",17),_()()),i&2&&(m(2),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(4),f("svgIcon","heroicons_outline:x-mark"))}function O1(i,e){if(i&1&&S(0,"img",19),i&2){let a=h(2);f("src",a.chat.contact.avatar,Ye)}}function N1(i,e){if(i&1&&(y(0,"div",20),j(1),_()),i&2){let a=h(2);m(),ae(" ",a.chat.contact.name.charAt(0)," ")}}function L1(i,e){if(i&1&&(y(0,"div",6)(1,"div",18),A(2,O1,1,1,"img",19)(3,N1,2,1,"div",20),_(),y(4,"div",21),j(5),_(),y(6,"button",16),S(7,"mat-icon",17),_()()),i&2){let a=h();m(2),q(a.chat.contact.avatar?2:-1),m(),q(a.chat.contact.avatar?-1:3),m(2),ae(" ",a.chat.contact.name," "),m(2),f("svgIcon","heroicons_outline:x-mark")}}function P1(i,e){if(i&1&&S(0,"div",25),i&2){let a=h().$implicit,t=h();Ke("ring-primary-50",t.selectedChat&&t.selectedChat.id===a.id)}}function F1(i,e){if(i&1&&S(0,"img",19),i&2){let a=h().$implicit;f("src",a.contact.avatar,Ye)}}function R1(i,e){if(i&1&&(y(0,"div",20),j(1),_()),i&2){let a=h().$implicit;m(),ae(" ",a.contact.name.charAt(0)," ")}}function H1(i,e){if(i&1){let a=le();y(0,"div",22),Y("click",function(){let n=K(a).$implicit,o=h();return Q(o.selectChat(n.id))}),y(1,"div",23),A(2,P1,1,2,"div",24)(3,F1,1,1,"img",19)(4,R1,2,1,"div",20),_()()}if(i&2){let a=e.$implicit,t=h();f("ngClass",Ct(4,T1,!t.selectedChat||t.selectedChat.id!==a.id,t.selectedChat&&t.selectedChat.id===a.id)),m(2),q(a.unreadCount>0?2:-1),m(),q(a.contact.avatar?3:-1),m(),q(a.contact.avatar?-1:4)}}function j1(i,e){if(i&1&&(y(0,"div",34),S(1,"div",39),y(2,"div",40),j(3),Ei(4,"date"),_(),S(5,"div",39),_()),i&2){let a=h().$implicit;m(3),ae(" ",Oi(4,1,a.createdAt,"longDate")," ")}}function z1(i,e){i&1&&ye(0)}function J1(i,e){if(i&1&&(y(0,"div",36),A(1,z1,1,0,"ng-container",41),_()),i&2){let a=h().$implicit;h(2);let t=te(14);f("ngClass",Ct(2,I1,a.isMine,!a.isMine)),m(),f("ngTemplateOutlet",t)}}function B1(i,e){if(i&1&&(y(0,"div",38),j(1),Ei(2,"date"),_()),i&2){let a=h().$implicit;f("ngClass",Ct(5,M1,a.isMine,!a.isMine)),m(),ae(" ",Oi(2,2,a.createdAt,"HH:mm")," ")}}function V1(i,e){if(i&1&&(A(0,j1,6,4,"div",34),Ei(1,"date"),Ei(2,"date"),y(3,"div",28)(4,"div",35),A(5,J1,2,5,"div",36),S(6,"div",37),_(),A(7,B1,3,8,"div",38),_()),i&2){let a=e.$implicit,t=e.$index,n=e.$count,o=h(2);q(t===0||Oi(1,6,o.chat.messages[t-1].createdAt,"d")!==Oi(2,9,a.createdAt,"d")?0:-1),m(3),f("ngClass",Fl(12,D1,a.isMine,!a.isMine,t>0&&o.chat.messages[t-1].isMine===a.isMine,t>0&&o.chat.messages[t-1].isMine!==a.isMine)),m(),f("ngClass",Ct(17,A1,a.isMine,!a.isMine)),m(),q(t===n-1||o.chat.messages[t+1].isMine!==a.isMine?5:-1),m(),f("innerHTML",a.value,Kt),m(),q(t===0||t===n-1||o.chat.messages[t+1].isMine!==a.isMine||o.chat.messages[t+1].createdAt!==a.createdAt?7:-1)}}function W1(i,e){if(i&1&&(y(0,"div",26)(1,"div",27),Pe(2,V1,8,20,"div",28,zt().trackByFn,!0),_()(),y(4,"div",29)(5,"mat-form-field",30),S(6,"textarea",31,1),_(),y(8,"div",32)(9,"button",33),S(10,"mat-icon",17),_()()()),i&2){let a=h();m(2),Fe(a.chat.messages),m(3),f("subscriptSizing","dynamic"),m(5),f("svgIcon","heroicons_outline:paper-airplane")}}function U1(i,e){i&1&&(y(0,"div",12),S(1,"mat-icon",42),y(2,"div",43),j(3," Select a conversation "),_()()),i&2&&(m(),f("svgIcon","heroicons_outline:chat-bubble-bottom-center-text"))}function G1(i,e){i&1&&(Il(),y(0,"svg",44)(1,"g",45),S(2,"path",46),_()())}var hr=(()=>{let e=class e{constructor(t,n,o,r,s,l){this._document=t,this._elementRef=n,this._renderer2=o,this._ngZone=r,this._quickChatService=s,this._scrollStrategyOptions=l,this.opened=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new Z}get classList(){return{"quick-chat-opened":this.opened}}_resizeMessageInput(){this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.messageInput.nativeElement.style.height="auto",this.messageInput.nativeElement.style.height=`${this.messageInput.nativeElement.scrollHeight}px`})})}ngOnInit(){this._quickChatService.chat$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.chat=t}),this._quickChatService.chats$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.chats=t}),this._quickChatService.chat$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.selectedChat=t})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(t=>{t.forEach(n=>{let o=n.target;if(n.attributeName==="class")if(o.classList.contains("cdk-global-scrollblock")){let r=parseInt(o.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(r)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]})}ngOnDestroy(){this._mutationObserver.disconnect(),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&this._toggleOpened(!1)}toggle(){this.opened?this.close():this.open()}selectChat(t){this._toggleOpened(!0),this._quickChatService.getChatById(t).subscribe()}trackByFn(t,n){return n.id||t}_showOverlay(){this._hideOverlay(),this._overlay=this._renderer2.createElement("div"),this._overlay&&(this._overlay.classList.add("quick-chat-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._overlay.addEventListener("click",()=>{this.close()}))}_hideOverlay(){this._overlay&&(this._overlay&&(this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable())}_toggleOpened(t){this.opened=t,t?this._showOverlay():this._hideOverlay()}};e.\u0275fac=function(n){return new(n||e)(z(nt),z(jt),z(Mi),z(Ki),z(nr),z(ro))},e.\u0275cmp=U({type:e,selectors:[["quick-chat"]],viewQuery:function(n,o){if(n&1&&Qe(C1,5),n&2){let r;Re(r=He())&&(o.messageInput=r.first)}},hostVars:2,hostBindings:function(n,o){n&1&&Y("input",function(){return o._resizeMessageInput()})("ngModelChange",function(){return o._resizeMessageInput()}),n&2&&li(o.classList)},exportAs:["quickChat"],standalone:!0,features:[G],decls:15,vars:9,consts:[["speechBubbleExtension",""],["messageInput",""],[1,"fixed","bottom-0","top-0","w-full","sm:w-96","lg:sticky","lg:left-full","lg:h-screen","lg:w-16","lg:shadow"],[1,"bg-card","flex","h-full","w-full","flex-col","transition-transform","duration-400","ease-drawer","sm:w-96",3,"ngClass"],[1,"quick-chat-header","flex","flex-0","cursor-pointer","items-center","justify-start",3,"click"],[1,"flex","flex-auto","items-center","justify-center"],[1,"ml-3","flex","flex-auto","items-center"],[1,"flex","flex-auto","overflow-hidden","border-t"],["angorScrollbar","",1,"h-full","border-l","w-16","flex-0","overflow-y-hidden","overscroll-y-contain","sm:overflow-hidden","sm:overscroll-hidden",3,"angorScrollbarOptions"],[1,"flex-auto"],[1,"flex","cursor-pointer","items-center","px-4","py-3",3,"ngClass"],[1,"flex","flex-auto","flex-col","overflow-hidden","border-l","bg-gray-50","dark:bg-transparent"],[1,"flex","h-full","w-full","flex-auto","flex-col","items-center","justify-center","p-4"],[1,"flex","w-16","flex-0","items-center","justify-center"],[1,"icon-size-6",3,"svgIcon"],[1,"text-secondary","text-lg","font-medium"],["mat-icon-button","",1,"ml-auto","mr-4"],[3,"svgIcon"],[1,"relative","flex","h-10","w-10","flex-0","items-center","justify-center"],["alt","Contact avatar",1,"h-full","w-full","rounded-full","object-cover",3,"src"],[1,"flex","h-full","w-full","items-center","justify-center","rounded-full","bg-gray-200","text-lg","uppercase","text-gray-600","dark:bg-gray-700","dark:text-gray-200"],[1,"ml-4","truncate","text-lg","font-medium","leading-5"],[1,"flex","cursor-pointer","items-center","px-4","py-3",3,"click","ngClass"],[1,"relative","flex","h-8","w-8","flex-0","items-center","justify-center"],[1,"ring-bg-card","absolute","bottom-0","right-0","-ml-0.5","h-2","w-2","flex-0","rounded-full","bg-primary","text-on-primary","ring-2","dark:bg-primary-500","dark:ring-gray-900",3,"ring-primary-50"],[1,"ring-bg-card","absolute","bottom-0","right-0","-ml-0.5","h-2","w-2","flex-0","rounded-full","bg-primary","text-on-primary","ring-2","dark:bg-primary-500","dark:ring-gray-900"],[1,"flex","flex-col-reverse","overflow-y-auto","overscroll-y-contain"],[1,"flex","flex-auto","shrink","flex-col","p-6"],[1,"flex","flex-col",3,"ngClass"],[1,"flex","items-end","border-t","bg-gray-50","p-4","dark:bg-transparent"],[1,"angor-mat-dense","angor-mat-rounded","angor-mat-bold","w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize",""],[1,"my-px","ml-4","flex","h-11","items-center"],["mat-icon-button",""],[1,"-mx-6","my-3","flex","items-center","justify-center"],[1,"relative","max-w-3/4","rounded-lg","px-3","py-2",3,"ngClass"],[1,"absolute","bottom-0","w-3",3,"ngClass"],[1,"min-w-4","leading-5",3,"innerHTML"],[1,"text-secondary","my-0.5","text-sm","font-medium",3,"ngClass"],[1,"flex-auto","border-b"],[1,"text-secondary","mx-4","flex-0","text-sm","font-medium","leading-5"],[4,"ngTemplateOutlet"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-center","text-xl","font-medium","tracking-tight"],["width","100%","height","100%","viewBox","0 0 66 66","xmlns","http://www.w3.org/2000/svg"],["id","Page-1","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["d","M1.01522827,0.516204834 C-8.83532715,54.3062744 61.7609863,70.5215302 64.8009949,64.3061218 C68.8074951,54.8859711 30.1663208,52.9997559 37.5036011,0.516204834 L1.01522827,0.516204834 Z","fill","currentColor","fill-rule","nonzero"]],template:function(n,o){if(n&1){let r=le();y(0,"div",2)(1,"div",3)(2,"div",4),Y("click",function(){return K(r),Q(o.toggle())}),A(3,E1,7,2,"div",5)(4,L1,8,4,"div",6),_(),y(5,"div",7)(6,"div",8)(7,"div",9),Pe(8,H1,5,7,"div",10,o.trackByFn,!0),_()(),y(10,"div",11),A(11,W1,11,2)(12,U1,4,1,"div",12),_()()()(),A(13,G1,3,0,"ng-template",null,0,it)}n&2&&(m(),f("ngClass",Ct(5,q1,o.opened,!o.opened)),m(2),q(!o.opened||o.opened&&!o.selectedChat?3:-1),m(),q(o.opened&&o.selectedChat?4:-1),m(2),f("angorScrollbarOptions",Zn(8,k1)),m(2),Fe(o.chats),m(3),q(o.chat?11:12))},dependencies:[_e,be,he,et,Xe,Pn,yt,lo,yc,po,Pc,Tc,Dc,Kn],styles:[`quick-chat{z-index:399}quick-chat>div{overflow:hidden}quick-chat.quick-chat-opened>div{overflow:visible}quick-chat:not(.quick-chat-opened)>div{overflow:visible;animation:addOverflowHidden 1ms linear .4s;animation-fill-mode:forwards}.quick-chat-header{height:64px}enterprise-layout .quick-chat-header,modern-layout .quick-chat-header{height:80px!important}.quick-chat-overlay{position:fixed;inset:0;z-index:299;opacity:1;background-color:transparent}@keyframes addOverflowHidden{0%{overflow:visible}99%{overflow:visible}to{overflow:hidden}} `],encapsulation:2});let i=e;return i})();var K1=["panel"],Q1=["*"];function X1(i,e){if(i&1){let a=le();y(0,"div",1,0),Y("@panelAnimation.done",function(n){K(a);let o=h();return Q(o._animationDone.next(n))}),Qi(2),_()}if(i&2){let a=e.id,t=h();li(t._classList),Ke("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),f("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),Fr("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(a))}}var e4=oc("panelAnimation",[lc("void, hidden",ut({opacity:0,transform:"scaleY(0.8)"})),Vr(":enter, hidden => visible",[rc([ei("0.03s linear",ut({opacity:1})),ei("0.12s cubic-bezier(0, 0, 0.2, 1)",ut({transform:"scaleY(1)"}))])]),Vr(":leave, visible => hidden",[ei("0.075s linear",ut({opacity:0}))])]),t4=0,pl=class{constructor(e,a){this.source=e,this.option=a}},_m=new Ne("mat-autocomplete-default-options",{providedIn:"root",factory:i4});function i4(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var xm=(()=>{let e=class e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,n,o,r){this._changeDetectorRef=t,this._elementRef=n,this._defaults=o,this._activeOptionChanges=zn.EMPTY,this._animationDone=new ct,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new ct,this.opened=new ct,this.closed=new ct,this.optionActivated=new ct,this.id=`mat-autocomplete-${t4++}`,this.inertGroups=r?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Yl(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let n=new pl(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_skipPredicate(){return!1}};e.\u0275fac=function(n){return new(n||e)(z(ce),z(jt),z(_m),z(ta))},e.\u0275cmp=U({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,r){if(n&1&&(Rr(r,ao,5),Rr(r,tc,5)),n&2){let s;Re(s=He())&&(o.options=s),Re(s=He())&&(o.optionGroups=s)}},viewQuery:function(n,o){if(n&1&&(Qe(Lr,7),Qe(K1,5)),n&2){let r;Re(r=He())&&(o.template=r.first),Re(r=He())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",Ni],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Ni],requireSelection:[2,"requireSelection","requireSelection",Ni],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Ni],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ni]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[Ba([{provide:ec,useExisting:e}]),Pr,G],ngContentSelectors:Q1,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,o){n&1&&(Un(),A(0,X1,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[e4]},changeDetection:0});let i=e;return i})();var a4={provide:Ac,useExisting:Dl(()=>gl),multi:!0};var br=new Ne("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=I(ti);return()=>i.scrollStrategies.reposition()}});function n4(i){return()=>i.scrollStrategies.reposition()}var o4={provide:br,deps:[ti],useFactory:n4},gl=(()=>{let e=class e{constructor(t,n,o,r,s,l,c,d,g,x,b){this._element=t,this._overlay=n,this._viewContainerRef=o,this._zone=r,this._changeDetectorRef=s,this._dir=c,this._formField=d,this._document=g,this._viewportRuler=x,this._defaults=b,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=zn.EMPTY,this._breakpointObserver=I($l),this._handsetLandscapeSubscription=zn.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Z,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Z,this._injector=I(Or),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=wl(()=>{let v=this.autocomplete?this.autocomplete.options:null;return v?v.changes.pipe(Tl(v),Je(()=>Ai(...v.map(T=>T.onSelectionChange)))):this._initialized.pipe(Je(()=>this.optionSelections))}),this._handlePanelKeydown=v=>{(v.keyCode===27&&!eo(v)||v.keyCode===38&&eo(v,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),v.stopPropagation(),v.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&to(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ai(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe($e(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe($e(()=>this._overlayAttached)):vt()).pipe(Ee(t=>t instanceof ic?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ai(Zi(this._document,"click"),Zi(this._document,"auxclick"),Zi(this._document,"touchend")).pipe($e(t=>{let n=Gl(t),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(n))&&(!r||!r.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let n=t.keyCode,o=eo(t);if(n===27&&!o&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,s=n===38||n===40;n===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let n=t.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(s=>s.selected);if(r){let s=this._getDisplayValue(r.value);o!==s&&r.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===t.target){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new Jn(o=>{Ol(()=>{o.next()},{injector:this._injector})}),n=this.autocomplete.options.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),Yi(0));return Ai(t,n).pipe(Je(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ze(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(t):t}_assignOptionValue(t){let n=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let n=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(Ze(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,n){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(n)})}_openPanelInternal(t=this._element.nativeElement.value){if(this._attachOverlay(t),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;zr(this._trackedModal,"aria-owns",n)}}_attachOverlay(t){this.autocomplete;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new oo(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zl.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new mc({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=r:this.position==="below"?s=n:s=[...n,...r],t.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=this.autocomplete.id;this._trackedModal&&to(this._trackedModal,"aria-owns",n),zr(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;to(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};e.\u0275fac=function(n){return new(n||e)(z(jt),z(ti),z(Ja),z(Ki),z(ce),z(br),z(Kl,8),z(bc,9),z(nt,8),z(uc),z(_m,8))},e.\u0275dir=za({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&Y("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),n&2&&Fr("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Ni]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[Ba([a4]),Pr,tt]});let i=e;return i})(),wm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ja({type:e}),e.\u0275inj=Ha({providers:[o4],imports:[pc,Ua,Jr,Xi,dc,Ua,Jr]});let i=e;return i})();var c4=["barSearchInput"],u4=["matAutocomplete"];function d4(i,e){if(i&1){let a=le();y(0,"button",5),Y("click",function(){K(a);let n=h(2);return Q(n.open())}),S(1,"mat-icon",6),_()}i&2&&(m(),f("svgIcon","heroicons_outline:magnifying-glass"))}function m4(i,e){i&1&&(y(0,"mat-option",14),j(1," No results found! "),_())}function p4(i,e){if(i&1&&S(0,"img",23),i&2){let a=h().$implicit;Ll("alt","",a.name,"'s avatar"),f("src",a.avatar,Ye)}}function g4(i,e){i&1&&S(0,"mat-icon",24),i&2&&f("svgIcon","heroicons_outline:user-circle")}function f4(i,e){if(i&1&&(y(0,"div",25),j(1),_()),i&2){let a=h().$implicit;m(),ae(" ",a.about," ")}}function h4(i,e){if(i&1&&(Qt(0),y(1,"mat-option",15)(2,"div",16)(3,"div",17),A(4,p4,1,3,"img",18)(5,g4,1,1,"mat-icon",19),_(),y(6,"div",20)(7,"span",21),j(8),_(),A(9,f4,2,1,"div",22),_()()(),Xt()),i&2){let a=e.$implicit;m(),f("routerLink",a.link)("value",a.name),m(3),f("ngIf",a.avatar),m(),f("ngIf",!a.avatar),m(3),Gn(a.name),m(),f("ngIf",a.about)}}function b4(i,e){if(i&1&&(Qt(0),A(1,h4,10,6,"ng-container",12),Xt()),i&2){let a=e.$implicit,t=h(3);m(),f("ngForOf",a.results)("ngForTrackBy",t.trackByFn)}}function v4(i,e){if(i&1){let a=le();y(0,"div",7),S(1,"mat-icon",8),y(2,"input",9,0),Y("keydown",function(n){K(a);let o=h(2);return Q(o.onKeydown(n))}),_(),y(4,"mat-autocomplete",10,1),A(6,m4,2,0,"mat-option",11)(7,b4,2,2,"ng-container",12),_(),y(8,"button",13),Y("click",function(){K(a);let n=h(2);return Q(n.close())}),S(9,"mat-icon",6),_()()}if(i&2){let a=te(5),t=h(2);f("@slideInTop",void 0)("@slideOutTop",void 0),m(),f("svgIcon","heroicons_outline:magnifying-glass"),m(),f("formControl",t.searchControl)("matAutocomplete",a)("placeholder","Search..."),m(2),f("autoSelectActiveOption",!0)("disableRipple",!0),m(2),f("ngIf",t.resultSets&&!t.resultSets.length),m(),f("ngForOf",t.resultSets)("ngForTrackBy",t.trackByFn),m(2),f("svgIcon","heroicons_outline:x-mark")}}function y4(i,e){if(i&1&&(y(0,"div"),A(1,d4,2,1,"button",3)(2,v4,10,12,"div",4),_()),i&2){let a=h();m(),f("ngIf",!a.opened),m(),f("ngIf",a.opened)}}var vr=(()=>{let e=class e{constructor(t){this._indexedDBService=t,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new ct,this.opened=!1,this.searchControl=new Ec,this._unsubscribeAll=new Z}set barSearchInput(t){t&&setTimeout(()=>{t.nativeElement.focus()})}set matAutocomplete(t){this._matAutocomplete=t}ngOnChanges(t){"appearance"in t&&this.close()}ngOnInit(){this.searchControl.valueChanges.pipe(Wn(this.debounce),B(this._unsubscribeAll),Ee(t=>((!t||t.lengtht&&t.length>=this.minLength)).subscribe(t=>jn(this,null,function*(){let n=yield this._indexedDBService.searchUsersByMetadata(t);this.resultSets=n.map(o=>({label:"Project",results:[{name:o.user.name||o.user.displayName||o.pubkey,pubkey:o.pubkey,username:o.user.username||"",website:o.user.website||"",about:o.user.about||"",avatar:o.user.picture||null,banner:o.user.banner||null,link:`/project/${o.pubkey}`}]})),this.search.next(this.resultSets)}))}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(t){t.code==="Escape"&&this.appearance==="bar"&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)(z(go))},e.\u0275cmp=U({type:e,selectors:[["search"]],viewQuery:function(n,o){if(n&1&&(Qe(c4,5),Qe(u4,5)),n&2){let r;Re(r=He())&&(o.barSearchInput=r.first),Re(r=He())&&(o.matAutocomplete=r.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[Ba([{provide:br,useFactory:()=>{let t=I(ti);return()=>t.scrollStrategies.block()}}]),tt,G],decls:1,vars:1,consts:[["barSearchInput",""],["matAutocomplete","matAutocomplete"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","bg-card absolute inset-0 z-99 flex shrink-0 items-center",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],["class","text-secondary pointer-events-none bg-transparent px-6 py-0 text-md",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],["class","h-full w-full object-cover",3,"src","alt",4,"ngIf"],["class","m-0 text-primary icon-size-5 dark:text-primary-400",3,"svgIcon",4,"ngIf"],[1,"ml-3","truncate"],[1,"font-semibold"],["class","text-sm text-gray-500",4,"ngIf"],[1,"h-full","w-full","object-cover",3,"src","alt"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"text-sm","text-gray-500"]],template:function(n,o){n&1&&A(0,y4,3,2,"div",2),n&2&&f("ngIf",o.appearance==="bar")},dependencies:[et,Xe,be,he,Nc,Ic,Mc,wm,xm,ao,gl,Lc,Oc,Ua,di,lo,po,Xi,Hl,Yn],encapsulation:2,data:{animation:gi}});let i=e;return i})();function _4(i,e){if(i&1&&(Qt(0),S(1,"img",14),Xt()),i&2){let a=h();m(),f("src",a.getSafeUrl(a.metadata==null?null:a.metadata.picture),Ye)}}function x4(i,e){i&1&&S(0,"mat-icon",12),i&2&&f("svgIcon","heroicons_outline:user-circle")}var yr=(()=>{let e=class e{constructor(t,n,o,r,s,l,c){this._changeDetectorRef=t,this._router=n,this._angorConfigService=o,this._metadataService=r,this._signerService=s,this._indexedDBService=l,this.sanitizer=c,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new Z}ngOnInit(){this.loadUserProfile(),this._angorConfigService.config$.pipe(B(this._unsubscribeAll)).subscribe(t=>{localStorage.setItem("angorConfig",JSON.stringify(t)),this.config=t,this._changeDetectorRef.detectChanges()}),this.loadUserProfile(),this._indexedDBService.getMetadataStream().pipe(B(this._unsubscribeAll)).subscribe(t=>{t&&t.pubkey===this.user?.pubkey&&(this.metadata=t.metadata,this._changeDetectorRef.detectChanges())})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){return jn(this,null,function*(){this.isLoading=!0,this.errorMessage=null;let t=this._signerService.getPublicKey();if(!t){this.errorMessage="No public key found. Please log in again.",this.isLoading=!1,this._changeDetectorRef.detectChanges();return}this.user={pubkey:t};try{let n=yield this._metadataService.fetchMetadataWithCache(t);n&&(this.metadata=n,this._changeDetectorRef.detectChanges()),this._metadataService.getMetadataStream().pipe(B(this._unsubscribeAll)).subscribe(o=>{o&&o.pubkey===t&&(this.metadata=o,this._changeDetectorRef.detectChanges())})}catch(n){console.error("Failed to load profile data:",n),this.errorMessage="Failed to load profile data. Please try again later.",this._changeDetectorRef.detectChanges()}finally{this.isLoading=!1,this._changeDetectorRef.detectChanges()}})}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(t){this._angorConfigService.config={layout:t},this._changeDetectorRef.detectChanges()}setScheme(t){this._angorConfigService.config={scheme:t},this._changeDetectorRef.detectChanges()}setTheme(t){this._angorConfigService.config={theme:t},this._changeDetectorRef.detectChanges()}getSafeUrl(t){return this.sanitizer.bypassSecurityTrustUrl(t)}};e.\u0275fac=function(n){return new(n||e)(z(ce),z(je),z(Ga),z(Hc),z(fo),z(go),z(Qn))},e.\u0275cmp=U({type:e,selectors:[["user"]],standalone:!0,features:[G],decls:48,vars:12,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","User Avatar",1,"h-7","w-7","rounded-full","object-cover",3,"src"]],template:function(n,o){if(n&1){let r=le();y(0,"button",3)(1,"span",4),A(2,_4,2,1,"ng-container",5)(3,x4,1,1,"ng-template",null,0,it),_()(),y(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),j(10,"Logged in as"),_(),y(11,"span",9),j(12),_()()(),S(13,"mat-divider",10),y(14,"button",11),Y("click",function(){return K(r),Q(o.profile())}),S(15,"mat-icon",12),y(16,"span"),j(17,"Profile"),_()(),y(18,"button",13),S(19,"mat-icon",12),y(20,"span"),j(21,"Settings"),_()(),S(22,"mat-divider",10),y(23,"button",11),Y("click",function(){return K(r),Q(o.logout())}),S(24,"mat-icon",12),y(25,"span"),j(26,"logout"),_()()(),y(27,"mat-menu",null,2)(29,"button",11),Y("click",function(){return K(r),Q(o.setScheme("auto"))}),S(30,"mat-icon",12),y(31,"span"),j(32,"Auto Theme"),_()(),y(33,"button",11),Y("click",function(){return K(r),Q(o.setScheme("light"))}),S(34,"mat-icon",12),y(35,"span"),j(36,"Light Theme"),_()(),y(37,"button",11),Y("click",function(){return K(r),Q(o.setScheme("dark"))}),S(38,"mat-icon",12),y(39,"span"),j(40,"Dark Theme"),_()(),S(41,"mat-divider"),y(42,"button",11),Y("click",function(){return K(r),Q(o.setLayout("classic"))}),y(43,"span"),j(44,"Classic Layout"),_()(),y(45,"button",11),Y("click",function(){return K(r),Q(o.setLayout("modern"))}),y(46,"span"),j(47,"Modern Layout"),_()()()}if(n&2){let r=te(4),s=te(6),l=te(28);f("matMenuTriggerFor",s),m(2),f("ngIf",o.metadata==null?null:o.metadata.picture)("ngIfElse",r),m(3),f("xPosition","before"),m(7),Gn((o.metadata==null?null:o.metadata.display_name)||(o.metadata==null?null:o.metadata.name)||"Unknown User"),m(3),f("svgIcon","heroicons_outline:user-circle"),m(3),f("matMenuTriggerFor",l),m(),f("svgIcon","heroicons_outline:cog-8-tooth"),m(5),f("svgIcon","heroicons_outline:arrow-right-on-rectangle"),m(6),f("svgIcon","heroicons_solid:bolt"),m(4),f("svgIcon","heroicons_solid:sun"),m(4),f("svgIcon","heroicons_solid:moon")}},dependencies:[et,Xe,na,uo,aa,mo,be,he,Rc,Fc,Xi,Yn],encapsulation:2,changeDetection:0});let i=e;return i})();function w4(i,e){if(i&1&&(y(0,"angor-vertical-navigation",1),Qt(1,13),y(2,"div",14),S(3,"img",15),_(),Xt(),_()),i&2){let a=h();f("mode","over")("name","mainNavigation")("navigation",a.navigation.default)("opened",!1)}}function S4(i,e){if(i&1&&(y(0,"div",16)(1,"div",17),S(2,"img",18)(3,"img",19),_(),S(4,"img",20),_(),S(5,"angor-horizontal-navigation",21)),i&2){let a=h();m(5),f("name","mainNavigation")("navigation",a.navigation.horizontal)}}function C4(i,e){if(i&1){let a=le();y(0,"button",22),Y("click",function(){K(a);let n=h();return Q(n.toggleNavigation("mainNavigation"))}),S(1,"mat-icon",9),_()}i&2&&(m(),f("svgIcon","heroicons_outline:bars-3"))}function q4(i,e){i&1&&S(0,"router-outlet")}var Cm=(()=>{let e=class e{constructor(t,n,o,r,s){this._activatedRoute=t,this._router=n,this._navigationService=o,this._angorMediaWatcherService=r,this._angorNavigationService=s,this._unsubscribeAll=new Z,this.version=ka}get currentYear(){return new Date().getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.navigation=t}),this._angorMediaWatcherService.onMediaChange$.pipe(B(this._unsubscribeAll)).subscribe(({matchingAliases:t})=>{this.isScreenSmall=!t.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(t){let n=this._angorNavigationService.getComponent(t);n&&n.toggle()}};e.\u0275fac=function(n){return new(n||e)(z(ea),z(je),z(qa),z(pi),z(ge))},e.\u0275cmp=U({type:e,selectors:[["modern-layout"]],standalone:!0,features:[G],decls:20,vars:8,consts:[["quickChat","quickChat"],[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],["mat-icon-button","",1,"lg:hidden",3,"click"],[3,"svgIcon"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"w-24","h-10"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"w-24","h-10","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","w-24","h-10","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"]],template:function(n,o){if(n&1){let r=le();S(0,"angor-loading-bar"),A(1,w4,4,4,"angor-vertical-navigation",1),y(2,"div",2)(3,"div",3),A(4,S4,6,2)(5,C4,2,1,"button",4),y(6,"div",5),S(7,"angor-fullscreen",6)(8,"search",7)(9,"notifications"),y(10,"button",8),Y("click",function(){K(r);let l=te(19);return Q(l.toggle())}),S(11,"mat-icon",9),_(),S(12,"user"),_()(),y(13,"div",10),A(14,q4,1,0,"router-outlet"),_(),y(15,"div",11)(16,"span",12),j(17),_()()(),S(18,"quick-chat",null,0)}n&2&&(m(),q(o.isScreenSmall?1:-1),m(3),q(o.isScreenSmall?-1:4),m(),q(o.isScreenSmall?5:-1),m(3),f("appearance","bar"),m(3),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(3),q(14),m(3),$n("Angor \xA9 ",o.currentYear," - version ",o.version,""))},dependencies:[Ta,gr,om,et,Xe,be,he,rr,vr,fr,yr,ui,hr],encapsulation:2});let i=e;return i})();function k4(i,e){i&1&&S(0,"router-outlet")}var qm=(()=>{let e=class e{constructor(t,n,o,r,s){this._activatedRoute=t,this._router=n,this._navigationService=o,this._angorMediaWatcherService=r,this._angorNavigationService=s,this._unsubscribeAll=new Z,this.version=ka}get currentYear(){return new Date().getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.navigation=t}),this._angorMediaWatcherService.onMediaChange$.pipe(B(this._unsubscribeAll)).subscribe(({matchingAliases:t})=>{this.isScreenSmall=!t.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(t){let n=this._angorNavigationService.getComponent(t);n&&n.toggle()}};e.\u0275fac=function(n){return new(n||e)(z(ea),z(je),z(qa),z(pi),z(ge))},e.\u0275cmp=U({type:e,selectors:[["classic-layout"]],standalone:!0,features:[G],decls:24,vars:10,consts:[["quickChat","quickChat"],[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],["mat-icon-button","",1,"lg:hidden",3,"click"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(n,o){if(n&1){let r=le();S(0,"angor-loading-bar"),y(1,"angor-vertical-navigation",1),Qt(2,2),y(3,"div",3),S(4,"img",4)(5,"img",5),_(),Xt(),_(),y(6,"div",6)(7,"div",7)(8,"button",8),Y("click",function(){return K(r),Q(o.toggleNavigation("mainNavigation"))}),S(9,"mat-icon",9),_(),y(10,"div",10),S(11,"angor-fullscreen",11)(12,"search",12)(13,"notifications"),y(14,"button",13),Y("click",function(){K(r);let l=te(23);return Q(l.toggle())}),S(15,"mat-icon",9),_(),S(16,"user"),_()(),y(17,"div",14),A(18,k4,1,0,"router-outlet"),_(),y(19,"div",15)(20,"span",16),j(21),_()()(),S(22,"quick-chat",null,0)}n&2&&(m(),f("mode",o.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",o.navigation.default)("opened",!o.isScreenSmall),m(8),f("svgIcon","heroicons_outline:bars-3"),m(3),f("appearance","bar"),m(3),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(3),q(18),m(3),$n("Angor \xA9 ",o.currentYear," - version ",o.version,""))},dependencies:[Ta,gr,et,Xe,be,he,rr,vr,fr,yr,ui,hr],encapsulation:2});let i=e;return i})();function T4(i,e){i&1&&S(0,"empty-layout")}function D4(i,e){i&1&&S(0,"modern-layout")}function A4(i,e){i&1&&S(0,"classic-layout")}var _r=(()=>{let e=class e{constructor(t,n,o,r,s,l,c){this._activatedRoute=t,this._document=n,this._renderer2=o,this._router=r,this._angorConfigService=s,this._angorMediaWatcherService=l,this._angorPlatformService=c,this._unsubscribeAll=new Z}ngOnInit(){Bn([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe(B(this._unsubscribeAll),Ee(([t,n])=>{let o={scheme:t.scheme,theme:t.theme};return t.scheme==="auto"&&(o.scheme=n.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),o})).subscribe(t=>{this.scheme=t.scheme,this.theme=t.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe(B(this._unsubscribeAll)).subscribe(t=>{this.config=t,this._updateLayout()}),this._router.events.pipe($e(t=>t instanceof Jt),B(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",ka),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let t=this._activatedRoute;for(;t.firstChild;)t=t.firstChild;this.layout=this.config.layout;let n=t.snapshot.queryParamMap.get("layout");n&&(this.layout=n,this.config&&(this.config.layout=n)),t.pathFromRoot.forEach(r=>{r.routeConfig&&r.routeConfig.data&&r.routeConfig.data.layout&&(this.layout=r.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(t=>{t.startsWith("theme-")&&this._document.body.classList.remove(t,t.split("-")[1])}),this._document.body.classList.add(this.theme)}};e.\u0275fac=function(n){return new(n||e)(z(ea),z(nt),z(Mi),z(je),z(Ga),z(pi),z(er))},e.\u0275cmp=U({type:e,selectors:[["layout"]],standalone:!0,features:[G],decls:3,vars:3,template:function(n,o){n&1&&A(0,T4,1,0,"empty-layout")(1,D4,1,0,"modern-layout")(2,A4,1,0,"classic-layout"),n&2&&(q(o.layout==="empty"?0:-1),m(),q(o.layout==="modern"?1:-1),m(),q(o.layout==="classic"?2:-1))},dependencies:[Qd,Cm,qm],styles:[`layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%} -`],encapsulation:2});let i=e;return i})();var Fn=()=>{let i=I(fo),e=I(je);return i.getPublicKey()!==""?!0:e.parseUrl("/login")};var km=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:_r,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>import("./chunk-VL3SBTAI.js")},{path:"register",loadChildren:()=>import("./chunk-TFVS42ET.js")}]},{path:"",canActivate:[Fn],canActivateChild:[Fn],component:_r,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>import("./chunk-ZFGUKGJZ.js")}]},{path:"",canActivate:[Fn],canActivateChild:[Fn],component:_r,resolve:{initialData:Yd},children:[{path:"home",loadChildren:()=>import("./chunk-X5PBGOY7.js")},{path:"explore",loadChildren:()=>import("./chunk-XAGCUCAT.js")},{path:"profile",loadChildren:()=>import("./chunk-BVX4YFCF.js")},{path:"settings",loadChildren:()=>import("./chunk-723MHW6Z.js")},{path:"chat",loadChildren:()=>import("./chunk-OD4RDG6J.js")},{path:"404-not-found",pathMatch:"full",loadChildren:()=>import("./chunk-C5PQ2BEL.js")},{path:"**",redirectTo:"404-not-found"}]}];var Tm=(()=>{let e=class e{constructor(){let t=I(Qn),n=I(Cc);n.addSvgIconSet(t.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),n.addSvgIconSetInNamespace("mat_outline",t.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),n.addSvgIconSetInNamespace("mat_solid",t.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),n.addSvgIconSetInNamespace("feather",t.bypassSecurityTrustResourceUrl("icons/feather.svg")),n.addSvgIconSetInNamespace("heroicons_outline",t.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),n.addSvgIconSetInNamespace("heroicons_solid",t.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),n.addSvgIconSetInNamespace("heroicons_mini",t.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Dm=()=>[{provide:Yt,useValue:()=>I(Tm),multi:!0}];var Am=[{id:"9a67dff7-3c38-4052-a335-0cef93438ff6",title:"Web",slug:"web"},{id:"a89672f5-e00d-4be4-9194-cb9d29f82165",title:"Firebase",slug:"firebase"},{id:"02f42092-bb23-4552-9ddb-cfdcc235d48f",title:"Cloud",slug:"cloud"},{id:"5648a630-979f-4403-8c41-fc9790dea8cd",title:"Android",slug:"android"}],Im=[{id:"694e4e5f-f25f-470b-bd0e-26b1d4f64028",title:"Basics of Angular",slug:"basics-of-angular",description:"Introductory course for Angular and framework basics",category:"web",duration:30,totalSteps:11,updatedAt:"Jun 28, 2021",featured:!0,progress:{currentStep:3,completed:2}},{id:"f924007a-2ee9-470b-a316-8d21ed78277f",title:"Basics of TypeScript",slug:"basics-of-typeScript",description:"Beginner course for Typescript and its basics",category:"web",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!0,progress:{currentStep:5,completed:3}},{id:"0c06e980-abb5-4ba7-ab65-99a228cab36b",title:"Android N: Quick Settings",slug:"android-n-quick-settings",description:"Step by step guide for Android N: Quick Settings",category:"android",duration:120,totalSteps:11,updatedAt:"May 08, 2021",featured:!1,progress:{currentStep:10,completed:1}},{id:"1b9a9acc-9a36-403e-a1e7-b11780179e38",title:"Build an App for the Google Assistant with Firebase",slug:"build-an-app-for-the-google-assistant-with-firebase",description:"Dive deep into Google Assistant apps using Firebase",category:"firebase",duration:30,totalSteps:11,updatedAt:"Jan 09, 2021",featured:!1,progress:{currentStep:4,completed:3}},{id:"55eb415f-3f4e-4853-a22b-f0ae91331169",title:"Keep Sensitive Data Safe and Private",slug:"keep-sensitive-data-safe-and-private",description:"Learn how to keep your important data safe and private",category:"android",duration:45,totalSteps:11,updatedAt:"Jan 14, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"fad2ab23-1011-4028-9a54-e52179ac4a50",title:"Manage Your Pivotal Cloud Foundry App's Using Apigee Edge",slug:"manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge",description:"Introductory course for Pivotal Cloud Foundry App",category:"cloud",duration:90,totalSteps:11,updatedAt:"Jun 24, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"c4bc107b-edc4-47a7-a7a8-4fb09732e794",title:"Build a PWA Using Workbox",slug:"build-a-pwa-using-workbox",description:"Step by step guide for building a PWA using Workbox",category:"web",duration:120,totalSteps:11,updatedAt:"Nov 19, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"1449f945-d032-460d-98e3-406565a22293",title:"Cloud Functions for Firebase",slug:"cloud-functions-for-firebase",description:"Beginners guide of Firebase Cloud Functions",category:"firebase",duration:45,totalSteps:11,updatedAt:"Jul 11, 2021",featured:!1,progress:{currentStep:3,completed:1}},{id:"f05e08ab-f3e3-4597-a032-6a4b69816f24",title:"Building a gRPC Service with Java",slug:"building-a-grpc-service-with-java",description:"Learn more about building a gRPC Service with Java",category:"cloud",duration:30,totalSteps:11,updatedAt:"Mar 13, 2021",featured:!1,progress:{currentStep:0,completed:1}},{id:"181728f4-87c8-45c5-b9cc-92265bcd2f4d",title:"Looking at Campaign Finance with BigQuery",slug:"looking-at-campaign-finance-with-bigquery",description:"Dive deep into BigQuery: Campaign Finance",category:"cloud",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"fcbfedbf-6187-4b3b-89d3-1a7cb4e11616",title:"Personalize Your iOS App with Firebase User Management",slug:"personalize-your-ios-app-with-firebase-user-management",description:"Dive deep into User Management on iOS apps using Firebase",category:"firebase",duration:90,totalSteps:11,updatedAt:"Aug 08, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"5213f6a1-1dd7-4b1d-b6e9-ffb7af534f28",title:"Customize Network Topology with Subnetworks",slug:"customize-network-topology-with-subnetworks",description:"Dive deep into Network Topology with Subnetworks",category:"web",duration:45,totalSteps:11,updatedAt:"May 12, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"02992ac9-d1a3-4167-b70e-8a1d5b5ba253",title:"Building Beautiful UIs with Flutter",slug:"building-beautiful-uis-with-flutter",description:"Dive deep into Flutter's hidden secrets for creating beautiful UIs",category:"web",duration:90,totalSteps:11,updatedAt:"Sep 18, 2021",featured:!1,progress:{currentStep:8,completed:2}},{id:"2139512f-41fb-4a4a-841a-0b4ac034f9b4",title:"Firebase Android",slug:"firebase-android",description:"Beginners guide of Firebase for Android",category:"android",duration:45,totalSteps:11,updatedAt:"Apr 24, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"65e0a0e0-d8c0-4117-a3cb-eb74f8e28809",title:"Simulating a Thread Network Using OpenThread",slug:"simulating-a-thread-network-using-openthread",description:"Introductory course for OpenThread and Simulating a Thread Network",category:"web",duration:45,totalSteps:11,updatedAt:"Jun 05, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c202ebc9-9be3-433a-9d38-7003b3ed7b7a",title:"Your First Progressive Web App",slug:"your-first-progressive-web-app",description:"Step by step guide for creating a PWA from scratch",category:"web",duration:30,totalSteps:11,updatedAt:"Oct 14, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"980ae7da-9f77-4e30-aa98-1b1ea594e775",title:"Launch Cloud Datalab",slug:"launch-cloud-datalab",description:"From start to finish: Launch Cloud Datalab",category:"cloud",duration:60,totalSteps:11,updatedAt:"Dec 16, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c9748ea9-4117-492c-bdb2-55085b515978",title:"Cloud Firestore",slug:"cloud-firestore",description:"Step by step guide for setting up Cloud Firestore",category:"firebase",duration:90,totalSteps:11,updatedAt:"Apr 04, 2021",featured:!1,progress:{currentStep:2,completed:0}}],Nt=` +`],encapsulation:2});let i=e;return i})();var Fn=()=>{let i=I(fo),e=I(je);return i.getPublicKey()!==""?!0:e.parseUrl("/login")};var km=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:_r,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>import("./chunk-VL3SBTAI.js")},{path:"register",loadChildren:()=>import("./chunk-TFVS42ET.js")}]},{path:"",canActivate:[Fn],canActivateChild:[Fn],component:_r,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>import("./chunk-ZFGUKGJZ.js")}]},{path:"",canActivate:[Fn],canActivateChild:[Fn],component:_r,resolve:{initialData:Yd},children:[{path:"home",loadChildren:()=>import("./chunk-X5PBGOY7.js")},{path:"explore",loadChildren:()=>import("./chunk-OFOAMEDS.js")},{path:"profile",loadChildren:()=>import("./chunk-BVX4YFCF.js")},{path:"settings",loadChildren:()=>import("./chunk-723MHW6Z.js")},{path:"chat",loadChildren:()=>import("./chunk-OD4RDG6J.js")},{path:"404-not-found",pathMatch:"full",loadChildren:()=>import("./chunk-C5PQ2BEL.js")},{path:"**",redirectTo:"404-not-found"}]}];var Tm=(()=>{let e=class e{constructor(){let t=I(Qn),n=I(Cc);n.addSvgIconSet(t.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),n.addSvgIconSetInNamespace("mat_outline",t.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),n.addSvgIconSetInNamespace("mat_solid",t.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),n.addSvgIconSetInNamespace("feather",t.bypassSecurityTrustResourceUrl("icons/feather.svg")),n.addSvgIconSetInNamespace("heroicons_outline",t.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),n.addSvgIconSetInNamespace("heroicons_solid",t.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),n.addSvgIconSetInNamespace("heroicons_mini",t.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Dm=()=>[{provide:Yt,useValue:()=>I(Tm),multi:!0}];var Am=[{id:"9a67dff7-3c38-4052-a335-0cef93438ff6",title:"Web",slug:"web"},{id:"a89672f5-e00d-4be4-9194-cb9d29f82165",title:"Firebase",slug:"firebase"},{id:"02f42092-bb23-4552-9ddb-cfdcc235d48f",title:"Cloud",slug:"cloud"},{id:"5648a630-979f-4403-8c41-fc9790dea8cd",title:"Android",slug:"android"}],Im=[{id:"694e4e5f-f25f-470b-bd0e-26b1d4f64028",title:"Basics of Angular",slug:"basics-of-angular",description:"Introductory course for Angular and framework basics",category:"web",duration:30,totalSteps:11,updatedAt:"Jun 28, 2021",featured:!0,progress:{currentStep:3,completed:2}},{id:"f924007a-2ee9-470b-a316-8d21ed78277f",title:"Basics of TypeScript",slug:"basics-of-typeScript",description:"Beginner course for Typescript and its basics",category:"web",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!0,progress:{currentStep:5,completed:3}},{id:"0c06e980-abb5-4ba7-ab65-99a228cab36b",title:"Android N: Quick Settings",slug:"android-n-quick-settings",description:"Step by step guide for Android N: Quick Settings",category:"android",duration:120,totalSteps:11,updatedAt:"May 08, 2021",featured:!1,progress:{currentStep:10,completed:1}},{id:"1b9a9acc-9a36-403e-a1e7-b11780179e38",title:"Build an App for the Google Assistant with Firebase",slug:"build-an-app-for-the-google-assistant-with-firebase",description:"Dive deep into Google Assistant apps using Firebase",category:"firebase",duration:30,totalSteps:11,updatedAt:"Jan 09, 2021",featured:!1,progress:{currentStep:4,completed:3}},{id:"55eb415f-3f4e-4853-a22b-f0ae91331169",title:"Keep Sensitive Data Safe and Private",slug:"keep-sensitive-data-safe-and-private",description:"Learn how to keep your important data safe and private",category:"android",duration:45,totalSteps:11,updatedAt:"Jan 14, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"fad2ab23-1011-4028-9a54-e52179ac4a50",title:"Manage Your Pivotal Cloud Foundry App's Using Apigee Edge",slug:"manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge",description:"Introductory course for Pivotal Cloud Foundry App",category:"cloud",duration:90,totalSteps:11,updatedAt:"Jun 24, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"c4bc107b-edc4-47a7-a7a8-4fb09732e794",title:"Build a PWA Using Workbox",slug:"build-a-pwa-using-workbox",description:"Step by step guide for building a PWA using Workbox",category:"web",duration:120,totalSteps:11,updatedAt:"Nov 19, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"1449f945-d032-460d-98e3-406565a22293",title:"Cloud Functions for Firebase",slug:"cloud-functions-for-firebase",description:"Beginners guide of Firebase Cloud Functions",category:"firebase",duration:45,totalSteps:11,updatedAt:"Jul 11, 2021",featured:!1,progress:{currentStep:3,completed:1}},{id:"f05e08ab-f3e3-4597-a032-6a4b69816f24",title:"Building a gRPC Service with Java",slug:"building-a-grpc-service-with-java",description:"Learn more about building a gRPC Service with Java",category:"cloud",duration:30,totalSteps:11,updatedAt:"Mar 13, 2021",featured:!1,progress:{currentStep:0,completed:1}},{id:"181728f4-87c8-45c5-b9cc-92265bcd2f4d",title:"Looking at Campaign Finance with BigQuery",slug:"looking-at-campaign-finance-with-bigquery",description:"Dive deep into BigQuery: Campaign Finance",category:"cloud",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"fcbfedbf-6187-4b3b-89d3-1a7cb4e11616",title:"Personalize Your iOS App with Firebase User Management",slug:"personalize-your-ios-app-with-firebase-user-management",description:"Dive deep into User Management on iOS apps using Firebase",category:"firebase",duration:90,totalSteps:11,updatedAt:"Aug 08, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"5213f6a1-1dd7-4b1d-b6e9-ffb7af534f28",title:"Customize Network Topology with Subnetworks",slug:"customize-network-topology-with-subnetworks",description:"Dive deep into Network Topology with Subnetworks",category:"web",duration:45,totalSteps:11,updatedAt:"May 12, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"02992ac9-d1a3-4167-b70e-8a1d5b5ba253",title:"Building Beautiful UIs with Flutter",slug:"building-beautiful-uis-with-flutter",description:"Dive deep into Flutter's hidden secrets for creating beautiful UIs",category:"web",duration:90,totalSteps:11,updatedAt:"Sep 18, 2021",featured:!1,progress:{currentStep:8,completed:2}},{id:"2139512f-41fb-4a4a-841a-0b4ac034f9b4",title:"Firebase Android",slug:"firebase-android",description:"Beginners guide of Firebase for Android",category:"android",duration:45,totalSteps:11,updatedAt:"Apr 24, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"65e0a0e0-d8c0-4117-a3cb-eb74f8e28809",title:"Simulating a Thread Network Using OpenThread",slug:"simulating-a-thread-network-using-openthread",description:"Introductory course for OpenThread and Simulating a Thread Network",category:"web",duration:45,totalSteps:11,updatedAt:"Jun 05, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c202ebc9-9be3-433a-9d38-7003b3ed7b7a",title:"Your First Progressive Web App",slug:"your-first-progressive-web-app",description:"Step by step guide for creating a PWA from scratch",category:"web",duration:30,totalSteps:11,updatedAt:"Oct 14, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"980ae7da-9f77-4e30-aa98-1b1ea594e775",title:"Launch Cloud Datalab",slug:"launch-cloud-datalab",description:"From start to finish: Launch Cloud Datalab",category:"cloud",duration:60,totalSteps:11,updatedAt:"Dec 16, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c9748ea9-4117-492c-bdb2-55085b515978",title:"Cloud Firestore",slug:"cloud-firestore",description:"Step by step guide for setting up Cloud Firestore",category:"firebase",duration:90,totalSteps:11,updatedAt:"Apr 04, 2021",featured:!1,progress:{currentStep:2,completed:0}}],Nt=`

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aperiam lab et fugiat id magnam minus nemo quam voluptatem. Culpa deleniti explica nisi quod soluta. diff --git a/ngsw.json b/ngsw.json index 46cf0a4..08d3da1 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1726749198510, + "timestamp": 1726751356584, "index": "/index.html", "assetGroups": [ { @@ -32,16 +32,16 @@ "/chunk-LOQWNVM6.js", "/chunk-NO6YX2BS.js", "/chunk-OD4RDG6J.js", + "/chunk-OFOAMEDS.js", "/chunk-TFVS42ET.js", "/chunk-VL3SBTAI.js", "/chunk-WKHOS5S7.js", "/chunk-X5PBGOY7.js", - "/chunk-XAGCUCAT.js", "/chunk-Y2IJV7KJ.js", "/chunk-Y66DTPTX.js", "/chunk-ZFGUKGJZ.js", "/index.html", - "/main-CXHG5XOI.js", + "/main-RPLAWMBI.js", "/manifest.webmanifest", "/polyfills-SCHOHYNV.js", "/styles-C3WWCSPP.css" @@ -161,11 +161,11 @@ "/chunk-LOQWNVM6.js": "728327f35af09de104d67b2554fa887237b46343", "/chunk-NO6YX2BS.js": "9a48e5b6b9452781d4eb1f0e5f7f9968c4e86001", "/chunk-OD4RDG6J.js": "9c72db57bae1c10c56f1cfa36e23ced6a716ee52", + "/chunk-OFOAMEDS.js": "264a47797d4f156d5c36969b8e50791366da80fd", "/chunk-TFVS42ET.js": "3a2ed569fa5dc33f41c3e70dfe8b9f2ad7aba2c4", "/chunk-VL3SBTAI.js": "7c4fab64bf1d4f231c74fb19250676d47464b082", "/chunk-WKHOS5S7.js": "f8cab4a6a9c3541b6458f82a2aa1bcf8450ee629", "/chunk-X5PBGOY7.js": "ee26ce057cca8152eae8d71b83c6706d1bd4a0ee", - "/chunk-XAGCUCAT.js": "3f2be28ce3eec6f94516d2604cb03a95182c602d", "/chunk-Y2IJV7KJ.js": "c22211bbfadfa9bd4d4e8ce428bf6ed62d908af4", "/chunk-Y66DTPTX.js": "80dbd613a5508fce39c7b7084d26fd4725dc3390", "/chunk-ZFGUKGJZ.js": "539ac686b38c69e0d2832ac2c1b5927b78b98f18", @@ -231,8 +231,8 @@ "/images/logo/logo.svg": "eaadf840082d5fdcc0d728530b0fc7927e703ce9", "/images/pages/help-center/image-1.jpg": "806a87043b0c49207b587e50cf4deb8ca0008a6e", "/images/pages/profile/cover.jpg": "a874a39cd3b94a9a7a94faffe80f94c2db3f5a1e", - "/index.html": "b800ce7e2f9114c4b663b5420bfd5a223aedc94a", - "/main-CXHG5XOI.js": "ba2fa1128b217312759af68a2ec2c737cb7e818d", + "/index.html": "2668f00607de515825843a417b4aa8c5c3f79801", + "/main-RPLAWMBI.js": "9614c37dcf9634a505921115eba5431760440540", "/manifest.webmanifest": "fd6065c16eb892ec6d23f8481bf59ff95e312888", "/polyfills-SCHOHYNV.js": "d45c76c5960bab3ace7fd6d211b9579456241f8a", "/styles-C3WWCSPP.css": "605a6ac4c513fa06b507f6170b137395430c5e66"