diff --git a/chunk-4422JARR.js b/chunk-2CZV2Z3I.js similarity index 92% rename from chunk-4422JARR.js rename to chunk-2CZV2Z3I.js index 1977d82b..cf861906 100644 --- a/chunk-4422JARR.js +++ b/chunk-2CZV2Z3I.js @@ -1 +1 @@ -import{c as g,e as h,f as C}from"./chunk-HGOTYYGI.js";import{$b as u,Ha as l,Tb as m,ac as s,bc as a,cc as r,kc as d,lb as o,ub as c,xc as f,zc as v}from"./chunk-TEKHUYWQ.js";var F=(e,n)=>n.value;function w(e,n){if(e&1&&(a(0,"mat-chip-option",1),f(1),r()),e&2){let t=n.$implicit;m("value",t.value),o(),v(" ",t.viewValue," ")}}var T=(()=>{class e{filterChange=l();experiences=[{value:"internship",viewValue:"Est\xE1gio"},{value:"junior",viewValue:"Junior"},{value:"mid",viewValue:"Pleno"},{value:"senior",viewValue:"Senior"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=c({type:e,selectors:[["devmx-job-opening-experience-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,p){i&1&&(a(0,"mat-chip-listbox",0),d("change",function(_){return p.filterChange.emit(_.value)}),u(1,w,2,2,"mat-chip-option",1,F),r()),i&2&&(o(),s(p.experiences))},dependencies:[C,h,g],encapsulation:2,changeDetection:0})}return e})();var y=(e,n)=>n.value;function O(e,n){if(e&1&&(a(0,"mat-chip-option",1),f(1),r()),e&2){let t=n.$implicit;m("value",t.value),o(),v(" ",t.viewValue," ")}}var L=(()=>{class e{filterChange=l();modes=[{value:"remote",viewValue:"Remoto"},{value:"hybrid",viewValue:"H\xEDbrido"},{value:"office",viewValue:"Presencial"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=c({type:e,selectors:[["devmx-job-opening-mode-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,p){i&1&&(a(0,"mat-chip-listbox",0),d("change",function(_){return p.filterChange.emit(_.value)}),u(1,O,2,2,"mat-chip-option",1,y),r()),i&2&&(o(),s(p.modes))},dependencies:[C,h,g],encapsulation:2,changeDetection:0})}return e})();export{T as a,L as b}; +import{c as g,e as h,f as C}from"./chunk-46FZR7EY.js";import{$b as u,Ha as l,Tb as m,ac as s,bc as a,cc as r,kc as d,lb as o,ub as c,xc as f,zc as v}from"./chunk-5L47ZUSK.js";var F=(e,n)=>n.value;function w(e,n){if(e&1&&(a(0,"mat-chip-option",1),f(1),r()),e&2){let t=n.$implicit;m("value",t.value),o(),v(" ",t.viewValue," ")}}var T=(()=>{class e{filterChange=l();experiences=[{value:"internship",viewValue:"Est\xE1gio"},{value:"junior",viewValue:"Junior"},{value:"mid",viewValue:"Pleno"},{value:"senior",viewValue:"Senior"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=c({type:e,selectors:[["devmx-job-opening-experience-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,p){i&1&&(a(0,"mat-chip-listbox",0),d("change",function(_){return p.filterChange.emit(_.value)}),u(1,w,2,2,"mat-chip-option",1,F),r()),i&2&&(o(),s(p.experiences))},dependencies:[C,h,g],encapsulation:2,changeDetection:0})}return e})();var y=(e,n)=>n.value;function O(e,n){if(e&1&&(a(0,"mat-chip-option",1),f(1),r()),e&2){let t=n.$implicit;m("value",t.value),o(),v(" ",t.viewValue," ")}}var L=(()=>{class e{filterChange=l();modes=[{value:"remote",viewValue:"Remoto"},{value:"hybrid",viewValue:"H\xEDbrido"},{value:"office",viewValue:"Presencial"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=c({type:e,selectors:[["devmx-job-opening-mode-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,p){i&1&&(a(0,"mat-chip-listbox",0),d("change",function(_){return p.filterChange.emit(_.value)}),u(1,O,2,2,"mat-chip-option",1,y),r()),i&2&&(o(),s(p.modes))},dependencies:[C,h,g],encapsulation:2,changeDetection:0})}return e})();export{T as a,L as b}; diff --git a/chunk-5BAEVBCP.js b/chunk-2ZIXK45P.js similarity index 86% rename from chunk-5BAEVBCP.js rename to chunk-2ZIXK45P.js index 5f7e02fc..cec71b36 100644 --- a/chunk-5BAEVBCP.js +++ b/chunk-2ZIXK45P.js @@ -1 +1 @@ -import{a as nt}from"./chunk-DUF4HXV7.js";import{a as ot}from"./chunk-56M6HFOE.js";import{a as x,b as S,c as et,d as it,e as k,f as D,g as v,h as b}from"./chunk-73QBZNVE.js";import{a as X}from"./chunk-GXQHMTZK.js";import{c as Y}from"./chunk-BLJCB4Q7.js";import{d as Z,e as tt}from"./chunk-VVQ6JEVH.js";import{b as N,i as j,j as B}from"./chunk-AND6K73U.js";import{q as C,x as M}from"./chunk-6BGAZ7SQ.js";import{h as Q,k as U,l as W}from"./chunk-PAP2P7QR.js";import{c as R,h as $,i as z,m as H,p as q,s as J,x as K}from"./chunk-EDIJ2EBQ.js";import{$b as F,Jc as I,Kc as G,L as y,Nb as O,Tb as p,Yb as P,ac as T,bc as n,cc as a,dc as A,hc as E,je as L,ka as c,kc as d,lb as m,mc as g,ta as f,ua as u,ub as _,wc as V,xc as r,zc as h}from"./chunk-TEKHUYWQ.js";var ct=(i,l)=>l.id;function dt(i,l){if(i&1&&(n(0,"mat-list-option",5),r(1),a()),i&2){let t=l.$implicit;p("value",t),m(),h(" ",t.name," ")}}function pt(i,l){if(i&1){let t=E();n(0,"mat-dialog-content",2)(1,"devmx-search-field",3),d("searchChange",function(o){f(t);let s=g();return u(s.onSearchChange(o))}),a(),n(2,"mat-selection-list",4,0),F(4,dt,2,2,"mat-list-option",5,ct),a(),n(6,"devmx-paginator",6),d("pageChange",function(o){f(t);let s=g();return u(s.onPageChange(o))}),a()(),n(7,"mat-dialog-actions",7)(8,"button",8),d("click",function(){f(t);let o=V(3),s=g();return u(s.close(o.selectedOptions.selected))}),r(9," Selecionar "),a(),n(10,"button",9),d("click",function(){f(t);let o=g();return u(o.ref.close())}),r(11,"Cancelar"),a()()}if(i&2){let t=l,e=g();m(2),p("multiple",e.data.multiple),m(2),T(t.data),m(2),p("items",t.items)}}var at=(()=>{class i{ref=c(x);data=c(S);skillFacade=c(X);constructor(){this.skillFacade.load()}onSearchChange(t){this.skillFacade.setFilter({name:t}),this.skillFacade.load()}onPageChange({page:t,size:e}){this.skillFacade.setParams({page:t,size:e}),this.skillFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(e=>e.value)):this.ref.close(t[0].value)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["devmx-select-skill"]],decls:4,vars:3,consts:[["skill",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"skills",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,o){if(e&1&&(n(0,"h2",1),r(1,"Encontre habilidades"),a(),O(2,pt,12,2),I(3,"async")),e&2){let s;m(2),P((s=G(3,1,o.skillFacade.response$))?2:-1,s)}},dependencies:[Y,ot,b,k,v,D,M,C,W,U,Q,L],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .skills[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var lt=(()=>{class i{ref=c(x);data=c(S);form=new nt;ngOnInit(){this.data&&this.form.patchValue(this.data)}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return this.ref.close(t)}this.form.markAllAsTouched()}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["devmx-skill"]],decls:13,vars:2,consts:[["mat-dialog-title",""],[3,"submit","formGroup"],[1,"dialog-content"],["matInput","","formControlName","name"],["align","end",1,"dialog-actions"],["mat-flat-button",""],["type","button","mat-button","","mat-dialog-close",""]],template:function(e,o){e&1&&(n(0,"h2",0),r(1),a(),n(2,"form",1),d("submit",function(){return o.onSubmit()}),n(3,"mat-dialog-content",2)(4,"mat-form-field")(5,"mat-label"),r(6,"Habilidade"),a(),A(7,"input",3),a()(),n(8,"mat-dialog-actions",4)(9,"button",5),r(10,"Salvar"),a(),n(11,"button",6),r(12,"Cancelar"),a()()()),e&2&&(m(),h("",o.data!=null&&o.data.id?"Editar":"Cadastrar"," habilidade"),m(),p("formGroup",o.form))},dependencies:[K,H,R,$,z,q,J,B,j,N,b,it,k,v,D,tt,Z,M,C],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var w=class{dialog;constructor(l){this.dialog=l}select(l={}){return this.dialog.open(at,{data:l}).afterClosed().pipe(y(1))}open(l){return this.dialog.open(lt,{data:l}).afterClosed().pipe(y(1))}};function $t(){return{provide:w,deps:[et]}}export{w as a,$t as b}; +import{a as nt}from"./chunk-4GWBJQXV.js";import{a as ot}from"./chunk-5XJFAPMG.js";import{a as x,b as S,c as et,d as it,e as k,f as D,g as v,h as b}from"./chunk-6PKCOWVT.js";import{a as X}from"./chunk-FKKUCUPL.js";import{c as Y}from"./chunk-EJAMDHKS.js";import{d as Z,e as tt}from"./chunk-A74J7Y3C.js";import{b as N,i as j,j as B}from"./chunk-TJJFEYFG.js";import{q as C,x as M}from"./chunk-7RMPQIRR.js";import{h as Q,k as U,l as W}from"./chunk-UANEMOTZ.js";import{c as R,h as $,i as z,m as H,p as q,s as J,x as K}from"./chunk-E5QACR6S.js";import{$b as F,Jc as I,Kc as G,L as y,Nb as O,Tb as p,Yb as P,ac as T,bc as n,cc as a,dc as A,hc as E,je as L,ka as c,kc as d,lb as m,mc as g,ta as f,ua as u,ub as _,wc as V,xc as r,zc as h}from"./chunk-5L47ZUSK.js";var ct=(i,l)=>l.id;function dt(i,l){if(i&1&&(n(0,"mat-list-option",5),r(1),a()),i&2){let t=l.$implicit;p("value",t),m(),h(" ",t.name," ")}}function pt(i,l){if(i&1){let t=E();n(0,"mat-dialog-content",2)(1,"devmx-search-field",3),d("searchChange",function(o){f(t);let s=g();return u(s.onSearchChange(o))}),a(),n(2,"mat-selection-list",4,0),F(4,dt,2,2,"mat-list-option",5,ct),a(),n(6,"devmx-paginator",6),d("pageChange",function(o){f(t);let s=g();return u(s.onPageChange(o))}),a()(),n(7,"mat-dialog-actions",7)(8,"button",8),d("click",function(){f(t);let o=V(3),s=g();return u(s.close(o.selectedOptions.selected))}),r(9," Selecionar "),a(),n(10,"button",9),d("click",function(){f(t);let o=g();return u(o.ref.close())}),r(11,"Cancelar"),a()()}if(i&2){let t=l,e=g();m(2),p("multiple",e.data.multiple),m(2),T(t.data),m(2),p("items",t.items)}}var at=(()=>{class i{ref=c(x);data=c(S);skillFacade=c(X);constructor(){this.skillFacade.load()}onSearchChange(t){this.skillFacade.setFilter({name:t}),this.skillFacade.load()}onPageChange({page:t,size:e}){this.skillFacade.setParams({page:t,size:e}),this.skillFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(e=>e.value)):this.ref.close(t[0].value)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["devmx-select-skill"]],decls:4,vars:3,consts:[["skill",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"skills",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,o){if(e&1&&(n(0,"h2",1),r(1,"Encontre habilidades"),a(),O(2,pt,12,2),I(3,"async")),e&2){let s;m(2),P((s=G(3,1,o.skillFacade.response$))?2:-1,s)}},dependencies:[Y,ot,b,k,v,D,M,C,W,U,Q,L],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .skills[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var lt=(()=>{class i{ref=c(x);data=c(S);form=new nt;ngOnInit(){this.data&&this.form.patchValue(this.data)}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return this.ref.close(t)}this.form.markAllAsTouched()}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["devmx-skill"]],decls:13,vars:2,consts:[["mat-dialog-title",""],[3,"submit","formGroup"],[1,"dialog-content"],["matInput","","formControlName","name"],["align","end",1,"dialog-actions"],["mat-flat-button",""],["type","button","mat-button","","mat-dialog-close",""]],template:function(e,o){e&1&&(n(0,"h2",0),r(1),a(),n(2,"form",1),d("submit",function(){return o.onSubmit()}),n(3,"mat-dialog-content",2)(4,"mat-form-field")(5,"mat-label"),r(6,"Habilidade"),a(),A(7,"input",3),a()(),n(8,"mat-dialog-actions",4)(9,"button",5),r(10,"Salvar"),a(),n(11,"button",6),r(12,"Cancelar"),a()()()),e&2&&(m(),h("",o.data!=null&&o.data.id?"Editar":"Cadastrar"," habilidade"),m(),p("formGroup",o.form))},dependencies:[K,H,R,$,z,q,J,B,j,N,b,it,k,v,D,tt,Z,M,C],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var w=class{dialog;constructor(l){this.dialog=l}select(l={}){return this.dialog.open(at,{data:l}).afterClosed().pipe(y(1))}open(l){return this.dialog.open(lt,{data:l}).afterClosed().pipe(y(1))}};function $t(){return{provide:w,deps:[et]}}export{w as a,$t as b}; diff --git a/chunk-M5BYPXOP.js b/chunk-2ZQUZ4JV.js similarity index 96% rename from chunk-M5BYPXOP.js rename to chunk-2ZQUZ4JV.js index 7c3f838d..263de64b 100644 --- a/chunk-M5BYPXOP.js +++ b/chunk-2ZQUZ4JV.js @@ -1 +1 @@ -import{b as Le,c as Be,d as ke,e as Se,g as Te}from"./chunk-ZQOXWN4S.js";import{a as Oe,b as Ne}from"./chunk-WKFJTKSD.js";import{a as we,b as Ee}from"./chunk-MLNPCJDD.js";import{a as $,b as A}from"./chunk-UOTKRQ63.js";import{a as Ie,b as $e,c as Ae,d as Re}from"./chunk-ZTWYID37.js";import{a as Fe}from"./chunk-A3N3AUUJ.js";import{f as me,h as ce,i as pe,j as O,k as ge,p as ue,r as De,v as ze,x as N}from"./chunk-6BGAZ7SQ.js";import{c as xe,e as Ce,g as Me,j as Pe,l as R}from"./chunk-PAP2P7QR.js";import{a as y}from"./chunk-EDIJ2EBQ.js";import{B as _e,H as be,K as ve,S as he,T as ye,Y as G,q as H,r as fe}from"./chunk-W5KNOAKV.js";import{$b as z,Ba as X,F as U,Fa as J,Fc as oe,Hc as re,Ia as K,Ja as Q,Jc as c,Kc as p,Mb as ie,Nb as u,Pa as W,Sc as se,Tb as g,Vb as S,Vc as I,Y as Z,Yb as f,Yd as le,ac as L,bc as o,cc as s,dc as d,ed as de,fa as Y,hc as ae,je as P,k as q,ka as l,kc as T,lb as r,mc as B,nc as x,oc as C,sb as ee,ta as E,ua as D,ub as b,vb as te,wb as ne,wc as M,xc as v,yc as h,zc as F}from"./chunk-TEKHUYWQ.js";var Xe=["*"];function Je(e,a){e&1&&(o(0,"p",1),d(1,"devmx-icon",6),o(2,"span"),v(3),s()()),e&2&&(r(3),h(a.displayName))}var je=(()=>{class e{toolbar=l(Oe);year=new Date().getFullYear();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout-toolbar"]],ngContentSelectors:Xe,decls:11,vars:4,consts:[[1,"layout-toolbar"],[1,"layout-toolbar-account"],[1,"spacer"],[1,"devpr"],["target","_blank","href","//devpr.org",1,"devpr-link"],["src","devpr.svg","alt","Comunidade DevParan\xE1"],["name","user-circle"]],template:function(n,i){if(n&1&&(x(),o(0,"mat-toolbar",0)(1,"div"),C(2),u(3,Je,4,1,"p",1),c(4,"async"),s(),d(5,"span",2),o(6,"div")(7,"p",3),v(8),s(),o(9,"a",4),d(10,"img",5),s()()()),n&2){let m;r(3),f((m=p(4,2,i.toolbar.auth.auth$))?3:-1,m),r(5),F("DevParan\xE1 \xA9 ",i.year,"")}},dependencies:[A,$,y,R,P],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .layout-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:space-between}[_nghost-%COMP%] .layout-toolbar-account[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:.8em;gap:.6em;padding:0;margin:0}[_nghost-%COMP%] .layout-toolbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:.5em;display:flex;align-items:center}[_nghost-%COMP%] .devpr[_ngcontent-%COMP%]{display:flex;gap:1em;font-size:.68em;margin:0;opacity:.6}[_nghost-%COMP%] .devpr-link[_ngcontent-%COMP%]{height:100%;display:inline-flex;align-items:center;margin-left:.4em;margin-right:.4em}[_nghost-%COMP%] .devpr-link[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px}@media (max-width: 767px){[_nghost-%COMP%] .devpr[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})}return e})();var w=class{router;#e=new q([]);breadcrumbs$=this.#e.asObservable();constructor(a){this.router=a,this.router.events.pipe(U(t=>t instanceof me)).subscribe(()=>{let{root:t}=this.router.routerState.snapshot,n=[];this.#t([],n,t),this.#e.next(n)})}#t(a,t,n){if(n){let i=a.concat(n.url.map(m=>m.path));if("breadcrumb"in n.data){let m=n.data.breadcrumb,_=typeof n.data.breadcrumb=="function"?m(n.data):m;if(t.every(V=>V.text!==_)){let V="/"+i.join("/");t.push({path:V,text:_})}}this.#t(i,t,n.firstChild)}}};var Qe=(e,a)=>a.path;function We(e,a){e&1&&d(0,"devmx-icon",1),e&2&&g("size",16)}function et(e,a){if(e&1&&(o(0,"li")(1,"a",0),v(2),s(),u(3,We,1,1,"devmx-icon",1),s()),e&2){let t=a.$implicit,n=a.$index,i=a.$count;r(),g("routerLink",t.path),r(),h(t.text),r(),f(n!==i-1?3:-1)}}var Ve=(()=>{class e{crumbsService=l(w);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-crumbs"]],decls:4,vars:2,consts:[["mat-button","",1,"crumb",3,"routerLink"],["name","arrow/chevron-right",3,"size"]],template:function(n,i){n&1&&(o(0,"ul"),z(1,et,4,3,"li",null,Qe),c(3,"async"),s()),n&2&&(r(),L(p(3,0,i.crumbsService.breadcrumbs$)))},dependencies:[O,N,De,y,P],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none;display:flex;flex-direction:row}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0}[_nghost-%COMP%] .crumb-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4em} .crumb{display:inline-flex;justify-content:flex-start} .crumb .mdc-button__label{overflow:hidden;max-width:120px;text-overflow:ellipsis;width:fit-content;white-space:nowrap}"]})}return e})();function He(){return{provide:w,deps:[pe]}}var tt=["*"],Ge=(()=>{class e{title=K("devparana . mx");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout-navbar"]],inputs:{title:[1,"title"]},features:[oe([He()])],ngContentSelectors:tt,decls:11,vars:1,consts:[[1,"layout-navbar"],["routerLink","/",1,"app-logo"],["src","devmx.svg","height","48","alt","DevMX"],[1,"app-title"],[1,"app-crumbs"],[1,"spacer"],["target","_blank","rel","noreferrer","title","Github","href","https://github.com/DeveloperParana/devmx"],["name","github"]],template:function(n,i){n&1&&(x(),o(0,"mat-toolbar",0)(1,"div"),C(2),s(),o(3,"a",1),d(4,"img",2),s(),o(5,"h1",3),v(6),s(),d(7,"devmx-crumbs",4)(8,"span",5),o(9,"a",6),d(10,"devmx-icon",7),s()()),n&2&&(r(6),h(i.title()))},dependencies:[A,$,Ve,y,O],styles:["[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] .layout-navbar[_ngcontent-%COMP%]{display:flex;gap:.4em}[_nghost-%COMP%] .layout-navbar-toggle-menu.cdk-focused[_ngcontent-%COMP%] devmx-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate-center .8s cubic-bezier(.175,.885,.32,1.275) both}[_nghost-%COMP%] .app-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:48px}[_nghost-%COMP%] .app-title[_ngcontent-%COMP%]{font-size:.9em;font-weight:500;opacity:.3;margin:0}@media (max-width: 767px){[_nghost-%COMP%] .app-crumbs[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}@keyframes _ngcontent-%COMP%_rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();var qe="mat-badge-content",nt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(n,i){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}"],encapsulation:2,changeDetection:0})}return e})(),Ue=(()=>{class e{_ngZone=l(J);_elementRef=l(Q);_ariaDescriber=l(be);_renderer=l(ee);_animationMode=l(W,{optional:!0});_idGenerator=l(ye);get color(){return this._color}set color(t){this._setColor(t),this._color=t}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(t){this._updateRenderedContent(t)}_content;get description(){return this._description}set description(t){this._updateDescription(t)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=l(ve);_document=l(de);constructor(){l(H).load(nt),l(H).load(fe)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),t.setAttribute("aria-hidden","true"),t.classList.add(qe),this._animationMode==="NoopAnimations"&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){let n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!t||this._isHostInteractive())&&this._removeInlineDescription(),this._description=t,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,t):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(t){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){let t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${qe}`);for(let n of Array.from(t))n!==this._badgeElement&&n.remove()}static \u0275fac=function(n){return new(n||e)};static \u0275dir=ne({type:e,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,i){n&2&&S("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small",i.size==="small")("mat-badge-medium",i.size==="medium")("mat-badge-large",i.size==="large")("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",I],disabled:[2,"matBadgeDisabled","disabled",I],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",I]},features:[ie]})}return e})(),Ze=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=te({type:e});static \u0275inj=Y({imports:[he,G,G]})}return e})();var at=[[["mat-toolbar"]]],ot=["mat-toolbar"],rt=(e,a)=>a.label,st=(e,a)=>a.route,dt=e=>({disabled:e});function lt(e,a){e&1&&d(0,"devmx-icon",4)}function mt(e,a){e&1&&d(0,"devmx-icon",5)}function ct(e,a){if(e&1&&d(0,"devmx-icon",16),e&2){let t=B().$implicit;g("name",t.icon)}}function pt(e,a){if(e&1&&d(0,"devmx-icon",16),e&2){let t=B(2).$implicit;g("name",t.icon)}}function gt(e,a){if(e&1&&d(0,"devmx-icon",20),e&2){let t=B(2).$implicit;g("name",t.lock)}}function ut(e,a){if(e&1&&(o(0,"a",18),u(1,pt,1,1,"devmx-icon",16),o(2,"span",19),c(3,"async"),v(4),s(),u(5,gt,1,1,"devmx-icon",20),s()),e&2){let t=B().$implicit;g("routerLink",t.route)("disabled",t.disabled)("tabindex",t.disabled?-1:0)("ngClass",re(10,dt,t.disabled)),r(),f(t.icon?1:-1),r(),g("matBadge",p(3,8,t.badge)),r(2),F(" ",t.label," "),r(),f(t.showLock?5:-1)}}function ft(e,a){if(e&1&&u(0,ut,6,12,"a",18),e&2){let t=a.$implicit;f(t.disabled?-1:0)}}function _t(e,a){if(e&1&&(o(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),v(3),s(),o(4,"mat-panel-description"),u(5,ct,1,1,"devmx-icon",16),s()(),o(6,"mat-nav-list",17),z(7,ft,1,1,null,null,st),s()()),e&2){let t=a.$implicit;g("expanded",t.expanded),r(3),h(t.label),r(2),f(t.icon?5:-1),r(2),L(t.links)}}function bt(e,a){e&1&&d(0,"mat-progress-bar",11)}function vt(e,a){e&1&&d(0,"devmx-icon",4)}function ht(e,a){e&1&&d(0,"devmx-icon",5)}var kn=(()=>{class e{destroyRef=l(X);layoutFacade;constructor(){let t=l(se);this.layoutFacade=l(Ne),this.layoutFacade.mobile$.pipe(Fe(),Z(1)).subscribe(()=>t.detectChanges()),this.destroyRef.onDestroy(()=>{this.layoutFacade.destroyListener()})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout"]],ngContentSelectors:ot,decls:33,vars:29,consts:[["snav",""],["enav",""],[1,"layout-container"],["mat-icon-button","",1,"layout-container-toggle-menu",3,"click"],["name","menu/hide"],["name","menu/show"],[1,"layout-sidenav-container",3,"hasBackdrop"],["fixedTopGap","52",1,"layout-sidenav-start",3,"mode","fixedInViewport","opened"],[3,"expanded"],[1,"layout-content"],[1,"layout-progress"],["mode","indeterminate"],[1,"layout-main-wrapper"],[1,"layout-main"],["mode","over","fixedTopGap","56","position","end",1,"layout-sidenav-end",3,"fixedInViewport","opened"],["name","right",3,"activate","deactivate"],["matListItemIcon","",3,"name"],[1,"layout-nav-list"],["mat-list-item","","routerLinkActive","active",3,"routerLink","disabled","tabindex","ngClass"],["matBadgeDescription","before",3,"matBadge"],["matListItemMeta","",3,"name"]],template:function(n,i){if(n&1){let m=ae();x(at),o(0,"div",2),c(1,"async"),o(2,"devmx-layout-navbar")(3,"button",3),T("click",function(){E(m);let _=M(9);return D(_.toggle())}),u(4,lt,1,0,"devmx-icon",4)(5,mt,1,0,"devmx-icon",5),s()(),o(6,"mat-sidenav-container",6),c(7,"async"),o(8,"mat-sidenav",7,0),c(10,"async"),c(11,"async"),c(12,"async"),z(13,_t,9,3,"mat-expansion-panel",8,rt),c(15,"async"),s(),o(16,"mat-sidenav-content",9)(17,"div",10),u(18,bt,1,0,"mat-progress-bar",11),c(19,"async"),s(),C(20),o(21,"div",12)(22,"main",13),d(23,"router-outlet"),s()()(),o(24,"mat-sidenav",14,1),c(26,"async"),c(27,"async"),o(28,"router-outlet",15),T("activate",function(){E(m);let _=M(25);return D(_.open())})("deactivate",function(){E(m);let _=M(25);return D(_.close())}),s()()(),o(29,"devmx-layout-toolbar")(30,"button",3),T("click",function(){E(m);let _=M(9);return D(_.toggle())}),u(31,vt,1,0,"devmx-icon",4)(32,ht,1,0,"devmx-icon",5),s()()()}if(n&2){let m=M(9);S("layout-is-mobile",p(1,11,i.layoutFacade.mobile$)),r(4),f(m.opened?4:5),r(2),g("hasBackdrop",p(7,13,i.layoutFacade.mobile$)),r(2),g("mode",p(10,15,i.layoutFacade.mobile$)?"over":"side")("fixedInViewport",p(11,17,i.layoutFacade.mobile$))("opened",p(12,19,i.layoutFacade.sidenavStart$)),r(5),L(p(15,21,i.layoutFacade.sections$)),r(5),f(p(19,23,i.layoutFacade.loader$)?18:-1),r(6),g("fixedInViewport",p(26,25,i.layoutFacade.mobile$))("opened",p(27,27,i.layoutFacade.sidenavEnd$)),r(7),f(m.opened?31:32)}},dependencies:[le,P,_e,ue,ce,O,ge,R,Pe,Me,Ce,xe,y,Ze,Ue,N,ze,Re,$e,Ae,Ie,Te,Le,Be,Se,ke,Ee,we,je,Ge],styles:['[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;inset:0}[_nghost-%COMP%] .layout-container-toggle-menu.cdk-focused[_ngcontent-%COMP%] devmx-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate-center .8s cubic-bezier(.175,.885,.32,1.275) both}[_nghost-%COMP%] h1.layout-app-name[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] .layout-sidenav-container[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:none}[_nghost-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]) .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] .space-between[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .layout-nav-list[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-right:16px}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-content-toolbar[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-progress[_ngcontent-%COMP%]{padding:0 8px;max-height:2px;min-height:2px;overflow:hidden;position:relative}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-progress[_ngcontent-%COMP%]:after{inset:0;height:2px;content:" ";position:absolute;background-size:100%;background:#fefdfd;background-position:center center;background:linear-gradient(90deg,#fefdfd,#fefdfd00 25% 75%,#fefdfd)}[_nghost-%COMP%] .layout-main-wrapper[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-height:calc(100dvh - 128px);overflow:auto;border-radius:16px;box-sizing:border-box}[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;overflow-y:auto;box-sizing:border-box}@media (pointer: fine){[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent;width:8px}[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px}}@media (max-width: 959.98px){[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{padding-right:8px;padding-left:8px}[_nghost-%COMP%] .layout-main-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 128px)}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{overflow-y:visible;padding:8px}}[_nghost-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%]{width:16em;min-width:12em;padding-left:.4em}[_nghost-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%] .mat-mdc-subheader[_ngcontent-%COMP%]{font-size:1.2em;margin:0 .6em;opacity:.8}[_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]{width:48vw;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;max-height:calc(100dvh - 128px)}[_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]:hover{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding:0 .4em}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-toolbar[_ngcontent-%COMP%]{position:fixed;z-index:2}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-container[_ngcontent-%COMP%]{flex:1 0 auto}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%]{max-height:calc(100dvh - 108px);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]{width:98vw;max-height:calc(100dvh - 114px)}@keyframes _ngcontent-%COMP%_rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}'],changeDetection:0})}return e})();export{kn as a}; +import{b as Le,c as Be,d as ke,e as Se,g as Te}from"./chunk-GXWUGGBK.js";import{a as Oe,b as Ne}from"./chunk-RN4QN3AM.js";import{a as we,b as Ee}from"./chunk-4OXAFH6K.js";import{a as $,b as A}from"./chunk-OQLD3BC6.js";import{a as Ie,b as $e,c as Ae,d as Re}from"./chunk-HEUAONWX.js";import{a as Fe}from"./chunk-366DNJGU.js";import{f as me,h as ce,i as pe,j as O,k as ge,p as ue,r as De,v as ze,x as N}from"./chunk-7RMPQIRR.js";import{c as xe,e as Ce,g as Me,j as Pe,l as R}from"./chunk-UANEMOTZ.js";import{a as y}from"./chunk-E5QACR6S.js";import{D as _e,J as be,M as ve,U as he,V as ye,_ as G,s as H,t as fe}from"./chunk-CG5OOKZO.js";import{$b as z,Ba as X,F as U,Fa as J,Fc as oe,Hc as re,Ia as K,Ja as Q,Jc as c,Kc as p,Mb as ie,Nb as u,Pa as W,Sc as se,Tb as g,Vb as S,Vc as I,Y as Z,Yb as f,Yd as le,ac as L,bc as o,cc as s,dc as d,ed as de,fa as Y,hc as ae,je as P,k as q,ka as l,kc as T,lb as r,mc as B,nc as x,oc as C,sb as ee,ta as E,ua as D,ub as b,vb as te,wb as ne,wc as M,xc as v,yc as h,zc as F}from"./chunk-5L47ZUSK.js";var Xe=["*"];function Je(e,a){e&1&&(o(0,"p",1),d(1,"devmx-icon",6),o(2,"span"),v(3),s()()),e&2&&(r(3),h(a.displayName))}var je=(()=>{class e{toolbar=l(Oe);year=new Date().getFullYear();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout-toolbar"]],ngContentSelectors:Xe,decls:11,vars:4,consts:[[1,"layout-toolbar"],[1,"layout-toolbar-account"],[1,"spacer"],[1,"devpr"],["target","_blank","href","//devpr.org",1,"devpr-link"],["src","devpr.svg","alt","Comunidade DevParan\xE1"],["name","user-circle"]],template:function(n,i){if(n&1&&(x(),o(0,"mat-toolbar",0)(1,"div"),C(2),u(3,Je,4,1,"p",1),c(4,"async"),s(),d(5,"span",2),o(6,"div")(7,"p",3),v(8),s(),o(9,"a",4),d(10,"img",5),s()()()),n&2){let m;r(3),f((m=p(4,2,i.toolbar.auth.auth$))?3:-1,m),r(5),F("DevParan\xE1 \xA9 ",i.year,"")}},dependencies:[A,$,y,R,P],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .layout-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:space-between}[_nghost-%COMP%] .layout-toolbar-account[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:.8em;gap:.6em;padding:0;margin:0}[_nghost-%COMP%] .layout-toolbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:.5em;display:flex;align-items:center}[_nghost-%COMP%] .devpr[_ngcontent-%COMP%]{display:flex;gap:1em;font-size:.68em;margin:0;opacity:.6}[_nghost-%COMP%] .devpr-link[_ngcontent-%COMP%]{height:100%;display:inline-flex;align-items:center;margin-left:.4em;margin-right:.4em}[_nghost-%COMP%] .devpr-link[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px}@media (max-width: 767px){[_nghost-%COMP%] .devpr[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})}return e})();var w=class{router;#e=new q([]);breadcrumbs$=this.#e.asObservable();constructor(a){this.router=a,this.router.events.pipe(U(t=>t instanceof me)).subscribe(()=>{let{root:t}=this.router.routerState.snapshot,n=[];this.#t([],n,t),this.#e.next(n)})}#t(a,t,n){if(n){let i=a.concat(n.url.map(m=>m.path));if("breadcrumb"in n.data){let m=n.data.breadcrumb,_=typeof n.data.breadcrumb=="function"?m(n.data):m;if(t.every(V=>V.text!==_)){let V="/"+i.join("/");t.push({path:V,text:_})}}this.#t(i,t,n.firstChild)}}};var Qe=(e,a)=>a.path;function We(e,a){e&1&&d(0,"devmx-icon",1),e&2&&g("size",16)}function et(e,a){if(e&1&&(o(0,"li")(1,"a",0),v(2),s(),u(3,We,1,1,"devmx-icon",1),s()),e&2){let t=a.$implicit,n=a.$index,i=a.$count;r(),g("routerLink",t.path),r(),h(t.text),r(),f(n!==i-1?3:-1)}}var Ve=(()=>{class e{crumbsService=l(w);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-crumbs"]],decls:4,vars:2,consts:[["mat-button","",1,"crumb",3,"routerLink"],["name","arrow/chevron-right",3,"size"]],template:function(n,i){n&1&&(o(0,"ul"),z(1,et,4,3,"li",null,Qe),c(3,"async"),s()),n&2&&(r(),L(p(3,0,i.crumbsService.breadcrumbs$)))},dependencies:[O,N,De,y,P],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none;display:flex;flex-direction:row}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0}[_nghost-%COMP%] .crumb-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4em} .crumb{display:inline-flex;justify-content:flex-start} .crumb .mdc-button__label{overflow:hidden;max-width:120px;text-overflow:ellipsis;width:fit-content;white-space:nowrap}"]})}return e})();function He(){return{provide:w,deps:[pe]}}var tt=["*"],Ge=(()=>{class e{title=K("devparana . mx");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout-navbar"]],inputs:{title:[1,"title"]},features:[oe([He()])],ngContentSelectors:tt,decls:11,vars:1,consts:[[1,"layout-navbar"],["routerLink","/",1,"app-logo"],["src","devmx.svg","height","48","alt","DevMX"],[1,"app-title"],[1,"app-crumbs"],[1,"spacer"],["target","_blank","rel","noreferrer","title","Github","href","https://github.com/DeveloperParana/devmx"],["name","github"]],template:function(n,i){n&1&&(x(),o(0,"mat-toolbar",0)(1,"div"),C(2),s(),o(3,"a",1),d(4,"img",2),s(),o(5,"h1",3),v(6),s(),d(7,"devmx-crumbs",4)(8,"span",5),o(9,"a",6),d(10,"devmx-icon",7),s()()),n&2&&(r(6),h(i.title()))},dependencies:[A,$,Ve,y,O],styles:["[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] .layout-navbar[_ngcontent-%COMP%]{display:flex;gap:.4em}[_nghost-%COMP%] .layout-navbar-toggle-menu.cdk-focused[_ngcontent-%COMP%] devmx-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate-center .8s cubic-bezier(.175,.885,.32,1.275) both}[_nghost-%COMP%] .app-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:48px}[_nghost-%COMP%] .app-title[_ngcontent-%COMP%]{font-size:.9em;font-weight:500;opacity:.3;margin:0}@media (max-width: 767px){[_nghost-%COMP%] .app-crumbs[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}@keyframes _ngcontent-%COMP%_rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();var qe="mat-badge-content",nt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(n,i){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}"],encapsulation:2,changeDetection:0})}return e})(),Ue=(()=>{class e{_ngZone=l(J);_elementRef=l(Q);_ariaDescriber=l(be);_renderer=l(ee);_animationMode=l(W,{optional:!0});_idGenerator=l(ye);get color(){return this._color}set color(t){this._setColor(t),this._color=t}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(t){this._updateRenderedContent(t)}_content;get description(){return this._description}set description(t){this._updateDescription(t)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=l(ve);_document=l(de);constructor(){l(H).load(nt),l(H).load(fe)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),t.setAttribute("aria-hidden","true"),t.classList.add(qe),this._animationMode==="NoopAnimations"&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){let n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!t||this._isHostInteractive())&&this._removeInlineDescription(),this._description=t,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,t):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(t){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){let t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${qe}`);for(let n of Array.from(t))n!==this._badgeElement&&n.remove()}static \u0275fac=function(n){return new(n||e)};static \u0275dir=ne({type:e,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,i){n&2&&S("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small",i.size==="small")("mat-badge-medium",i.size==="medium")("mat-badge-large",i.size==="large")("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",I],disabled:[2,"matBadgeDisabled","disabled",I],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",I]},features:[ie]})}return e})(),Ze=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=te({type:e});static \u0275inj=Y({imports:[he,G,G]})}return e})();var at=[[["mat-toolbar"]]],ot=["mat-toolbar"],rt=(e,a)=>a.label,st=(e,a)=>a.route,dt=e=>({disabled:e});function lt(e,a){e&1&&d(0,"devmx-icon",4)}function mt(e,a){e&1&&d(0,"devmx-icon",5)}function ct(e,a){if(e&1&&d(0,"devmx-icon",16),e&2){let t=B().$implicit;g("name",t.icon)}}function pt(e,a){if(e&1&&d(0,"devmx-icon",16),e&2){let t=B(2).$implicit;g("name",t.icon)}}function gt(e,a){if(e&1&&d(0,"devmx-icon",20),e&2){let t=B(2).$implicit;g("name",t.lock)}}function ut(e,a){if(e&1&&(o(0,"a",18),u(1,pt,1,1,"devmx-icon",16),o(2,"span",19),c(3,"async"),v(4),s(),u(5,gt,1,1,"devmx-icon",20),s()),e&2){let t=B().$implicit;g("routerLink",t.route)("disabled",t.disabled)("tabindex",t.disabled?-1:0)("ngClass",re(10,dt,t.disabled)),r(),f(t.icon?1:-1),r(),g("matBadge",p(3,8,t.badge)),r(2),F(" ",t.label," "),r(),f(t.showLock?5:-1)}}function ft(e,a){if(e&1&&u(0,ut,6,12,"a",18),e&2){let t=a.$implicit;f(t.disabled?-1:0)}}function _t(e,a){if(e&1&&(o(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),v(3),s(),o(4,"mat-panel-description"),u(5,ct,1,1,"devmx-icon",16),s()(),o(6,"mat-nav-list",17),z(7,ft,1,1,null,null,st),s()()),e&2){let t=a.$implicit;g("expanded",t.expanded),r(3),h(t.label),r(2),f(t.icon?5:-1),r(2),L(t.links)}}function bt(e,a){e&1&&d(0,"mat-progress-bar",11)}function vt(e,a){e&1&&d(0,"devmx-icon",4)}function ht(e,a){e&1&&d(0,"devmx-icon",5)}var kn=(()=>{class e{destroyRef=l(X);layoutFacade;constructor(){let t=l(se);this.layoutFacade=l(Ne),this.layoutFacade.mobile$.pipe(Fe(),Z(1)).subscribe(()=>t.detectChanges()),this.destroyRef.onDestroy(()=>{this.layoutFacade.destroyListener()})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=b({type:e,selectors:[["devmx-layout"]],ngContentSelectors:ot,decls:33,vars:29,consts:[["snav",""],["enav",""],[1,"layout-container"],["mat-icon-button","",1,"layout-container-toggle-menu",3,"click"],["name","menu/hide"],["name","menu/show"],[1,"layout-sidenav-container",3,"hasBackdrop"],["fixedTopGap","52",1,"layout-sidenav-start",3,"mode","fixedInViewport","opened"],[3,"expanded"],[1,"layout-content"],[1,"layout-progress"],["mode","indeterminate"],[1,"layout-main-wrapper"],[1,"layout-main"],["mode","over","fixedTopGap","56","position","end",1,"layout-sidenav-end",3,"fixedInViewport","opened"],["name","right",3,"activate","deactivate"],["matListItemIcon","",3,"name"],[1,"layout-nav-list"],["mat-list-item","","routerLinkActive","active",3,"routerLink","disabled","tabindex","ngClass"],["matBadgeDescription","before",3,"matBadge"],["matListItemMeta","",3,"name"]],template:function(n,i){if(n&1){let m=ae();x(at),o(0,"div",2),c(1,"async"),o(2,"devmx-layout-navbar")(3,"button",3),T("click",function(){E(m);let _=M(9);return D(_.toggle())}),u(4,lt,1,0,"devmx-icon",4)(5,mt,1,0,"devmx-icon",5),s()(),o(6,"mat-sidenav-container",6),c(7,"async"),o(8,"mat-sidenav",7,0),c(10,"async"),c(11,"async"),c(12,"async"),z(13,_t,9,3,"mat-expansion-panel",8,rt),c(15,"async"),s(),o(16,"mat-sidenav-content",9)(17,"div",10),u(18,bt,1,0,"mat-progress-bar",11),c(19,"async"),s(),C(20),o(21,"div",12)(22,"main",13),d(23,"router-outlet"),s()()(),o(24,"mat-sidenav",14,1),c(26,"async"),c(27,"async"),o(28,"router-outlet",15),T("activate",function(){E(m);let _=M(25);return D(_.open())})("deactivate",function(){E(m);let _=M(25);return D(_.close())}),s()()(),o(29,"devmx-layout-toolbar")(30,"button",3),T("click",function(){E(m);let _=M(9);return D(_.toggle())}),u(31,vt,1,0,"devmx-icon",4)(32,ht,1,0,"devmx-icon",5),s()()()}if(n&2){let m=M(9);S("layout-is-mobile",p(1,11,i.layoutFacade.mobile$)),r(4),f(m.opened?4:5),r(2),g("hasBackdrop",p(7,13,i.layoutFacade.mobile$)),r(2),g("mode",p(10,15,i.layoutFacade.mobile$)?"over":"side")("fixedInViewport",p(11,17,i.layoutFacade.mobile$))("opened",p(12,19,i.layoutFacade.sidenavStart$)),r(5),L(p(15,21,i.layoutFacade.sections$)),r(5),f(p(19,23,i.layoutFacade.loader$)?18:-1),r(6),g("fixedInViewport",p(26,25,i.layoutFacade.mobile$))("opened",p(27,27,i.layoutFacade.sidenavEnd$)),r(7),f(m.opened?31:32)}},dependencies:[le,P,_e,ue,ce,O,ge,R,Pe,Me,Ce,xe,y,Ze,Ue,N,ze,Re,$e,Ae,Ie,Te,Le,Be,Se,ke,Ee,we,je,Ge],styles:['[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;inset:0}[_nghost-%COMP%] .layout-container-toggle-menu.cdk-focused[_ngcontent-%COMP%] devmx-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate-center .8s cubic-bezier(.175,.885,.32,1.275) both}[_nghost-%COMP%] h1.layout-app-name[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] .layout-sidenav-container[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:none}[_nghost-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]) .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] .space-between[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .layout-nav-list[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-right:16px}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-content-toolbar[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-progress[_ngcontent-%COMP%]{padding:0 8px;max-height:2px;min-height:2px;overflow:hidden;position:relative}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%] .layout-progress[_ngcontent-%COMP%]:after{inset:0;height:2px;content:" ";position:absolute;background-size:100%;background:#fefdfd;background-position:center center;background:linear-gradient(90deg,#fefdfd,#fefdfd00 25% 75%,#fefdfd)}[_nghost-%COMP%] .layout-main-wrapper[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-height:calc(100dvh - 128px);overflow:auto;border-radius:16px;box-sizing:border-box}[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;overflow-y:auto;box-sizing:border-box}@media (pointer: fine){[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent;width:8px}[_nghost-%COMP%] .layout-main[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px}}@media (max-width: 959.98px){[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{padding-right:8px;padding-left:8px}[_nghost-%COMP%] .layout-main-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 128px)}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{overflow-y:visible;padding:8px}}[_nghost-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%]{width:16em;min-width:12em;padding-left:.4em}[_nghost-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%] .mat-mdc-subheader[_ngcontent-%COMP%]{font-size:1.2em;margin:0 .6em;opacity:.8}[_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]{width:48vw;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;max-height:calc(100dvh - 128px)}[_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]:hover{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}[_nghost-%COMP%] .layout-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding:0 .4em}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-toolbar[_ngcontent-%COMP%]{position:fixed;z-index:2}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-container[_ngcontent-%COMP%]{flex:1 0 auto}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-start[_ngcontent-%COMP%]{max-height:calc(100dvh - 108px);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .layout-is-mobile[_ngcontent-%COMP%] .layout-sidenav-end[_ngcontent-%COMP%]{width:98vw;max-height:calc(100dvh - 114px)}@keyframes _ngcontent-%COMP%_rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}'],changeDetection:0})}return e})();export{kn as a}; diff --git a/chunk-34JIMYEM.js b/chunk-34JIMYEM.js new file mode 100644 index 00000000..8ab07532 --- /dev/null +++ b/chunk-34JIMYEM.js @@ -0,0 +1 @@ +import{k as n}from"./chunk-7BKB7KKA.js";function m(a){return n(e=>{let o=new Image;o.onload=()=>e(o),o.src=a})}export{m as a}; diff --git a/chunk-366DNJGU.js b/chunk-366DNJGU.js new file mode 100644 index 00000000..0d79df80 --- /dev/null +++ b/chunk-366DNJGU.js @@ -0,0 +1 @@ +import{$ as r,Ba as u,g as n,ka as o,ra as s}from"./chunk-5L47ZUSK.js";function i(t){t||(s(i),t=o(u));let c=new n(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(r(c))}export{i as a}; diff --git a/chunk-DAURILCW.js b/chunk-37XQ32LA.js similarity index 97% rename from chunk-DAURILCW.js rename to chunk-37XQ32LA.js index 5c54edb9..465d257d 100644 --- a/chunk-DAURILCW.js +++ b/chunk-37XQ32LA.js @@ -1 +1 @@ -import{c as ae,d as oe,e as ne,f as ie,g as re,h as le}from"./chunk-O3T3UZHL.js";import{c as K,e as X,f as tt}from"./chunk-HGOTYYGI.js";import{c as zt,e as Ut,i as Ht,j as jt}from"./chunk-AND6K73U.js";import{a as Xt}from"./chunk-A3N3AUUJ.js";import{j as Pt}from"./chunk-6BGAZ7SQ.js";import{a as q,b as Kt,e as W,f as Y,g as Z,l as J}from"./chunk-PAP2P7QR.js";import{a as et,b as at,e as te,f as ot,g as ee,i as nt}from"./chunk-EC6LD5KM.js";import{a as U,b as $t,c as H,e as ft,g as qt,h as j,i as Wt,j as Q,l as E,o as Yt,p as Zt,s as Jt,x as $}from"./chunk-EDIJ2EBQ.js";import{Q as Bt,T as bt,U as Gt,Y as ht,aa as Rt,ca as Lt,ga as Vt,ha as At,ia as Nt,q as Ot,xa as Qt}from"./chunk-W5KNOAKV.js";import{$b as k,Aa as kt,Ea as F,Fc as A,Ha as y,Hc as D,Ia as P,Ja as O,Jc as S,Kb as Et,Kc as mt,Lc as N,Mb as dt,Nb as C,Sb as G,Sc as pt,Tb as u,Vb as ct,Vc as b,Yb as _,ac as M,bc as n,cc as r,da as _t,dc as m,fa as yt,gb as Mt,ha as st,hc as wt,ka as p,kc as v,lb as l,mb as B,mc as T,nc as R,oc as L,pc as Dt,pe as z,qc as Ft,rc as ut,sb as Tt,sc as gt,ta as Ct,ua as xt,ub as g,vb as It,wb as St,wc as V,xb as f,xc as s,yc as x,zc as I}from"./chunk-TEKHUYWQ.js";var it=class extends Q{constructor(){super({start:new E,end:new E})}};function pe(e,c){e&1&&s(0," Data inicial ")}function be(e,c){e&1&&s(0," Data final ")}var Ke=(()=>{class e{rangeChange=y();form=new it;constructor(){this.form.valueChanges.pipe(Xt()).subscribe(t=>{t.start instanceof Date&&t.end instanceof Date&&this.rangeChange.emit(this.form.getRawValue())})}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-date-range"]],outputs:{rangeChange:"rangeChange"},features:[A([Rt()])],decls:11,vars:5,consts:[["picker",""],[3,"formGroup","rangePicker"],["matStartDate","","formControlName","start","placeholder","Data inicial"],["matEndDate","","formControlName","end","placeholder","Data final"],["matIconSuffix","",3,"for"]],template:function(a,o){if(a&1&&(n(0,"mat-form-field")(1,"mat-date-range-input",1),m(2,"input",2)(3,"input",3),r(),m(4,"mat-datepicker-toggle",4)(5,"mat-date-range-picker",null,0),n(7,"mat-error"),C(8,pe,1,0)(9,be,1,0),s(10," inv\xE1lida "),r()()),a&2){let i=V(6);l(),u("formGroup",o.form)("rangePicker",i),l(3),u("for",i),l(4),_(o.form.controls.start.hasError("matStartDateInvalid")?8:-1),l(),_(o.form.controls.end.hasError("matEndDateInvalid")?9:-1)}},dependencies:[$,H,j,Wt,Zt,Jt,jt,Ht,zt,Ut,le,ae,ie,oe,ne,re],encapsulation:2,changeDetection:0})}return e})();var ve=(e,c)=>c.id,_e=e=>[e],ye=e=>({right:e}),Ce=e=>({outlets:e}),xe=e=>["/","eventos",e];function ke(e,c){if(e&1&&(n(0,"a",1),m(1,"devmx-icon",2),n(2,"div",3),s(3),r(),n(4,"div",4),s(5),S(6,"date"),r()()),e&2){let t=c.$implicit;u("routerLink",D(12,xe,D(10,Ce,D(8,ye,D(6,_e,t.id))))),l(3),x(t.title),l(2),x(N(6,3,t.date,"longDate"))}}var sa=(()=>{class e{data=P([]);static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"events-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","calendar"],["matListItemTitle",""],["matListItemLine",""]],template:function(a,o){a&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),s(3,"Eventos"),r()(),n(4,"mat-list"),k(5,ke,7,14,"a",1,ve),r()()),a&2&&(l(5),M(o.data()))},dependencies:[nt,et,ot,at,J,Y,Z,W,Kt,q,U,z,Pt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var Te=(e,c)=>c.value;function Ie(e,c){if(e&1&&(n(0,"mat-chip-option",1),s(1),r()),e&2){let t=c.$implicit;u("value",t.value),l(),I(" ",t.viewValue," ")}}var pa=(()=>{class e{filterChange=y();formats=[{value:"in-person",viewValue:"Presencial"},{value:"online",viewValue:"Online"},{value:"mixed",viewValue:"H\xEDbrido"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(a,o){a&1&&(n(0,"mat-chip-listbox",0),v("change",function(d){return o.filterChange.emit(d.value)}),k(1,Ie,2,2,"mat-chip-option",1,Te),r()),a&2&&(l(),M(o.formats))},dependencies:[tt,X,K],encapsulation:2,changeDetection:0})}return e})();var Se=["button"],Ee=["*"];function we(e,c){if(e&1&&m(0,"mat-pseudo-checkbox",3),e&2){let t=T();u("disabled",t.disabled)}}function De(e,c){if(e&1&&m(0,"mat-pseudo-checkbox",3),e&2){let t=T();u("disabled",t.disabled)}}var se=new st("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Fe});function Fe(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var de=new st("MatButtonToggleGroup"),Pe={provide:$t,useExisting:_t(()=>vt),multi:!0},rt=class{source;value;constructor(c,t){this.source=c,this.value=t}},vt=(()=>{class e{_changeDetector=p(pt);_dir=p(Gt,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}_name=p(bt).getId("mat-button-toggle-group-");vertical;get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(a=>a.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}valueChange=new F;get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}change=new F;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){let t=p(se,{optional:!0});this.appearance=t&&t.appearance?t.appearance:"standard",this.hideSingleSelectionIndicator=t?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=t?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new Qt(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let o=t.target.id,i=this._buttonToggles.toArray().findIndex(w=>w.buttonId===o),d=null;switch(t.keyCode){case 32:case 13:d=this._buttonToggles.get(i)||null;break;case 38:d=this._getNextButton(i,-1);break;case 37:d=this._getNextButton(i,this.dir==="ltr"?-1:1);break;case 40:d=this._getNextButton(i,1);break;case 39:d=this._getNextButton(i,this.dir==="ltr"?1:-1);break;default:return}d&&(t.preventDefault(),d._onButtonClick(),d.focus())}_emitChangeEvent(t){let a=new rt(t,this.value);this._rawValue=a.value,this._controlValueAccessorChangeFn(a.value),this.change.emit(a)}_syncButtonToggle(t,a,o=!1,i=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?a?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve().then(()=>this._updateModelValue(t,o)):this._updateModelValue(t,o)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(a=>t.value!=null&&a===t.value):t.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;tthis._selectValue(a))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let a=this._buttonToggles.find(o=>o.value!=null&&o.value===t);a&&(a.checked=!0,this._selectionModel.select(a),this.multiple||(a.tabIndex=0))}_updateModelValue(t,a){a&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}static \u0275fac=function(a){return new(a||e)};static \u0275dir=St({type:e,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,o,i){if(a&1&&Dt(i,lt,5),a&2){let d;ut(d=gt())&&(o._buttonToggles=d)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(a,o){a&1&&v("keydown",function(d){return o._keydown(d)}),a&2&&(G("role",o.multiple?"group":"radiogroup")("aria-disabled",o.disabled),ct("mat-button-toggle-vertical",o.vertical)("mat-button-toggle-group-appearance-standard",o.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",b],value:"value",multiple:[2,"multiple","multiple",b],disabled:[2,"disabled","disabled",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",b],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",b]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[A([Pe,{provide:de,useExisting:e}]),dt]})}return e})(),lt=(()=>{class e{_changeDetectorRef=p(pt);_elementRef=p(O);_focusMonitor=p(Bt);_idGenerator=p(bt);_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t}_disabledInteractive;change=new F;constructor(){p(Ot).load(Lt);let t=p(de,{optional:!0}),a=p(new kt("tabindex"),{optional:!0}),o=p(se,{optional:!0}),i=Number(a);this.tabIndex=i||i===0?i:null,this.buttonToggleGroup=t,this.appearance=o&&o.appearance?o.appearance:"standard",this.disabledInteractive=o?.disabledInteractive??!1}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){if(this.disabled)return;let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let a=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);a&&(a.tabIndex=-1),this.tabIndex=0}this.change.emit(new rt(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(a,o){if(a&1&&Ft(Se,5),a&2){let i;ut(i=gt())&&(o._buttonElement=i.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(a,o){a&1&&v("focus",function(){return o.focus()}),a&2&&(G("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),ct("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",b],appearance:"appearance",checked:[2,"checked","checked",b],disabled:[2,"disabled","disabled",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b]},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[dt],ngContentSelectors:Ee,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,o){if(a&1){let i=wt();R(),n(0,"button",1,0),v("click",function(){return Ct(i),xt(o._onButtonClick())}),n(2,"span",2),C(3,we,1,1,"mat-pseudo-checkbox",3)(4,De,1,1,"mat-pseudo-checkbox",3),L(5),r()(),m(6,"span",4)(7,"span",5)}if(a&2){let i=V(1);u("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),G("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),l(3),_(o.buttonToggleGroup&&o.checked&&!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),l(),_(o.buttonToggleGroup&&o.checked&&o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),l(3),u("matRippleTrigger",i)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[Vt,Nt],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-standard-button-toggle-background-color, transparent);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}"],encapsulation:2,changeDetection:0})}return e})(),ce=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275mod=It({type:e});static \u0275inj=yt({imports:[ht,At,lt,ht]})}return e})();var Wa=(()=>{class e extends H{ngControl;statusChange=y();get control(){return this.ngControl.control}constructor(t,a,o){super(t,a,!0),this.ngControl=o,this.ngControl.valueAccessor=this}static \u0275fac=function(a){return new(a||e)(B(Tt),B(O),B(qt,10))};static \u0275cmp=g({type:e,selectors:[["devmx-rsvp-button"]],outputs:{statusChange:"statusChange"},features:[Et],decls:7,vars:1,consts:[["aria-label","Presen\xE7a",1,"button-group",3,"change","formControl"],["value","confirmed"],["value","declined"],["value","maybe"]],template:function(a,o){a&1&&(n(0,"mat-button-toggle-group",0),v("change",function(){return o.statusChange.emit()}),n(1,"mat-button-toggle",1),s(2,"Vou!"),r(),n(3,"mat-button-toggle",2),s(4,"N\xE3o vou"),r(),n(5,"mat-button-toggle",3),s(6,"Talvez"),r()()),a&2&&u("formControl",o.control)},dependencies:[$,j,Yt,ce,vt,lt],encapsulation:2,changeDetection:0})}return e})();var ue=(()=>{class e{transform(t){switch(t){case"in-person":return"Presencial";case"online":return"Online";case"mixed":return"H\xEDbrido"}}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"eventFormat",type:e,pure:!0})}return e})();var Ja=(()=>{class e{transform(t,a){return t.find(o=>o.user.id===a)??null}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"findInRSVP",type:e,pure:!0})}return e})();var Xa=(()=>{class e{transform(t,a){return t.filter(o=>o.status===a)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"rsvpByStatus",type:e,pure:!0})}return e})();var eo=(()=>{class e{transform(t){return["in-person","mixed"].includes(t)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"showEventAddress",type:e,pure:!0})}return e})();var oo=(()=>{class e{transform(t){return["online","mixed"].includes(t)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"showEventLink",type:e,pure:!0})}return e})();var Be=["*"];function Ge(e,c){if(e&1&&m(0,"img",1),e&2){let t=T();u("src",t.event.cover,Mt)("alt",t.event.title)}}function Re(e,c){if(e&1&&(n(0,"mat-list-item"),m(1,"devmx-icon",3),n(2,"div",4),s(3),S(4,"eventFormat"),r()(),n(5,"mat-list-item"),m(6,"devmx-icon",5),n(7,"div",4),s(8),S(9,"date"),r()(),n(10,"mat-list-item"),m(11,"devmx-icon",6),n(12,"div",4),s(13),S(14,"date"),r()()),e&2){let t=T();l(3),x(mt(4,3,t.event.format)),l(5),I("",N(9,5,t.event.date,"shortTime"),"h"),l(5),x(mt(14,8,t.event.date))}}var po=(()=>{class e{data=P.required();get event(){return this.data()}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-card"]],inputs:{data:[1,"data"]},ngContentSelectors:Be,decls:9,vars:3,consts:[[1,"event-card"],["mat-card-image","",3,"src","alt"],["align","end",1,"event-card-actions"],["matListItemIcon","","name","transport/flag-pin"],["matListItemTitle",""],["matListItemIcon","","name","alarm-clock-alert"],["matListItemIcon","","name","calendar"]],template:function(a,o){a&1&&(R(),n(0,"mat-card",0),C(1,Ge,1,2,"img",1),n(2,"mat-card-header")(3,"mat-card-title"),s(4),r()(),n(5,"mat-list"),C(6,Re,15,10),r(),n(7,"mat-card-actions",2),L(8),r()()),a&2&&(l(),_(o.event.cover?1:-1),l(3),x(o.event.title),l(2),_(o.event.date?6:-1))},dependencies:[nt,et,te,ot,ee,at,J,Y,Z,W,q,ue,U,z],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;max-width:100%}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] .event-address[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%]{max-width:calc(100% - 4em)}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%]{padding-bottom:1em}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{gap:.4em;display:flex;line-height:1;align-items:center}[_nghost-%COMP%] .event-card-content[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .event-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .event-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var Le=(e,c)=>c.value;function Ve(e,c){if(e&1&&(n(0,"mat-chip-option",1),s(1),r()),e&2){let t=c.$implicit;u("value",t.value),l(),I(" ",t.viewValue," ")}}var yo=(()=>{class e{timeChange=y();times=[{value:"",viewValue:"Chegando"},{value:"until",viewValue:"Passados"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-time"]],outputs:{timeChange:"timeChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(a,o){a&1&&(n(0,"mat-chip-listbox",0),v("change",function(d){return o.timeChange.emit(d.value)}),k(1,Ve,2,2,"mat-chip-option",1,Le),r()),a&2&&(l(),M(o.times))},dependencies:[tt,X,K],encapsulation:2,changeDetection:0})}return e})();var ge=class extends Q{constructor(){super({event:new E("",{nonNullable:!0,validators:[ft.required]}),status:new E("",{nonNullable:!0,validators:[ft.required]})})}};export{it as a,Ke as b,sa as c,pa as d,Wa as e,ue as f,Ja as g,Xa as h,eo as i,oo as j,po as k,yo as l,ge as m}; +import{c as ae,d as oe,e as ne,f as ie,g as re,h as le}from"./chunk-J4P2XXRU.js";import{c as K,e as X,f as tt}from"./chunk-46FZR7EY.js";import{c as zt,e as Ut,i as Ht,j as jt}from"./chunk-TJJFEYFG.js";import{a as Xt}from"./chunk-366DNJGU.js";import{j as Pt}from"./chunk-7RMPQIRR.js";import{a as q,b as Kt,e as W,f as Y,g as Z,l as J}from"./chunk-UANEMOTZ.js";import{a as et,b as at,e as te,f as ot,g as ee,i as nt}from"./chunk-BJ2ND26O.js";import{a as U,b as $t,c as H,e as ft,g as qt,h as j,i as Wt,j as Q,l as E,o as Yt,p as Zt,s as Jt,x as $}from"./chunk-E5QACR6S.js";import{S as Bt,V as bt,W as Gt,_ as ht,ca as Rt,ea as Lt,ia as Vt,ja as At,ka as Nt,s as Ot,za as Qt}from"./chunk-CG5OOKZO.js";import{$b as k,Aa as kt,Ea as F,Fc as A,Ha as y,Hc as D,Ia as P,Ja as O,Jc as S,Kb as Et,Kc as mt,Lc as N,Mb as dt,Nb as C,Sb as G,Sc as pt,Tb as u,Vb as ct,Vc as b,Yb as _,ac as M,bc as n,cc as r,da as _t,dc as m,fa as yt,gb as Mt,ha as st,hc as wt,ka as p,kc as v,lb as l,mb as B,mc as T,nc as R,oc as L,pc as Dt,pe as z,qc as Ft,rc as ut,sb as Tt,sc as gt,ta as Ct,ua as xt,ub as g,vb as It,wb as St,wc as V,xb as f,xc as s,yc as x,zc as I}from"./chunk-5L47ZUSK.js";var it=class extends Q{constructor(){super({start:new E,end:new E})}};function pe(e,c){e&1&&s(0," Data inicial ")}function be(e,c){e&1&&s(0," Data final ")}var Ke=(()=>{class e{rangeChange=y();form=new it;constructor(){this.form.valueChanges.pipe(Xt()).subscribe(t=>{t.start instanceof Date&&t.end instanceof Date&&this.rangeChange.emit(this.form.getRawValue())})}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-date-range"]],outputs:{rangeChange:"rangeChange"},features:[A([Rt()])],decls:11,vars:5,consts:[["picker",""],[3,"formGroup","rangePicker"],["matStartDate","","formControlName","start","placeholder","Data inicial"],["matEndDate","","formControlName","end","placeholder","Data final"],["matIconSuffix","",3,"for"]],template:function(a,o){if(a&1&&(n(0,"mat-form-field")(1,"mat-date-range-input",1),m(2,"input",2)(3,"input",3),r(),m(4,"mat-datepicker-toggle",4)(5,"mat-date-range-picker",null,0),n(7,"mat-error"),C(8,pe,1,0)(9,be,1,0),s(10," inv\xE1lida "),r()()),a&2){let i=V(6);l(),u("formGroup",o.form)("rangePicker",i),l(3),u("for",i),l(4),_(o.form.controls.start.hasError("matStartDateInvalid")?8:-1),l(),_(o.form.controls.end.hasError("matEndDateInvalid")?9:-1)}},dependencies:[$,H,j,Wt,Zt,Jt,jt,Ht,zt,Ut,le,ae,ie,oe,ne,re],encapsulation:2,changeDetection:0})}return e})();var ve=(e,c)=>c.id,_e=e=>[e],ye=e=>({right:e}),Ce=e=>({outlets:e}),xe=e=>["/","eventos",e];function ke(e,c){if(e&1&&(n(0,"a",1),m(1,"devmx-icon",2),n(2,"div",3),s(3),r(),n(4,"div",4),s(5),S(6,"date"),r()()),e&2){let t=c.$implicit;u("routerLink",D(12,xe,D(10,Ce,D(8,ye,D(6,_e,t.id))))),l(3),x(t.title),l(2),x(N(6,3,t.date,"longDate"))}}var sa=(()=>{class e{data=P([]);static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"events-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","calendar"],["matListItemTitle",""],["matListItemLine",""]],template:function(a,o){a&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),s(3,"Eventos"),r()(),n(4,"mat-list"),k(5,ke,7,14,"a",1,ve),r()()),a&2&&(l(5),M(o.data()))},dependencies:[nt,et,ot,at,J,Y,Z,W,Kt,q,U,z,Pt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var Te=(e,c)=>c.value;function Ie(e,c){if(e&1&&(n(0,"mat-chip-option",1),s(1),r()),e&2){let t=c.$implicit;u("value",t.value),l(),I(" ",t.viewValue," ")}}var pa=(()=>{class e{filterChange=y();formats=[{value:"in-person",viewValue:"Presencial"},{value:"online",viewValue:"Online"},{value:"mixed",viewValue:"H\xEDbrido"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(a,o){a&1&&(n(0,"mat-chip-listbox",0),v("change",function(d){return o.filterChange.emit(d.value)}),k(1,Ie,2,2,"mat-chip-option",1,Te),r()),a&2&&(l(),M(o.formats))},dependencies:[tt,X,K],encapsulation:2,changeDetection:0})}return e})();var Se=["button"],Ee=["*"];function we(e,c){if(e&1&&m(0,"mat-pseudo-checkbox",3),e&2){let t=T();u("disabled",t.disabled)}}function De(e,c){if(e&1&&m(0,"mat-pseudo-checkbox",3),e&2){let t=T();u("disabled",t.disabled)}}var se=new st("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Fe});function Fe(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var de=new st("MatButtonToggleGroup"),Pe={provide:$t,useExisting:_t(()=>vt),multi:!0},rt=class{source;value;constructor(c,t){this.source=c,this.value=t}},vt=(()=>{class e{_changeDetector=p(pt);_dir=p(Gt,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}_name=p(bt).getId("mat-button-toggle-group-");vertical;get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(a=>a.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}valueChange=new F;get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}change=new F;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){let t=p(se,{optional:!0});this.appearance=t&&t.appearance?t.appearance:"standard",this.hideSingleSelectionIndicator=t?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=t?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new Qt(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let o=t.target.id,i=this._buttonToggles.toArray().findIndex(w=>w.buttonId===o),d=null;switch(t.keyCode){case 32:case 13:d=this._buttonToggles.get(i)||null;break;case 38:d=this._getNextButton(i,-1);break;case 37:d=this._getNextButton(i,this.dir==="ltr"?-1:1);break;case 40:d=this._getNextButton(i,1);break;case 39:d=this._getNextButton(i,this.dir==="ltr"?1:-1);break;default:return}d&&(t.preventDefault(),d._onButtonClick(),d.focus())}_emitChangeEvent(t){let a=new rt(t,this.value);this._rawValue=a.value,this._controlValueAccessorChangeFn(a.value),this.change.emit(a)}_syncButtonToggle(t,a,o=!1,i=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?a?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve().then(()=>this._updateModelValue(t,o)):this._updateModelValue(t,o)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(a=>t.value!=null&&a===t.value):t.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;tthis._selectValue(a))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let a=this._buttonToggles.find(o=>o.value!=null&&o.value===t);a&&(a.checked=!0,this._selectionModel.select(a),this.multiple||(a.tabIndex=0))}_updateModelValue(t,a){a&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}static \u0275fac=function(a){return new(a||e)};static \u0275dir=St({type:e,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,o,i){if(a&1&&Dt(i,lt,5),a&2){let d;ut(d=gt())&&(o._buttonToggles=d)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(a,o){a&1&&v("keydown",function(d){return o._keydown(d)}),a&2&&(G("role",o.multiple?"group":"radiogroup")("aria-disabled",o.disabled),ct("mat-button-toggle-vertical",o.vertical)("mat-button-toggle-group-appearance-standard",o.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",b],value:"value",multiple:[2,"multiple","multiple",b],disabled:[2,"disabled","disabled",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",b],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",b]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[A([Pe,{provide:de,useExisting:e}]),dt]})}return e})(),lt=(()=>{class e{_changeDetectorRef=p(pt);_elementRef=p(O);_focusMonitor=p(Bt);_idGenerator=p(bt);_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t}_disabledInteractive;change=new F;constructor(){p(Ot).load(Lt);let t=p(de,{optional:!0}),a=p(new kt("tabindex"),{optional:!0}),o=p(se,{optional:!0}),i=Number(a);this.tabIndex=i||i===0?i:null,this.buttonToggleGroup=t,this.appearance=o&&o.appearance?o.appearance:"standard",this.disabledInteractive=o?.disabledInteractive??!1}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){if(this.disabled)return;let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let a=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);a&&(a.tabIndex=-1),this.tabIndex=0}this.change.emit(new rt(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(a,o){if(a&1&&Ft(Se,5),a&2){let i;ut(i=gt())&&(o._buttonElement=i.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(a,o){a&1&&v("focus",function(){return o.focus()}),a&2&&(G("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),ct("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",b],appearance:"appearance",checked:[2,"checked","checked",b],disabled:[2,"disabled","disabled",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b]},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[dt],ngContentSelectors:Ee,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,o){if(a&1){let i=wt();R(),n(0,"button",1,0),v("click",function(){return Ct(i),xt(o._onButtonClick())}),n(2,"span",2),C(3,we,1,1,"mat-pseudo-checkbox",3)(4,De,1,1,"mat-pseudo-checkbox",3),L(5),r()(),m(6,"span",4)(7,"span",5)}if(a&2){let i=V(1);u("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),G("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),l(3),_(o.buttonToggleGroup&&o.checked&&!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),l(),_(o.buttonToggleGroup&&o.checked&&o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),l(3),u("matRippleTrigger",i)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[Vt,Nt],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-standard-button-toggle-background-color, transparent);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}"],encapsulation:2,changeDetection:0})}return e})(),ce=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275mod=It({type:e});static \u0275inj=yt({imports:[ht,At,lt,ht]})}return e})();var Wa=(()=>{class e extends H{ngControl;statusChange=y();get control(){return this.ngControl.control}constructor(t,a,o){super(t,a,!0),this.ngControl=o,this.ngControl.valueAccessor=this}static \u0275fac=function(a){return new(a||e)(B(Tt),B(O),B(qt,10))};static \u0275cmp=g({type:e,selectors:[["devmx-rsvp-button"]],outputs:{statusChange:"statusChange"},features:[Et],decls:7,vars:1,consts:[["aria-label","Presen\xE7a",1,"button-group",3,"change","formControl"],["value","confirmed"],["value","declined"],["value","maybe"]],template:function(a,o){a&1&&(n(0,"mat-button-toggle-group",0),v("change",function(){return o.statusChange.emit()}),n(1,"mat-button-toggle",1),s(2,"Vou!"),r(),n(3,"mat-button-toggle",2),s(4,"N\xE3o vou"),r(),n(5,"mat-button-toggle",3),s(6,"Talvez"),r()()),a&2&&u("formControl",o.control)},dependencies:[$,j,Yt,ce,vt,lt],encapsulation:2,changeDetection:0})}return e})();var ue=(()=>{class e{transform(t){switch(t){case"in-person":return"Presencial";case"online":return"Online";case"mixed":return"H\xEDbrido"}}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"eventFormat",type:e,pure:!0})}return e})();var Ja=(()=>{class e{transform(t,a){return t.find(o=>o.user.id===a)??null}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"findInRSVP",type:e,pure:!0})}return e})();var Xa=(()=>{class e{transform(t,a){return t.filter(o=>o.status===a)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"rsvpByStatus",type:e,pure:!0})}return e})();var eo=(()=>{class e{transform(t){return["in-person","mixed"].includes(t)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"showEventAddress",type:e,pure:!0})}return e})();var oo=(()=>{class e{transform(t){return["online","mixed"].includes(t)}static \u0275fac=function(a){return new(a||e)};static \u0275pipe=f({name:"showEventLink",type:e,pure:!0})}return e})();var Be=["*"];function Ge(e,c){if(e&1&&m(0,"img",1),e&2){let t=T();u("src",t.event.cover,Mt)("alt",t.event.title)}}function Re(e,c){if(e&1&&(n(0,"mat-list-item"),m(1,"devmx-icon",3),n(2,"div",4),s(3),S(4,"eventFormat"),r()(),n(5,"mat-list-item"),m(6,"devmx-icon",5),n(7,"div",4),s(8),S(9,"date"),r()(),n(10,"mat-list-item"),m(11,"devmx-icon",6),n(12,"div",4),s(13),S(14,"date"),r()()),e&2){let t=T();l(3),x(mt(4,3,t.event.format)),l(5),I("",N(9,5,t.event.date,"shortTime"),"h"),l(5),x(mt(14,8,t.event.date))}}var po=(()=>{class e{data=P.required();get event(){return this.data()}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-card"]],inputs:{data:[1,"data"]},ngContentSelectors:Be,decls:9,vars:3,consts:[[1,"event-card"],["mat-card-image","",3,"src","alt"],["align","end",1,"event-card-actions"],["matListItemIcon","","name","transport/flag-pin"],["matListItemTitle",""],["matListItemIcon","","name","alarm-clock-alert"],["matListItemIcon","","name","calendar"]],template:function(a,o){a&1&&(R(),n(0,"mat-card",0),C(1,Ge,1,2,"img",1),n(2,"mat-card-header")(3,"mat-card-title"),s(4),r()(),n(5,"mat-list"),C(6,Re,15,10),r(),n(7,"mat-card-actions",2),L(8),r()()),a&2&&(l(),_(o.event.cover?1:-1),l(3),x(o.event.title),l(2),_(o.event.date?6:-1))},dependencies:[nt,et,te,ot,ee,at,J,Y,Z,W,q,ue,U,z],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;max-width:100%}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] .event-address[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%]{max-width:calc(100% - 4em)}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%]{padding-bottom:1em}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{gap:.4em;display:flex;line-height:1;align-items:center}[_nghost-%COMP%] .event-card-content[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .event-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .event-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var Le=(e,c)=>c.value;function Ve(e,c){if(e&1&&(n(0,"mat-chip-option",1),s(1),r()),e&2){let t=c.$implicit;u("value",t.value),l(),I(" ",t.viewValue," ")}}var yo=(()=>{class e{timeChange=y();times=[{value:"",viewValue:"Chegando"},{value:"until",viewValue:"Passados"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=g({type:e,selectors:[["devmx-event-time"]],outputs:{timeChange:"timeChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(a,o){a&1&&(n(0,"mat-chip-listbox",0),v("change",function(d){return o.timeChange.emit(d.value)}),k(1,Ve,2,2,"mat-chip-option",1,Le),r()),a&2&&(l(),M(o.times))},dependencies:[tt,X,K],encapsulation:2,changeDetection:0})}return e})();var ge=class extends Q{constructor(){super({event:new E("",{nonNullable:!0,validators:[ft.required]}),status:new E("",{nonNullable:!0,validators:[ft.required]})})}};export{it as a,Ke as b,sa as c,pa as d,Wa as e,ue as f,Ja as g,Xa as h,eo as i,oo as j,po as k,yo as l,ge as m}; diff --git a/chunk-RGIFAF2T.js b/chunk-3FERTUMZ.js similarity index 89% rename from chunk-RGIFAF2T.js rename to chunk-3FERTUMZ.js index 62bfcc4c..53458be2 100644 --- a/chunk-RGIFAF2T.js +++ b/chunk-3FERTUMZ.js @@ -1 +1 @@ -import{a as ue,b as pe}from"./chunk-AFH22WZE.js";import{a as he,b as xe,c as ge,d as ve,e as Me,f as be,g as we,h as ye,i as Fe,j as Se,k as De}from"./chunk-FROUXDRM.js";import{a as fe,b as Ce}from"./chunk-4JU575PW.js";import{a as _e}from"./chunk-56M6HFOE.js";import"./chunk-Q2N7RZTH.js";import{a as ae}from"./chunk-WOE5TNBB.js";import{c as me}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as de,b as y}from"./chunk-TPJZ2OYR.js";import"./chunk-XYJHVZQT.js";import"./chunk-VVQ6JEVH.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as A}from"./chunk-A3N3AUUJ.js";import{g as U,h as J,i as K,j as W,p as N,q as oe,v as ie,w as re,x as T}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as O,b as se,c as le,d as ce,e as k,f as V,i as H}from"./chunk-EC6LD5KM.js";import{a as X,e as B,f as j,h as Y,i as R,j as I,l as d,m as Z,p as ee,q as te,s as ne,x as E}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{F as z,Fc as L,Jc as w,Kc as F,Mc as Q,Nb as p,Tb as C,Yb as g,bc as i,cc as o,dc as f,ec as S,fc as D,hc as v,je as P,ka as s,kc as M,lb as c,mc as u,ta as h,ua as x,ub as _,xb as q,xc as m,yc as b}from"./chunk-TEKHUYWQ.js";var Pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-account-feature-admin"]],decls:1,vars:0,template:function(n,a){n&1&&f(0,"router-outlet")},dependencies:[J],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Ue=[Ce()];var Ne=(()=>{class e{transform(t,...n){return n.some(a=>t?.roles[a])}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=q({name:"hasRole",type:e,pure:!0})}return e})();function $e(e,r){e&1&&(i(0,"th",13),m(1,"Nome"),o())}function Ge(e,r){if(e&1&&(i(0,"td",14),m(1),o()),e&2){let t=r.$implicit;c(),b(t.displayName)}}function Be(e,r){e&1&&(i(0,"th",13),m(1,"Usu\xE1rio"),o())}function je(e,r){if(e&1&&(i(0,"td",14),m(1),o()),e&2){let t=r.$implicit;c(),b(t.name)}}function Ie(e,r){e&1&&f(0,"th",13)}function ze(e,r){if(e&1){let t=v();i(0,"button",18),M("click",function(){h(t);let a=u().$implicit,l=u(3);return x(l.openDelete(a))}),f(1,"devmx-icon",19),o()}}function qe(e,r){if(e&1&&(i(0,"td",14)(1,"a",15),f(2,"devmx-icon",16),o(),p(3,ze,2,0,"button",17),w(4,"hasRole"),o()),e&2){let t=r.$implicit,n=u(2);c(),C("routerLink",t.id),c(2),g(Q(4,2,n,"director","manager")?3:-1)}}function Le(e,r){e&1&&f(0,"tr",20)}function Qe(e,r){e&1&&f(0,"tr",21)}function Je(e,r){if(e&1){let t=v();i(0,"table",3),S(1,4),p(2,$e,2,0,"th",5)(3,Ge,2,1,"td",6),D(),S(4,7),p(5,Be,2,0,"th",5)(6,je,2,1,"td",6),D(),S(7,8),p(8,Ie,1,0,"th",5)(9,qe,5,6,"td",6),D(),p(10,Le,1,0,"tr",9)(11,Qe,1,0,"tr",10),o(),i(12,"mat-card-actions",11)(13,"devmx-paginator",12),M("pageChange",function(a){h(t);let l=u(2);return x(l.onPageChange(a))}),o()()}if(e&2){let t=r,n=u(2);C("dataSource",t.data),c(10),C("matHeaderRowDef",n.columns),c(),C("matRowDefColumns",n.columns),c(2),C("size",10)("items",t.items)}}function Ke(e,r){if(e&1){let t=v();i(0,"mat-card",0)(1,"mat-card-header",1)(2,"devmx-search-field",2),M("searchChange",function(a){h(t);let l=u();return x(l.onSearchChange(a))}),o()(),p(3,Je,14,5),w(4,"async"),o()}if(e&2){let t,n=u();c(2),C("debounce",800),c(),g((t=F(4,2,n.userFacade.response$))?3:-1,t)}}var Re=(()=>{class e{router=s(K);route=s(U);authFacade=s(de);userFacade=s(y);dialogFacade=s(fe);columns=["displayName","name","actions"];constructor(){this.route.queryParams.pipe(A()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:a=10}=t,{name:l="",username:Oe=""}=t,ke={name:l,username:Oe};this.userFacade.setParams({page:n,size:a,filter:ke}),this.userFacade.load()};openDelete(t){this.dialogFacade.confirm(`Confirme que deseja remover o usu\xE1rio de ${t.displayName}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.userFacade.delete(t.id)})}onSearchChange(t=""){this.userFacade.setFilter({displayName:t}),this.userFacade.load()}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-users"]],decls:2,vars:3,consts:[[1,"users-card"],[1,"users-card-header"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"routerLink"],["name","user-box"],["mat-icon-button","","color","warn"],["mat-icon-button","","color","warn",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(n,a){if(n&1&&(p(0,Ke,5,4,"mat-card",0),w(1,"async")),n&2){let l;g((l=F(1,1,a.authFacade.auth$))?0:-1,l)}},dependencies:[me,_e,T,re,ie,De,he,ge,we,ve,xe,ye,Me,be,Fe,Se,H,O,k,V,X,N,W,Ne,P],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .users-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .users-card-header[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:4em}"],changeDetection:0})}return e})();var Ee=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-user-roles"]],features:[L([],[{provide:j,useFactory:()=>s(j,{skipSelf:!0})}])],decls:16,vars:0,consts:[["formGroupName","roles"],["formControlName","member"],["formControlName","speaker"],["formControlName","recruiter"],["formControlName","leader"],["formControlName","staff"]],template:function(n,a){n&1&&(i(0,"div",0)(1,"section")(2,"mat-checkbox",1),m(3,"Membro"),o()(),i(4,"section")(5,"mat-checkbox",2),m(6,"Palestrante"),o()(),i(7,"section")(8,"mat-checkbox",3),m(9,"Recrutador(a)"),o()(),i(10,"section")(11,"mat-checkbox",4),m(12,"L\xEDder de grupo"),o()(),i(13,"section")(14,"mat-checkbox",5),m(15,"Organizador"),o()()())},dependencies:[E,Y,R,ne,te,pe,ue],encapsulation:2,changeDetection:0})}return e})();var G=class extends I{constructor(){super({id:new d("",{nonNullable:!0,validators:[B.required]}),roles:new I({academic:new d(!1,{nonNullable:!0}),director:new d(!1,{nonNullable:!0}),donor:new d(!1,{nonNullable:!0}),fellow:new d(!1,{nonNullable:!0}),leader:new d(!1,{nonNullable:!0}),manager:new d(!1,{nonNullable:!0}),member:new d(!1,{nonNullable:!0,validators:[B.requiredTrue]}),neighbor:new d(!1,{nonNullable:!0}),recruiter:new d(!1,{nonNullable:!0}),speaker:new d(!1,{nonNullable:!0}),staff:new d(!1,{nonNullable:!0})})})}};function Xe(e,r){if(e&1){let t=v();i(0,"form",1),M("submit",function(){h(t);let a=u();return x(a.onSubmit())}),i(1,"mat-card",2)(2,"mat-card-header",3)(3,"mat-card-title"),m(4),o(),i(5,"mat-card-subtitle"),m(6),o()(),i(7,"mat-card-content",4),f(8,"devmx-user-roles"),o(),i(9,"mat-card-actions",5)(10,"button",6),m(11,"Salvar"),o()()()()}if(e&2){let t=r,n=u();C("formGroup",n.form),c(4),b(t.displayName),c(2),b(t.name)}}var Te=(()=>{class e{route=s(U);userFacade=s(y);messageService=s(ae);form=new G;constructor(){this.route.data.pipe(A()).subscribe(({user:t})=>{t&&this.form.patchValue(t)})}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return this.userFacade.updateRoles(t),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-admin-user"]],decls:2,vars:3,consts:[[3,"formGroup"],[3,"submit","formGroup"],[1,"user-card"],[1,"user-card-header"],[1,"user-card-content"],["align","end"],["mat-button",""]],template:function(n,a){if(n&1&&(p(0,Xe,12,3,"form",0),w(1,"async")),n&2){let l;g((l=F(1,1,a.userFacade.selected$))?0:-1,l)}},dependencies:[E,Z,R,ee,Ee,T,oe,H,O,k,le,V,ce,se,N,P],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .user-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .user-card-header[_ngcontent-%COMP%]{padding-bottom:.8em;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .user-card-content[_ngcontent-%COMP%]{padding-top:.8em}"],changeDetection:0})}return e})();var Ae=e=>{let r=s(y);return r.loadOne(e.params.id),r.selected$.pipe(z(t=>!!t))};var an=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},title:"Administrar conta",providers:Ue,component:Pe,children:[{path:"usuarios",data:{breadcrumb:"Usu\xE1rios"},title:"Contas de usu\xE1rios",component:Re},{path:"usuarios/:id",data:{breadcrumb:e=>e.user.displayName},title:"Usu\xE1rio",resolve:{user:Ae},component:Te},{path:"",pathMatch:"prefix",redirectTo:"usuarios"}]}];export{Pe as AccountFeatureAdminComponent,an as accountFeatureAdminRoutes}; +import{a as ue,b as pe}from"./chunk-I7HMQKPZ.js";import{a as he,b as xe,c as ge,d as ve,e as Me,f as be,g as we,h as ye,i as Fe,j as Se,k as De}from"./chunk-TDAJGOKB.js";import{a as fe,b as Ce}from"./chunk-HOUESFGN.js";import{a as _e}from"./chunk-5XJFAPMG.js";import"./chunk-BJPVFIKR.js";import{a as ae}from"./chunk-FTG3SWGJ.js";import{c as me}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as de,b as y}from"./chunk-5MUU2WLY.js";import"./chunk-7BKB7KKA.js";import"./chunk-A74J7Y3C.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as A}from"./chunk-366DNJGU.js";import{g as U,h as J,i as K,j as W,p as N,q as oe,v as ie,w as re,x as T}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as O,b as se,c as le,d as ce,e as k,f as V,i as H}from"./chunk-BJ2ND26O.js";import{a as X,e as B,f as j,h as Y,i as R,j as I,l as d,m as Z,p as ee,q as te,s as ne,x as E}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{F as z,Fc as L,Jc as w,Kc as F,Mc as Q,Nb as p,Tb as C,Yb as g,bc as i,cc as o,dc as f,ec as S,fc as D,hc as v,je as P,ka as s,kc as M,lb as c,mc as u,ta as h,ua as x,ub as _,xb as q,xc as m,yc as b}from"./chunk-5L47ZUSK.js";var Pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-account-feature-admin"]],decls:1,vars:0,template:function(n,a){n&1&&f(0,"router-outlet")},dependencies:[J],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Ue=[Ce()];var Ne=(()=>{class e{transform(t,...n){return n.some(a=>t?.roles[a])}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=q({name:"hasRole",type:e,pure:!0})}return e})();function $e(e,r){e&1&&(i(0,"th",13),m(1,"Nome"),o())}function Ge(e,r){if(e&1&&(i(0,"td",14),m(1),o()),e&2){let t=r.$implicit;c(),b(t.displayName)}}function Be(e,r){e&1&&(i(0,"th",13),m(1,"Usu\xE1rio"),o())}function je(e,r){if(e&1&&(i(0,"td",14),m(1),o()),e&2){let t=r.$implicit;c(),b(t.name)}}function Ie(e,r){e&1&&f(0,"th",13)}function ze(e,r){if(e&1){let t=v();i(0,"button",18),M("click",function(){h(t);let a=u().$implicit,l=u(3);return x(l.openDelete(a))}),f(1,"devmx-icon",19),o()}}function qe(e,r){if(e&1&&(i(0,"td",14)(1,"a",15),f(2,"devmx-icon",16),o(),p(3,ze,2,0,"button",17),w(4,"hasRole"),o()),e&2){let t=r.$implicit,n=u(2);c(),C("routerLink",t.id),c(2),g(Q(4,2,n,"director","manager")?3:-1)}}function Le(e,r){e&1&&f(0,"tr",20)}function Qe(e,r){e&1&&f(0,"tr",21)}function Je(e,r){if(e&1){let t=v();i(0,"table",3),S(1,4),p(2,$e,2,0,"th",5)(3,Ge,2,1,"td",6),D(),S(4,7),p(5,Be,2,0,"th",5)(6,je,2,1,"td",6),D(),S(7,8),p(8,Ie,1,0,"th",5)(9,qe,5,6,"td",6),D(),p(10,Le,1,0,"tr",9)(11,Qe,1,0,"tr",10),o(),i(12,"mat-card-actions",11)(13,"devmx-paginator",12),M("pageChange",function(a){h(t);let l=u(2);return x(l.onPageChange(a))}),o()()}if(e&2){let t=r,n=u(2);C("dataSource",t.data),c(10),C("matHeaderRowDef",n.columns),c(),C("matRowDefColumns",n.columns),c(2),C("size",10)("items",t.items)}}function Ke(e,r){if(e&1){let t=v();i(0,"mat-card",0)(1,"mat-card-header",1)(2,"devmx-search-field",2),M("searchChange",function(a){h(t);let l=u();return x(l.onSearchChange(a))}),o()(),p(3,Je,14,5),w(4,"async"),o()}if(e&2){let t,n=u();c(2),C("debounce",800),c(),g((t=F(4,2,n.userFacade.response$))?3:-1,t)}}var Re=(()=>{class e{router=s(K);route=s(U);authFacade=s(de);userFacade=s(y);dialogFacade=s(fe);columns=["displayName","name","actions"];constructor(){this.route.queryParams.pipe(A()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:a=10}=t,{name:l="",username:Oe=""}=t,ke={name:l,username:Oe};this.userFacade.setParams({page:n,size:a,filter:ke}),this.userFacade.load()};openDelete(t){this.dialogFacade.confirm(`Confirme que deseja remover o usu\xE1rio de ${t.displayName}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.userFacade.delete(t.id)})}onSearchChange(t=""){this.userFacade.setFilter({displayName:t}),this.userFacade.load()}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-users"]],decls:2,vars:3,consts:[[1,"users-card"],[1,"users-card-header"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"routerLink"],["name","user-box"],["mat-icon-button","","color","warn"],["mat-icon-button","","color","warn",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(n,a){if(n&1&&(p(0,Ke,5,4,"mat-card",0),w(1,"async")),n&2){let l;g((l=F(1,1,a.authFacade.auth$))?0:-1,l)}},dependencies:[me,_e,T,re,ie,De,he,ge,we,ve,xe,ye,Me,be,Fe,Se,H,O,k,V,X,N,W,Ne,P],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .users-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .users-card-header[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:4em}"],changeDetection:0})}return e})();var Ee=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-user-roles"]],features:[L([],[{provide:j,useFactory:()=>s(j,{skipSelf:!0})}])],decls:16,vars:0,consts:[["formGroupName","roles"],["formControlName","member"],["formControlName","speaker"],["formControlName","recruiter"],["formControlName","leader"],["formControlName","staff"]],template:function(n,a){n&1&&(i(0,"div",0)(1,"section")(2,"mat-checkbox",1),m(3,"Membro"),o()(),i(4,"section")(5,"mat-checkbox",2),m(6,"Palestrante"),o()(),i(7,"section")(8,"mat-checkbox",3),m(9,"Recrutador(a)"),o()(),i(10,"section")(11,"mat-checkbox",4),m(12,"L\xEDder de grupo"),o()(),i(13,"section")(14,"mat-checkbox",5),m(15,"Organizador"),o()()())},dependencies:[E,Y,R,ne,te,pe,ue],encapsulation:2,changeDetection:0})}return e})();var G=class extends I{constructor(){super({id:new d("",{nonNullable:!0,validators:[B.required]}),roles:new I({academic:new d(!1,{nonNullable:!0}),director:new d(!1,{nonNullable:!0}),donor:new d(!1,{nonNullable:!0}),fellow:new d(!1,{nonNullable:!0}),leader:new d(!1,{nonNullable:!0}),manager:new d(!1,{nonNullable:!0}),member:new d(!1,{nonNullable:!0,validators:[B.requiredTrue]}),neighbor:new d(!1,{nonNullable:!0}),recruiter:new d(!1,{nonNullable:!0}),speaker:new d(!1,{nonNullable:!0}),staff:new d(!1,{nonNullable:!0})})})}};function Xe(e,r){if(e&1){let t=v();i(0,"form",1),M("submit",function(){h(t);let a=u();return x(a.onSubmit())}),i(1,"mat-card",2)(2,"mat-card-header",3)(3,"mat-card-title"),m(4),o(),i(5,"mat-card-subtitle"),m(6),o()(),i(7,"mat-card-content",4),f(8,"devmx-user-roles"),o(),i(9,"mat-card-actions",5)(10,"button",6),m(11,"Salvar"),o()()()()}if(e&2){let t=r,n=u();C("formGroup",n.form),c(4),b(t.displayName),c(2),b(t.name)}}var Te=(()=>{class e{route=s(U);userFacade=s(y);messageService=s(ae);form=new G;constructor(){this.route.data.pipe(A()).subscribe(({user:t})=>{t&&this.form.patchValue(t)})}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return this.userFacade.updateRoles(t),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=_({type:e,selectors:[["devmx-admin-user"]],decls:2,vars:3,consts:[[3,"formGroup"],[3,"submit","formGroup"],[1,"user-card"],[1,"user-card-header"],[1,"user-card-content"],["align","end"],["mat-button",""]],template:function(n,a){if(n&1&&(p(0,Xe,12,3,"form",0),w(1,"async")),n&2){let l;g((l=F(1,1,a.userFacade.selected$))?0:-1,l)}},dependencies:[E,Z,R,ee,Ee,T,oe,H,O,k,le,V,ce,se,N,P],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .user-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .user-card-header[_ngcontent-%COMP%]{padding-bottom:.8em;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .user-card-content[_ngcontent-%COMP%]{padding-top:.8em}"],changeDetection:0})}return e})();var Ae=e=>{let r=s(y);return r.loadOne(e.params.id),r.selected$.pipe(z(t=>!!t))};var an=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},title:"Administrar conta",providers:Ue,component:Pe,children:[{path:"usuarios",data:{breadcrumb:"Usu\xE1rios"},title:"Contas de usu\xE1rios",component:Re},{path:"usuarios/:id",data:{breadcrumb:e=>e.user.displayName},title:"Usu\xE1rio",resolve:{user:Ae},component:Te},{path:"",pathMatch:"prefix",redirectTo:"usuarios"}]}];export{Pe as AccountFeatureAdminComponent,an as accountFeatureAdminRoutes}; diff --git a/chunk-XUKBPA5N.js b/chunk-3ICSMDPT.js similarity index 84% rename from chunk-XUKBPA5N.js rename to chunk-3ICSMDPT.js index d072edea..e425636f 100644 --- a/chunk-XUKBPA5N.js +++ b/chunk-3ICSMDPT.js @@ -1 +1 @@ -import{a as u,e as C,f,g as M,l as g}from"./chunk-PAP2P7QR.js";import{a as h,b as v,e as I,f as _,i as y}from"./chunk-EC6LD5KM.js";import{a as x}from"./chunk-EDIJ2EBQ.js";import{Ia as o,bc as t,cc as i,dc as m,lb as a,nc as p,oc as l,ub as d,xc as r,yc as c}from"./chunk-TEKHUYWQ.js";var P=["*"],z=(()=>{class e{data=o.required();discrete=o(!1);get course(){return this.data()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=d({type:e,selectors:[["devmx-course-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:P,decls:11,vars:2,consts:[[1,"course-card"],["matListItemIcon","","name","building/school"],["matListItemTitle",""],["align","end",1,"course-card-actions"]],template:function(n,s){n&1&&(p(),t(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),r(3),i()(),t(4,"mat-list")(5,"mat-list-item"),m(6,"devmx-icon",1),t(7,"span",2),r(8),i()()(),t(9,"mat-card-actions",3),l(10),i()()),n&2&&(a(3),c(s.course.name),a(5),c(s.course.institution.name))},dependencies:[y,h,I,_,v,g,f,M,C,u,x],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .course-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .course-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();export{z as a}; +import{a as u,e as C,f,g as M,l as g}from"./chunk-UANEMOTZ.js";import{a as h,b as v,e as I,f as _,i as y}from"./chunk-BJ2ND26O.js";import{a as x}from"./chunk-E5QACR6S.js";import{Ia as o,bc as t,cc as i,dc as m,lb as a,nc as p,oc as l,ub as d,xc as r,yc as c}from"./chunk-5L47ZUSK.js";var P=["*"],z=(()=>{class e{data=o.required();discrete=o(!1);get course(){return this.data()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=d({type:e,selectors:[["devmx-course-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:P,decls:11,vars:2,consts:[[1,"course-card"],["matListItemIcon","","name","building/school"],["matListItemTitle",""],["align","end",1,"course-card-actions"]],template:function(n,s){n&1&&(p(),t(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),r(3),i()(),t(4,"mat-list")(5,"mat-list-item"),m(6,"devmx-icon",1),t(7,"span",2),r(8),i()()(),t(9,"mat-card-actions",3),l(10),i()()),n&2&&(a(3),c(s.course.name),a(5),c(s.course.institution.name))},dependencies:[y,h,I,_,v,g,f,M,C,u,x],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .course-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .course-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();export{z as a}; diff --git a/chunk-3F647OO5.js b/chunk-3IM4ETQJ.js similarity index 87% rename from chunk-3F647OO5.js rename to chunk-3IM4ETQJ.js index 72494c84..9ac7e5d0 100644 --- a/chunk-3F647OO5.js +++ b/chunk-3IM4ETQJ.js @@ -1 +1 @@ -import{a as Pe,b as Me,c as be,d as Ee}from"./chunk-FVH3EPWM.js";import{a as ge,b as _e,c as Ce,d as xe}from"./chunk-YFMYPYPE.js";import{b as F}from"./chunk-UOTKRQ63.js";import{a as ve}from"./chunk-BZ5BKAFD.js";import{a as he}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{c as M,d as le,f as se,h as de}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as fe}from"./chunk-TPJZ2OYR.js";import{a as ce}from"./chunk-YGTSZDQ5.js";import{d as pe}from"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import{e as ye,i as Se,j as Te,m as Oe}from"./chunk-DAURILCW.js";import"./chunk-O3T3UZHL.js";import"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as w}from"./chunk-A3N3AUUJ.js";import{g as S,h as U,p as T,v as re,x as me}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as Z,b as ee,c as te,e as ne,f as ie,g as oe,l as ae}from"./chunk-PAP2P7QR.js";import{i as ue}from"./chunk-EC6LD5KM.js";import{a as O,h as J,i as Y,m as q,p as K,s as Q,x as X}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as B,F as g,Ha as A,Hc as G,Ia as I,Jc as c,Kc as y,Lc as f,Nb as u,Tb as l,Yb as C,Yd as z,_b as R,ac as k,ba as V,bc as n,cc as i,dc as p,hc as $,je as H,ka as s,kc as b,lb as o,mc as v,pe as W,t as P,ta as N,u as L,ua as j,ub as _,xc as d,yc as x,zc as E}from"./chunk-TEKHUYWQ.js";var we=(()=>{class t{route=s(S);script=s(ve);constructor(){this.route.data.pipe(g(({schema:e})=>!!e),P(({schema:e})=>e),w()).subscribe(e=>{let a="application/ld+json",r=JSON.stringify(e,null,2);this.script.addScript({type:a},r)})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-event-feature-page"]],decls:2,vars:0,template:function(a,r){a&1&&(n(0,"devmx-app-shell"),p(1,"router-outlet"),i())},dependencies:[T,U,F,ce],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var Ie=[];var Re=t=>de(s(M),t.params);var Be=t=>{let m=t.parent?t.parent.params:t.params;return se(s(M),m)};var Ve=t=>({active:t}),ke=(()=>{class t{loved=I(!1);loveChange=A();disabled=I(!1);isDisabled(){return this.disabled()===""?!0:this.disabled()}onClick(){this.loveChange.emit(!this.loved())}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-heart-button"]],inputs:{loved:[1,"loved"],disabled:[1,"disabled"]},outputs:{loveChange:"loveChange"},decls:2,vars:4,consts:[["mat-icon-button","",3,"click","disabled","ngClass"],["name","heart"]],template:function(a,r){a&1&&(n(0,"button",0),b("click",function(){return r.onClick()}),p(1,"devmx-icon",1),i()),a&2&&l("disabled",r.disabled())("ngClass",G(2,Ve,r.loved()))},dependencies:[re,O,z],encapsulation:2})}return t})();function Ne(t,m){if(t&1&&p(0,"devmx-maps-button",1),t&2){let e=v();l("data",e)}}function je(t,m){if(t&1&&p(0,"devmx-youtube-button",1),t&2){let e=v();l("data",e)}}function Ae(t,m){if(t&1&&(n(0,"article"),p(1,"devmx-markdown-view",10),i()),t&2){let e=v();o(),l("content",e.description)}}function $e(t,m){if(t&1&&(n(0,"mat-list-item"),p(1,"devmx-icon",11),n(2,"div",12),d(3),i(),n(4,"div",13),d(5),i(),p(6,"devmx-heart-button",14),i()),t&2){let e=m.$implicit;o(3),x(e.title),o(2),x(e.owner.displayName),o(),l("loved",!1)}}function Ge(t,m){if(t&1&&(n(0,"mat-list"),B(1,$e,7,3,"mat-list-item",null,R),i()),t&2){let e=v(2);o(),k(e.presentations)}}function ze(t,m){t&1&&(n(0,"mat-tab",8),u(1,Ge,3,0,"ng-template",7),i())}function He(t,m){if(t&1&&(n(0,"mat-list-item"),p(1,"devmx-icon",15),n(2,"div",12),d(3),i()()),t&2){let e=m.$implicit;o(3),x(e.displayName)}}function We(t,m){if(t&1&&B(0,He,4,1,"mat-list-item",null,R),t&2){let e=v(2);k(e.leaders)}}function Ue(t,m){if(t&1&&(n(0,"mat-list")(1,"mat-list-item"),p(2,"devmx-icon",15),n(3,"div",12),d(4),i()(),u(5,We,2,0),i()),t&2){let e=v();o(4),x(e.owner.displayName),o(),C(e.leaders.length?5:-1)}}function Je(t,m){if(t&1){let e=$();n(0,"header")(1,"hgroup")(2,"h1"),d(3),i(),n(4,"h3")(5,"span")(6,"time",0),c(7,"date"),d(8),c(9,"date"),i()(),n(10,"span"),d(11," das "),i(),n(12,"time",0),c(13,"date"),d(14),c(15,"date"),i(),n(16,"span"),d(17," at\xE9 "),i(),n(18,"time",0),c(19,"date"),d(20),c(21,"date"),i()()(),n(22,"nav"),p(23,"devmx-calendar-button",1),u(24,Ne,1,1,"devmx-maps-button",1),c(25,"showEventAddress"),u(26,je,1,1,"devmx-youtube-button",1),c(27,"showEventLink"),p(28,"devmx-whats-app-button",1),i()(),n(29,"section",2)(30,"form",3)(31,"devmx-rsvp-button",4),b("statusChange",function(){N(e);let r=v();return j(r.onStatusChange())}),i()(),n(32,"mat-tab-group",5)(33,"mat-tab",6),u(34,Ae,2,1,"ng-template",7),i(),u(35,ze,2,0,"mat-tab",8),n(36,"mat-tab",9),u(37,Ue,6,2,"ng-template",7),i()()()}if(t&2){let e=m,a=v();o(3),x(e.title),o(3),l("dateTime",f(7,13,e.date,"longDate")),o(2),E(" ",f(9,16,e.date,"longDate")," "),o(4),l("dateTime",f(13,19,e.start,"shortTime")),o(2),E(" ",f(15,22,e.start,"shortTime"),"h "),o(4),l("dateTime",f(19,25,e.end,"shortTime")),o(2),E(" ",f(21,28,e.end,"shortTime"),"h "),o(3),l("data",e),o(),C(y(25,31,e.format)&&e.address?24:-1),o(2),C(y(27,33,e.format)&&e.link?26:-1),o(2),l("data",e),o(2),l("formGroup",a.form),o(5),C(e.presentations.length?35:-1)}}var De=(()=>{class t{authFacade=s(fe);rsvpFacade=s(le);route=s(S);event$=this.route.data.pipe(g(({page:e})=>!!e),P(({page:e})=>e),V(e=>this.setRSVPEvent(e.id)));form=new Oe;constructor(){if(localStorage.getItem("accessToken")){this.authFacade.load();let e=this.authFacade.auth$.pipe(g(r=>!!r),P(r=>r.id)),a=this.rsvpFacade.response$.pipe(g(r=>r.length>0));L([e,a]).pipe(w()).subscribe(([r,h])=>{let D=h.find(Le=>Le.user.id===r);D&&this.setRSVPStatus(D)})}}setRSVPEvent=e=>{this.form.patchValue({event:e}),this.rsvpFacade.loadConfirmed(e)};setRSVPStatus({status:e}){this.form.patchValue({status:e},{emitEvent:!1})}onStatusChange(){this.form.valid&&this.rsvpFacade.create(this.form.getRawValue())}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-event-page"]],decls:2,vars:3,consts:[[3,"dateTime"],[3,"data"],[1,"event-page-content"],[1,"rsvp-button",3,"formGroup"],["formControlName","status",1,"rsvp-button",3,"statusChange"],["mat-stretch-tabs","false","mat-align-tabs","start"],["label","Descri\xE7\xE3o"],["matTabContent",""],["label","Agenda"],["label","Organizadores"],[3,"content"],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","","disabled","",3,"loved"],["matListItemIcon","","name","user-circle"]],template:function(a,r){if(a&1&&(u(0,Je,38,35),c(1,"async")),a&2){let h;C((h=y(1,1,r.event$))?0:-1,h)}},dependencies:[T,he,X,q,J,Y,K,Q,Me,be,Pe,Ee,ke,Se,ye,Te,pe,F,xe,ge,_e,Ce,me,ue,ae,ie,oe,ne,ee,Z,te,O,H,W],styles:["[_nghost-%COMP%]{flex:1;gap:2em;display:flex;flex-direction:column;background-color:#fff}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:1.8em}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.2em}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:2em;gap:8px;background:linear-gradient(180deg,#fff0 -12.12%,#4e4e4e40 23.23%,#0003);background-blend-mode:multiply}[_nghost-%COMP%] header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{gap:1em;width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start}[_nghost-%COMP%] form[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (max-width: 767px){[_nghost-%COMP%] form[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;position:relative}[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%] .rsvp-button[_ngcontent-%COMP%]{position:absolute;z-index:100;right:.4em;top:-.4em}@media (max-width: 767px){[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%] .rsvp-button[_ngcontent-%COMP%]{position:relative;margin-bottom:1em;right:0;top:0}}[_nghost-%COMP%] article[_ngcontent-%COMP%]{padding:1em}@media (max-width: 600px){[_nghost-%COMP%] header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{width:100%;flex-direction:column}}"],changeDetection:0})}return t})();var tn=[{path:":id",providers:Ie,component:we,data:{breadcrumb:"Evento"},resolve:{schema:Re},children:[{path:"",data:{breadcrumb:t=>t.page.title},title:"Sobre o evento",resolve:{page:Be},component:De}]}];export{we as EventFeaturePageComponent,tn as eventFeaturePageRoutes}; +import{a as Pe,b as Me,c as be,d as Ee}from"./chunk-KN3XQ7E5.js";import{a as ge,b as _e,c as Ce,d as xe}from"./chunk-5ZT2NHQS.js";import{b as F}from"./chunk-OQLD3BC6.js";import{a as ve}from"./chunk-YJEP2JMA.js";import{a as he}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{c as M,d as le,f as se,h as de}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as fe}from"./chunk-5MUU2WLY.js";import{a as ce}from"./chunk-BN44ELXF.js";import{d as pe}from"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import{e as ye,i as Se,j as Te,m as Oe}from"./chunk-37XQ32LA.js";import"./chunk-J4P2XXRU.js";import"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as w}from"./chunk-366DNJGU.js";import{g as S,h as U,p as T,v as re,x as me}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as Z,b as ee,c as te,e as ne,f as ie,g as oe,l as ae}from"./chunk-UANEMOTZ.js";import{i as ue}from"./chunk-BJ2ND26O.js";import{a as O,h as J,i as Y,m as q,p as K,s as Q,x as X}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as B,F as g,Ha as A,Hc as G,Ia as I,Jc as c,Kc as y,Lc as f,Nb as u,Tb as l,Yb as C,Yd as z,_b as R,ac as k,ba as V,bc as n,cc as i,dc as p,hc as $,je as H,ka as s,kc as b,lb as o,mc as v,pe as W,t as P,ta as N,u as L,ua as j,ub as _,xc as d,yc as x,zc as E}from"./chunk-5L47ZUSK.js";var we=(()=>{class t{route=s(S);script=s(ve);constructor(){this.route.data.pipe(g(({schema:e})=>!!e),P(({schema:e})=>e),w()).subscribe(e=>{let a="application/ld+json",r=JSON.stringify(e,null,2);this.script.addScript({type:a},r)})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-event-feature-page"]],decls:2,vars:0,template:function(a,r){a&1&&(n(0,"devmx-app-shell"),p(1,"router-outlet"),i())},dependencies:[T,U,F,ce],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var Ie=[];var Re=t=>de(s(M),t.params);var Be=t=>{let m=t.parent?t.parent.params:t.params;return se(s(M),m)};var Ve=t=>({active:t}),ke=(()=>{class t{loved=I(!1);loveChange=A();disabled=I(!1);isDisabled(){return this.disabled()===""?!0:this.disabled()}onClick(){this.loveChange.emit(!this.loved())}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-heart-button"]],inputs:{loved:[1,"loved"],disabled:[1,"disabled"]},outputs:{loveChange:"loveChange"},decls:2,vars:4,consts:[["mat-icon-button","",3,"click","disabled","ngClass"],["name","heart"]],template:function(a,r){a&1&&(n(0,"button",0),b("click",function(){return r.onClick()}),p(1,"devmx-icon",1),i()),a&2&&l("disabled",r.disabled())("ngClass",G(2,Ve,r.loved()))},dependencies:[re,O,z],encapsulation:2})}return t})();function Ne(t,m){if(t&1&&p(0,"devmx-maps-button",1),t&2){let e=v();l("data",e)}}function je(t,m){if(t&1&&p(0,"devmx-youtube-button",1),t&2){let e=v();l("data",e)}}function Ae(t,m){if(t&1&&(n(0,"article"),p(1,"devmx-markdown-view",10),i()),t&2){let e=v();o(),l("content",e.description)}}function $e(t,m){if(t&1&&(n(0,"mat-list-item"),p(1,"devmx-icon",11),n(2,"div",12),d(3),i(),n(4,"div",13),d(5),i(),p(6,"devmx-heart-button",14),i()),t&2){let e=m.$implicit;o(3),x(e.title),o(2),x(e.owner.displayName),o(),l("loved",!1)}}function Ge(t,m){if(t&1&&(n(0,"mat-list"),B(1,$e,7,3,"mat-list-item",null,R),i()),t&2){let e=v(2);o(),k(e.presentations)}}function ze(t,m){t&1&&(n(0,"mat-tab",8),u(1,Ge,3,0,"ng-template",7),i())}function He(t,m){if(t&1&&(n(0,"mat-list-item"),p(1,"devmx-icon",15),n(2,"div",12),d(3),i()()),t&2){let e=m.$implicit;o(3),x(e.displayName)}}function We(t,m){if(t&1&&B(0,He,4,1,"mat-list-item",null,R),t&2){let e=v(2);k(e.leaders)}}function Ue(t,m){if(t&1&&(n(0,"mat-list")(1,"mat-list-item"),p(2,"devmx-icon",15),n(3,"div",12),d(4),i()(),u(5,We,2,0),i()),t&2){let e=v();o(4),x(e.owner.displayName),o(),C(e.leaders.length?5:-1)}}function Je(t,m){if(t&1){let e=$();n(0,"header")(1,"hgroup")(2,"h1"),d(3),i(),n(4,"h3")(5,"span")(6,"time",0),c(7,"date"),d(8),c(9,"date"),i()(),n(10,"span"),d(11," das "),i(),n(12,"time",0),c(13,"date"),d(14),c(15,"date"),i(),n(16,"span"),d(17," at\xE9 "),i(),n(18,"time",0),c(19,"date"),d(20),c(21,"date"),i()()(),n(22,"nav"),p(23,"devmx-calendar-button",1),u(24,Ne,1,1,"devmx-maps-button",1),c(25,"showEventAddress"),u(26,je,1,1,"devmx-youtube-button",1),c(27,"showEventLink"),p(28,"devmx-whats-app-button",1),i()(),n(29,"section",2)(30,"form",3)(31,"devmx-rsvp-button",4),b("statusChange",function(){N(e);let r=v();return j(r.onStatusChange())}),i()(),n(32,"mat-tab-group",5)(33,"mat-tab",6),u(34,Ae,2,1,"ng-template",7),i(),u(35,ze,2,0,"mat-tab",8),n(36,"mat-tab",9),u(37,Ue,6,2,"ng-template",7),i()()()}if(t&2){let e=m,a=v();o(3),x(e.title),o(3),l("dateTime",f(7,13,e.date,"longDate")),o(2),E(" ",f(9,16,e.date,"longDate")," "),o(4),l("dateTime",f(13,19,e.start,"shortTime")),o(2),E(" ",f(15,22,e.start,"shortTime"),"h "),o(4),l("dateTime",f(19,25,e.end,"shortTime")),o(2),E(" ",f(21,28,e.end,"shortTime"),"h "),o(3),l("data",e),o(),C(y(25,31,e.format)&&e.address?24:-1),o(2),C(y(27,33,e.format)&&e.link?26:-1),o(2),l("data",e),o(2),l("formGroup",a.form),o(5),C(e.presentations.length?35:-1)}}var De=(()=>{class t{authFacade=s(fe);rsvpFacade=s(le);route=s(S);event$=this.route.data.pipe(g(({page:e})=>!!e),P(({page:e})=>e),V(e=>this.setRSVPEvent(e.id)));form=new Oe;constructor(){if(localStorage.getItem("accessToken")){this.authFacade.load();let e=this.authFacade.auth$.pipe(g(r=>!!r),P(r=>r.id)),a=this.rsvpFacade.response$.pipe(g(r=>r.length>0));L([e,a]).pipe(w()).subscribe(([r,h])=>{let D=h.find(Le=>Le.user.id===r);D&&this.setRSVPStatus(D)})}}setRSVPEvent=e=>{this.form.patchValue({event:e}),this.rsvpFacade.loadConfirmed(e)};setRSVPStatus({status:e}){this.form.patchValue({status:e},{emitEvent:!1})}onStatusChange(){this.form.valid&&this.rsvpFacade.create(this.form.getRawValue())}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=_({type:t,selectors:[["devmx-event-page"]],decls:2,vars:3,consts:[[3,"dateTime"],[3,"data"],[1,"event-page-content"],[1,"rsvp-button",3,"formGroup"],["formControlName","status",1,"rsvp-button",3,"statusChange"],["mat-stretch-tabs","false","mat-align-tabs","start"],["label","Descri\xE7\xE3o"],["matTabContent",""],["label","Agenda"],["label","Organizadores"],[3,"content"],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","","disabled","",3,"loved"],["matListItemIcon","","name","user-circle"]],template:function(a,r){if(a&1&&(u(0,Je,38,35),c(1,"async")),a&2){let h;C((h=y(1,1,r.event$))?0:-1,h)}},dependencies:[T,he,X,q,J,Y,K,Q,Me,be,Pe,Ee,ke,Se,ye,Te,pe,F,xe,ge,_e,Ce,me,ue,ae,ie,oe,ne,ee,Z,te,O,H,W],styles:["[_nghost-%COMP%]{flex:1;gap:2em;display:flex;flex-direction:column;background-color:#fff}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:1.8em}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.2em}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:2em;gap:8px;background:linear-gradient(180deg,#fff0 -12.12%,#4e4e4e40 23.23%,#0003);background-blend-mode:multiply}[_nghost-%COMP%] header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{gap:1em;width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start}[_nghost-%COMP%] form[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (max-width: 767px){[_nghost-%COMP%] form[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;position:relative}[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%] .rsvp-button[_ngcontent-%COMP%]{position:absolute;z-index:100;right:.4em;top:-.4em}@media (max-width: 767px){[_nghost-%COMP%] .event-page-content[_ngcontent-%COMP%] .rsvp-button[_ngcontent-%COMP%]{position:relative;margin-bottom:1em;right:0;top:0}}[_nghost-%COMP%] article[_ngcontent-%COMP%]{padding:1em}@media (max-width: 600px){[_nghost-%COMP%] header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{width:100%;flex-direction:column}}"],changeDetection:0})}return t})();var tn=[{path:":id",providers:Ie,component:we,data:{breadcrumb:"Evento"},resolve:{schema:Re},children:[{path:"",data:{breadcrumb:t=>t.page.title},title:"Sobre o evento",resolve:{page:Be},component:De}]}];export{we as EventFeaturePageComponent,tn as eventFeaturePageRoutes}; diff --git a/chunk-P6FJ2MEG.js b/chunk-44YUKMNR.js similarity index 86% rename from chunk-P6FJ2MEG.js rename to chunk-44YUKMNR.js index 0f2165eb..69584572 100644 --- a/chunk-P6FJ2MEG.js +++ b/chunk-44YUKMNR.js @@ -1 +1 @@ -import{a as Oe,b as Me}from"./chunk-MEIYYXQK.js";import{a as le}from"./chunk-ZTJS4K5V.js";import{a as oe}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import{a as L}from"./chunk-Q33OVU5J.js";import{b as ie}from"./chunk-WKFJTKSD.js";import{a as me,b as pe}from"./chunk-4422JARR.js";import{a as ce,b as se,c as ve}from"./chunk-IIJ56NAR.js";import{a as de}from"./chunk-WK53HQNR.js";import{a as I}from"./chunk-ZHS65JNW.js";import{c as re}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import{a as S,c as ae}from"./chunk-2GNIBV4J.js";import"./chunk-MLNPCJDD.js";import"./chunk-UOTKRQ63.js";import"./chunk-2IAXMR6M.js";import{a as ye}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as M}from"./chunk-A3N3AUUJ.js";import{g as D,i as F,j as w,p as b,r as ee,w as te,x as ne}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as W,e as K,f as X,g as Y,l as Z}from"./chunk-PAP2P7QR.js";import{a as fe,b as ge,c as _e,d as ue,e as Ce,f as xe,h as he,i as be}from"./chunk-EC6LD5KM.js";import{a as G}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as q,Ba as z,F as R,Hc as O,Jc as p,Kc as c,Nb as f,Ob as E,Pb as H,Rb as $,Tb as d,Yb as g,a as J,ac as V,bc as n,cc as o,dc as r,fb as P,gb as T,hc as U,je as N,ka as s,kc as j,lb as i,mc as _,t as k,ta as B,ua as A,ub as h,we as Q,xc as m,yc as y,zc as x}from"./chunk-TEKHUYWQ.js";function Te(t,l){if(t&1&&(n(0,"mat-list-item"),r(1,"devmx-icon",15),n(2,"span",8),m(3),o()()),t&2){let e=_();i(3),y(e.company)}}function Ee(t,l){if(t&1&&(m(0),p(1,"currency")),t&2){let e=_(2);x(" ",c(1,1,e.salary==null?null:e.salary.min)," ")}}function Ie(t,l){t&1&&m(0," ~ ")}function Le(t,l){if(t&1&&(m(0),p(1,"currency")),t&2){let e=_(2);x(" ",c(1,1,e.salary==null?null:e.salary.max)," ")}}function ke(t,l){if(t&1&&(n(0,"mat-list-item"),r(1,"devmx-icon",16),n(2,"div",8),f(3,Ee,2,3)(4,Ie,1,0)(5,Le,2,3),o()()),t&2){let e=_();i(3),g(e.salary!=null&&e.salary.min?3:-1),i(),g(e.salary!=null&&e.salary.min&&(e.salary!=null&&e.salary.max)?4:-1),i(),g(e.salary!=null&&e.salary.max?5:-1)}}function Re(t,l){if(t&1&&(n(0,"mat-card-actions",12)(1,"a",17),r(2,"devmx-icon",18),n(3,"span"),m(4,"Candidatar-se"),o()()()),t&2){let e=_();i(),d("href",e.link,T)}}function Be(t,l){if(t&1&&(n(0,"mat-card-content")(1,"h3"),m(2,"Benef\xEDcios"),o(),r(3,"div",13),p(4,"markdown"),p(5,"html"),o()),t&2){let e=_();i(3),d("innerHTML",c(5,3,c(4,1,e.benefits)),P)}}function Ae(t,l){if(t&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),r(3,"devmx-icon",3),o(),n(4,"mat-card-title",4),m(5),o(),n(6,"mat-card-subtitle"),m(7),o(),n(8,"a",5),r(9,"devmx-icon",6),o()(),n(10,"mat-list"),f(11,Te,4,1,"mat-list-item"),n(12,"mat-list-item"),r(13,"devmx-icon",7),n(14,"div",8),m(15),p(16,"jobMode"),o()(),n(17,"mat-list-item"),r(18,"devmx-icon",9),n(19,"div",8),m(20),o()(),n(21,"mat-list-item"),r(22,"devmx-icon",10),n(23,"div",8),m(24),p(25,"jobLevel"),o()(),n(26,"mat-list-item"),r(27,"devmx-icon",11),n(28,"div",8),m(29),p(30,"jobType"),o()(),f(31,ke,6,3,"mat-list-item"),o(),f(32,Re,5,1,"mat-card-actions",12),n(33,"mat-card-content")(34,"h3"),m(35,"Detalhes"),o(),r(36,"div",13),p(37,"markdown"),p(38,"html"),o(),n(39,"mat-card-content")(40,"h3"),m(41,"Requisitos"),o(),r(42,"div",13),p(43,"markdown"),p(44,"html"),o(),f(45,Be,6,5,"mat-card-content"),n(46,"mat-card-header"),r(47,"img",14),p(48,"photo"),n(49,"mat-card-title"),m(50),o(),n(51,"mat-card-subtitle"),m(52," Organizador "),o()()()),t&2){let e=l;i(5),x(" ",e.title," "),i(2),x("Vaga ",e.active?"aberta":"fechada",""),i(4),g(e.company?11:-1),i(4),y(c(16,15,e.mode)),i(5),x("Contrato ",e.contract,""),i(4),y(c(25,17,e.experience)),i(5),y(c(30,19,e.type)),i(2),g(e.salary!=null&&e.salary.min||e.salary!=null&&e.salary.max?31:-1),i(),g(e.link?32:-1),i(4),d("innerHTML",c(38,23,c(37,21,e.description)),P),i(6),d("innerHTML",c(44,27,c(43,25,e.requirements)),P),i(3),g(e.benefits?45:-1),i(2),d("src",c(48,29,e.owner.profile==null?null:e.owner.profile.photo),T)("alt",e.owner.displayName),i(3),x(" ",e.owner.displayName," ")}}var je=(()=>{class t{route=s(D);jobOpening$=this.route.data.pipe(R(e=>"jobOpening"in e),k(e=>e.jobOpening));static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-job-opening-details"]],decls:2,vars:3,consts:[[1,"job-opening-card"],[1,"job-opening-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"event-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["matListItemIcon","","name","transport/location-pin-alt"],["matListItemTitle",""],["matListItemIcon","","name","doc/check"],["matListItemIcon","","name","doc/shield"],["matListItemIcon","","name","time-loading"],[1,"job-opening-card-actions"],[3,"innerHTML"],["mat-card-avatar","",3,"src","alt"],["matListItemIcon","","name","building/building"],["matListItemIcon","","name","finance/money"],["target","_blank","rel","noopener noreferrer","mat-stroked-button","",3,"href"],["name","external-link"]],template:function(a,u){if(a&1&&(f(0,Ae,53,31,"mat-card",0),p(1,"async")),a&2){let C;g((C=c(1,1,u.jobOpening$))?0:-1,C)}},dependencies:[b,w,be,fe,Ce,he,_e,xe,ue,ge,Z,X,Y,K,W,ne,ee,te,G,Q,ce,de,se,Oe,Me,le,N],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%]{height:100%;box-shadow:none;position:relative}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:1.2em}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .job-opening-card-header[_ngcontent-%COMP%]{justify-content:space-between}[_nghost-%COMP%] .job-opening-card-header[_ngcontent-%COMP%] .mat-mdc-card-header-text{flex:1;justify-self:flex-start}[_nghost-%COMP%] .job-opening-card-actions[_ngcontent-%COMP%] .mdc-button__label{gap:.6em;display:flex;align-items:center}"],changeDetection:0})}return t})();var ze=(t,l)=>l.id,He=()=>[re,I,import("./chunk-QQ3DFMVY.js").then(t=>t.AsyncPipe)],$e=()=>[ve,w],qe=t=>[t],Ve=t=>({right:t}),Ue=t=>({outlets:t}),Ne=t=>["/","carreiras",t];function Qe(t,l){if(t&1&&(n(0,"a",4),r(1,"devmx-job-opening-card",5),o()),t&2){let e=_().$implicit;d("routerLink",O(8,Ne,O(6,Ue,O(4,Ve,O(2,qe,e.id))))),i(),d("data",e)}}function Ge(t,l){t&1&&r(0,"devmx-skeleton",6),t&2&&d("rows",3)}function We(t,l){t&1&&(f(0,Qe,2,10)(1,Ge,1,1),E(2,0,$e,null,1),$(0,-1))}function Ke(t,l){if(t&1){let e=U();n(0,"div",1),q(1,We,4,0,null,null,ze),o(),r(3,"div",2),n(4,"footer")(5,"devmx-paginator",3),j("pageChange",function(u){B(e);let C=_(2);return A(C.onPageChange(u))}),o()()}if(t&2){let e=l;i(),V(e.data),i(4),d("size",10)("items",e.items)}}function Xe(t,l){if(t&1&&(f(0,Ke,6,2),p(1,"async")),t&2){let e,a=_();g((e=c(1,1,a.jobOpeningFacade.response$))?0:-1,e)}}function Ye(t,l){t&1&&(n(0,"div",7),r(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),o()),t&2&&(i(),d("rows",3),i(),d("rows",2),i(),d("rows",3))}var De=(()=>{class t{jobOpeningFacade=s(S);router=s(F);route=s(D);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=e=>{let{page:a=0,size:u=10}=e,{experience:C="",mode:v=""}=e,Se={experience:C,mode:v};this.jobOpeningFacade.setParams({page:a,size:u,filter:Se}),this.jobOpeningFacade.load()};onExperienceFilterChange(e){let a=this.mergeParams({experience:e});this.router.navigate([],{queryParams:a})}onModeFilterChange(e){let a=this.mergeParams({mode:e});this.router.navigate([],{queryParams:a})}mergeParams(e){return J(J({},this.route.snapshot.queryParams),e)}onPageChange(e){this.router.navigate([],{queryParams:e})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-job-openings"]],decls:8,vars:0,consts:[[3,"filterChange"],[1,"job-openings-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"job-opening-card",3,"data"],[3,"rows"],[1,"events-container"]],template:function(a,u){a&1&&(n(0,"header")(1,"div")(2,"devmx-job-opening-experience-filter",0),j("filterChange",function(v){return u.onExperienceFilterChange(v)}),o(),n(3,"devmx-job-opening-mode-filter",0),j("filterChange",function(v){return u.onModeFilterChange(v)}),o()()(),f(4,Xe,2,3)(5,Ye,4,3),E(6,4,He,null,5),H(500))},dependencies:[me,pe,I,b],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] .job-opening-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var Fe=(()=>{class t{router=s(F);destroyRef=s(z);authFacade=s(ye);layoutFacade=s(ie);ngOnInit(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(e=>{e&&(this.layoutFacade.loadNavLinks(e.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(e=>{e===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-career-feature-shell"]],decls:1,vars:0,template:function(a,u){a&1&&r(0,"devmx-layout")},dependencies:[b,oe],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var we=t=>ae(s(S),t.params);var Wt=[{path:"",data:{breadcrumb:"Carreiras"},canActivate:[L("member")],component:Fe,children:[{path:"administracao",canActivate:[L("recruiter","director","manager","staff")],loadChildren:()=>import("./chunk-JALA4ZS3.js").then(t=>t.careerFeatureAdminRoutes)},{path:"",title:"Carreiras",component:De},{path:":id",data:{breadcrumb:t=>t.jobOpening.title},title:"Vaga",resolve:{jobOpening:we},component:je,outlet:"right"}]}];export{Fe as CareerFeatureShellComponent,Wt as careerFeatureShellRoutes}; +import{a as Oe,b as Me}from"./chunk-F7SWVKKK.js";import{a as le}from"./chunk-LJI7J76F.js";import{a as oe}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import{a as L}from"./chunk-Z63MF55O.js";import{b as ie}from"./chunk-RN4QN3AM.js";import{a as me,b as pe}from"./chunk-2CZV2Z3I.js";import{a as ce,b as se,c as ve}from"./chunk-WDHK3HYB.js";import{a as de}from"./chunk-B7ATSCPT.js";import{a as I}from"./chunk-EM27EDGS.js";import{c as re}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import{a as S,c as ae}from"./chunk-HY6WPF2C.js";import"./chunk-4OXAFH6K.js";import"./chunk-OQLD3BC6.js";import"./chunk-SBPBG2DZ.js";import{a as ye}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as M}from"./chunk-366DNJGU.js";import{g as D,i as F,j as w,p as b,r as ee,w as te,x as ne}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as W,e as K,f as X,g as Y,l as Z}from"./chunk-UANEMOTZ.js";import{a as fe,b as ge,c as _e,d as ue,e as Ce,f as xe,h as he,i as be}from"./chunk-BJ2ND26O.js";import{a as G}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as q,Ba as z,F as R,Hc as O,Jc as p,Kc as c,Nb as f,Ob as E,Pb as H,Rb as $,Tb as d,Yb as g,a as J,ac as V,bc as n,cc as o,dc as r,fb as P,gb as T,hc as U,je as N,ka as s,kc as j,lb as i,mc as _,t as k,ta as B,ua as A,ub as h,we as Q,xc as m,yc as y,zc as x}from"./chunk-5L47ZUSK.js";function Te(t,l){if(t&1&&(n(0,"mat-list-item"),r(1,"devmx-icon",15),n(2,"span",8),m(3),o()()),t&2){let e=_();i(3),y(e.company)}}function Ee(t,l){if(t&1&&(m(0),p(1,"currency")),t&2){let e=_(2);x(" ",c(1,1,e.salary==null?null:e.salary.min)," ")}}function Ie(t,l){t&1&&m(0," ~ ")}function Le(t,l){if(t&1&&(m(0),p(1,"currency")),t&2){let e=_(2);x(" ",c(1,1,e.salary==null?null:e.salary.max)," ")}}function ke(t,l){if(t&1&&(n(0,"mat-list-item"),r(1,"devmx-icon",16),n(2,"div",8),f(3,Ee,2,3)(4,Ie,1,0)(5,Le,2,3),o()()),t&2){let e=_();i(3),g(e.salary!=null&&e.salary.min?3:-1),i(),g(e.salary!=null&&e.salary.min&&(e.salary!=null&&e.salary.max)?4:-1),i(),g(e.salary!=null&&e.salary.max?5:-1)}}function Re(t,l){if(t&1&&(n(0,"mat-card-actions",12)(1,"a",17),r(2,"devmx-icon",18),n(3,"span"),m(4,"Candidatar-se"),o()()()),t&2){let e=_();i(),d("href",e.link,T)}}function Be(t,l){if(t&1&&(n(0,"mat-card-content")(1,"h3"),m(2,"Benef\xEDcios"),o(),r(3,"div",13),p(4,"markdown"),p(5,"html"),o()),t&2){let e=_();i(3),d("innerHTML",c(5,3,c(4,1,e.benefits)),P)}}function Ae(t,l){if(t&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),r(3,"devmx-icon",3),o(),n(4,"mat-card-title",4),m(5),o(),n(6,"mat-card-subtitle"),m(7),o(),n(8,"a",5),r(9,"devmx-icon",6),o()(),n(10,"mat-list"),f(11,Te,4,1,"mat-list-item"),n(12,"mat-list-item"),r(13,"devmx-icon",7),n(14,"div",8),m(15),p(16,"jobMode"),o()(),n(17,"mat-list-item"),r(18,"devmx-icon",9),n(19,"div",8),m(20),o()(),n(21,"mat-list-item"),r(22,"devmx-icon",10),n(23,"div",8),m(24),p(25,"jobLevel"),o()(),n(26,"mat-list-item"),r(27,"devmx-icon",11),n(28,"div",8),m(29),p(30,"jobType"),o()(),f(31,ke,6,3,"mat-list-item"),o(),f(32,Re,5,1,"mat-card-actions",12),n(33,"mat-card-content")(34,"h3"),m(35,"Detalhes"),o(),r(36,"div",13),p(37,"markdown"),p(38,"html"),o(),n(39,"mat-card-content")(40,"h3"),m(41,"Requisitos"),o(),r(42,"div",13),p(43,"markdown"),p(44,"html"),o(),f(45,Be,6,5,"mat-card-content"),n(46,"mat-card-header"),r(47,"img",14),p(48,"photo"),n(49,"mat-card-title"),m(50),o(),n(51,"mat-card-subtitle"),m(52," Organizador "),o()()()),t&2){let e=l;i(5),x(" ",e.title," "),i(2),x("Vaga ",e.active?"aberta":"fechada",""),i(4),g(e.company?11:-1),i(4),y(c(16,15,e.mode)),i(5),x("Contrato ",e.contract,""),i(4),y(c(25,17,e.experience)),i(5),y(c(30,19,e.type)),i(2),g(e.salary!=null&&e.salary.min||e.salary!=null&&e.salary.max?31:-1),i(),g(e.link?32:-1),i(4),d("innerHTML",c(38,23,c(37,21,e.description)),P),i(6),d("innerHTML",c(44,27,c(43,25,e.requirements)),P),i(3),g(e.benefits?45:-1),i(2),d("src",c(48,29,e.owner.profile==null?null:e.owner.profile.photo),T)("alt",e.owner.displayName),i(3),x(" ",e.owner.displayName," ")}}var je=(()=>{class t{route=s(D);jobOpening$=this.route.data.pipe(R(e=>"jobOpening"in e),k(e=>e.jobOpening));static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-job-opening-details"]],decls:2,vars:3,consts:[[1,"job-opening-card"],[1,"job-opening-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"event-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["matListItemIcon","","name","transport/location-pin-alt"],["matListItemTitle",""],["matListItemIcon","","name","doc/check"],["matListItemIcon","","name","doc/shield"],["matListItemIcon","","name","time-loading"],[1,"job-opening-card-actions"],[3,"innerHTML"],["mat-card-avatar","",3,"src","alt"],["matListItemIcon","","name","building/building"],["matListItemIcon","","name","finance/money"],["target","_blank","rel","noopener noreferrer","mat-stroked-button","",3,"href"],["name","external-link"]],template:function(a,u){if(a&1&&(f(0,Ae,53,31,"mat-card",0),p(1,"async")),a&2){let C;g((C=c(1,1,u.jobOpening$))?0:-1,C)}},dependencies:[b,w,be,fe,Ce,he,_e,xe,ue,ge,Z,X,Y,K,W,ne,ee,te,G,Q,ce,de,se,Oe,Me,le,N],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%]{height:100%;box-shadow:none;position:relative}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:1.2em}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .job-opening-card-header[_ngcontent-%COMP%]{justify-content:space-between}[_nghost-%COMP%] .job-opening-card-header[_ngcontent-%COMP%] .mat-mdc-card-header-text{flex:1;justify-self:flex-start}[_nghost-%COMP%] .job-opening-card-actions[_ngcontent-%COMP%] .mdc-button__label{gap:.6em;display:flex;align-items:center}"],changeDetection:0})}return t})();var ze=(t,l)=>l.id,He=()=>[re,I,import("./chunk-NAKSAAO7.js").then(t=>t.AsyncPipe)],$e=()=>[ve,w],qe=t=>[t],Ve=t=>({right:t}),Ue=t=>({outlets:t}),Ne=t=>["/","carreiras",t];function Qe(t,l){if(t&1&&(n(0,"a",4),r(1,"devmx-job-opening-card",5),o()),t&2){let e=_().$implicit;d("routerLink",O(8,Ne,O(6,Ue,O(4,Ve,O(2,qe,e.id))))),i(),d("data",e)}}function Ge(t,l){t&1&&r(0,"devmx-skeleton",6),t&2&&d("rows",3)}function We(t,l){t&1&&(f(0,Qe,2,10)(1,Ge,1,1),E(2,0,$e,null,1),$(0,-1))}function Ke(t,l){if(t&1){let e=U();n(0,"div",1),q(1,We,4,0,null,null,ze),o(),r(3,"div",2),n(4,"footer")(5,"devmx-paginator",3),j("pageChange",function(u){B(e);let C=_(2);return A(C.onPageChange(u))}),o()()}if(t&2){let e=l;i(),V(e.data),i(4),d("size",10)("items",e.items)}}function Xe(t,l){if(t&1&&(f(0,Ke,6,2),p(1,"async")),t&2){let e,a=_();g((e=c(1,1,a.jobOpeningFacade.response$))?0:-1,e)}}function Ye(t,l){t&1&&(n(0,"div",7),r(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),o()),t&2&&(i(),d("rows",3),i(),d("rows",2),i(),d("rows",3))}var De=(()=>{class t{jobOpeningFacade=s(S);router=s(F);route=s(D);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=e=>{let{page:a=0,size:u=10}=e,{experience:C="",mode:v=""}=e,Se={experience:C,mode:v};this.jobOpeningFacade.setParams({page:a,size:u,filter:Se}),this.jobOpeningFacade.load()};onExperienceFilterChange(e){let a=this.mergeParams({experience:e});this.router.navigate([],{queryParams:a})}onModeFilterChange(e){let a=this.mergeParams({mode:e});this.router.navigate([],{queryParams:a})}mergeParams(e){return J(J({},this.route.snapshot.queryParams),e)}onPageChange(e){this.router.navigate([],{queryParams:e})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-job-openings"]],decls:8,vars:0,consts:[[3,"filterChange"],[1,"job-openings-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"job-opening-card",3,"data"],[3,"rows"],[1,"events-container"]],template:function(a,u){a&1&&(n(0,"header")(1,"div")(2,"devmx-job-opening-experience-filter",0),j("filterChange",function(v){return u.onExperienceFilterChange(v)}),o(),n(3,"devmx-job-opening-mode-filter",0),j("filterChange",function(v){return u.onModeFilterChange(v)}),o()()(),f(4,Xe,2,3)(5,Ye,4,3),E(6,4,He,null,5),H(500))},dependencies:[me,pe,I,b],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] .job-opening-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var Fe=(()=>{class t{router=s(F);destroyRef=s(z);authFacade=s(ye);layoutFacade=s(ie);ngOnInit(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(e=>{e&&(this.layoutFacade.loadNavLinks(e.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(e=>{e===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=h({type:t,selectors:[["devmx-career-feature-shell"]],decls:1,vars:0,template:function(a,u){a&1&&r(0,"devmx-layout")},dependencies:[b,oe],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var we=t=>ae(s(S),t.params);var Wt=[{path:"",data:{breadcrumb:"Carreiras"},canActivate:[L("member")],component:Fe,children:[{path:"administracao",canActivate:[L("recruiter","director","manager","staff")],loadChildren:()=>import("./chunk-OSS63ZJA.js").then(t=>t.careerFeatureAdminRoutes)},{path:"",title:"Carreiras",component:De},{path:":id",data:{breadcrumb:t=>t.jobOpening.title},title:"Vaga",resolve:{jobOpening:we},component:je,outlet:"right"}]}];export{Fe as CareerFeatureShellComponent,Wt as careerFeatureShellRoutes}; diff --git a/chunk-HGOTYYGI.js b/chunk-46FZR7EY.js similarity index 99% rename from chunk-HGOTYYGI.js rename to chunk-46FZR7EY.js index e15fafd9..c7b14e36 100644 --- a/chunk-HGOTYYGI.js +++ b/chunk-46FZR7EY.js @@ -1 +1 @@ -import{b as yi}from"./chunk-EDIJ2EBQ.js";import{J as hi,Q as pi,T as mi,U as ui,Y as Q,ba as _i,ca as G,fa as vi,ha as gi,q as B,r as li,ra as fi}from"./chunk-W5KNOAKV.js";import{$ as _,D as P,Ea as C,Fa as ii,Fc as M,Ja as F,Ka as ti,Kb as z,Mb as f,Nb as I,Pa as ei,Sb as v,Sc as H,Tb as R,Va as ai,Vb as k,Vc as d,Wb as oi,Wc as V,Yb as S,Z as w,_ as Z,bc as r,cc as s,da as X,dc as y,ed as si,fa as Y,ha as g,ic as T,j as A,ka as n,kc as E,lb as p,nc as D,oc as m,pc as u,qc as ni,rc as l,sc as h,ub as x,va as $,vb as ci,wb as O,xa as L,xc as ri,yc as di,za as J}from"./chunk-TEKHUYWQ.js";var xi=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ii=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Si(a,b){a&1&&(r(0,"span",3),m(1,1),s())}function Ei(a,b){a&1&&(r(0,"span",6),m(1,2),s())}function Di(a,b){a&1&&(r(0,"span",3),m(1,1),r(2,"span",8),$(),r(3,"svg",9),y(4,"path",10),s()()())}function Mi(a,b){a&1&&(r(0,"span",6),m(1,2),s())}var Ai='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}';var ki=["*"],Fi=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",W=new g("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),j=new g("MatChipAvatar"),bi=new g("MatChipTrailingIcon"),wi=new g("MatChipRemove"),U=new g("MatChip"),q=(()=>{class a{_elementRef=n(F);_parentChip=n(U);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(i){this._disabled=i}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){n(B).load(G),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(e){return new(e||a)};static \u0275dir=O({type:a,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,t){e&1&&E("click",function(c){return t._handleClick(c)})("keydown",function(c){return t._handleKeydown(c)}),e&2&&(v("tabindex",t._getTabindex())("disabled",t._getDisabledAttribute())("aria-disabled",t.disabled),k("mdc-evolution-chip__action--primary",t._isPrimary)("mdc-evolution-chip__action--presentational",!t.isInteractive)("mdc-evolution-chip__action--trailing",!t._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",d],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:V(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[f]})}return a})(),mt=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=O({type:a,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[M([{provide:j,useExisting:a}])]})}return a})();var N=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(F);_ngZone=n(ii);_focusMonitor=n(pi);_globalRippleOptions=n(vi,{optional:!0});_document=n(si);_onFocus=new A;_onBlur=new A;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=n(mi).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}_disabled=!1;removed=new C;destroyed=new C;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=n(fi);_injector=n(J);constructor(){n(B).load(G),n(B).load(li);let i=n(ei,{optional:!0});this._animationsDisabled=i==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=P(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(e=>{let t=e._elementRef.nativeElement;return t===i||t.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let e=i!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):ai(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,o){if(e&1&&(u(o,j,5),u(o,bi,5),u(o,wi,5),u(o,j,5),u(o,bi,5),u(o,wi,5)),e&2){let c;l(c=h())&&(t.leadingIcon=c.first),l(c=h())&&(t.trailingIcon=c.first),l(c=h())&&(t.removeIcon=c.first),l(c=h())&&(t._allLeadingIcons=c),l(c=h())&&(t._allTrailingIcons=c),l(c=h())&&(t._allRemoveIcons=c)}},viewQuery:function(e,t){if(e&1&&ni(q,5),e&2){let o;l(o=h())&&(t.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(e,t){e&1&&E("keydown",function(c){return t._handleKeydown(c)}),e&2&&(T("id",t.id),v("role",t.role)("aria-label",t.ariaLabel),oi("mat-"+(t.color||"primary")),k("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",t.leadingIcon)("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-basic-chip",t._isBasicChip)("mat-mdc-standard-chip",!t._isBasicChip)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon())("_mat-animation-noopable",t._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",d],highlighted:[2,"highlighted","highlighted",d],disableRipple:[2,"disableRipple","disableRipple",d],disabled:[2,"disabled","disabled",d]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[M([{provide:U,useExisting:a}]),f],ngContentSelectors:Ii,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,t){e&1&&(D(xi),y(0,"span",0),r(1,"span",1)(2,"span",2),I(3,Si,2,0,"span",3),r(4,"span",4),m(5),y(6,"span",5),s()()(),I(7,Ei,2,0,"span",6)),e&2&&(p(2),R("isInteractive",!1),p(),S(t.leadingIcon?3:-1),p(4),S(t._hasTrailingIcon()?7:-1))},dependencies:[q],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return a})();var Ri=(()=>{class a extends N{_defaultOptions=n(W,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=i,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(i){this._setSelectedState(i,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new C;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(i=!1){return this._setSelectedState(!this.selected,i,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,e,t){i!==this.selected&&(this._selected=i,t&&this.selectionChange.emit({source:this,isUserInput:e,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let i;return function(t){return(i||(i=L(a)))(t||a)}})();static \u0275cmp=x({type:a,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(e,t){e&2&&(T("id",t.id),v("tabindex",null)("aria-label",null)("aria-description",null)("role",t.role),k("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--filter",!t._isBasicChip)("mdc-evolution-chip--selectable",!t._isBasicChip)("mat-mdc-chip-selected",t.selected)("mat-mdc-chip-multiple",t._chipListMultiple)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-chip-with-avatar",t.leadingIcon)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--selected",t.selected)("mdc-evolution-chip--selecting",!t._animationsDisabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-primary-graphic",t._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",d],selected:[2,"selected","selected",d]},outputs:{selectionChange:"selectionChange"},features:[M([{provide:N,useExisting:a},{provide:U,useExisting:a}]),f,z],ngContentSelectors:Ii,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(e,t){e&1&&(D(xi),y(0,"span",0),r(1,"span",1)(2,"button",2),I(3,Di,5,0,"span",3),r(4,"span",4),m(5),y(6,"span",5),s()()(),I(7,Mi,2,0,"span",6),r(8,"span",7),ri(9),s()),e&2&&(p(2),R("_allowFocusWhenDisabled",!0),v("aria-selected",t.ariaSelected)("aria-label",t.ariaLabel)("aria-describedby",t._ariaDescriptionId),p(),S(t._hasLeadingGraphic()?3:-1),p(4),S(t._hasTrailingIcon()?7:-1),p(),R("id",t._ariaDescriptionId),p(),di(t.ariaDescription))},dependencies:[q],styles:[Ai],encapsulation:2,changeDetection:0})}return a})();var Ti=(()=>{class a{_elementRef=n(F);_changeDetectorRef=n(H);_dir=n(ui,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new A;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(i){this._explicitRole=i}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new ti;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips?.forEach(i=>{i._chipListDisabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&ithis._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(w(null),Z(()=>P(...this._chips.map(i))))}_originatesFromChip(i){let e=i.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return!0;e=e.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(w(this._chips)).subscribe(i=>{let e=[];i.forEach(t=>t._getActions().forEach(o=>e.push(o))),this._chipActions.reset(e),this._chipActions.notifyOnChanges()}),this._keyManager=new hi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(_(this._destroyed)).subscribe(({chip:i})=>{let e=i._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e)}),this._dir?.change.pipe(_(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(w(null),_(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(_(this._destroyed)).subscribe(i=>{let t=this._chips.toArray().indexOf(i.chip);this._isValidIndex(t)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=t)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[i];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-chip-set"]],contentQueries:function(e,t,o){if(e&1&&u(o,N,5),e&2){let c;l(c=h())&&(t._chips=c)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,t){e&1&&E("keydown",function(c){return t._handleKeydown(c)}),e&2&&v("role",t.role)},inputs:{disabled:[2,"disabled","disabled",d],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:V(i)]},features:[f],ngContentSelectors:ki,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(D(),r(0,"div",0),m(1),s())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return a})(),K=class{source;value;constructor(b,i){this.source=b,this.value=i}},Bi={provide:yi,useExisting:X(()=>Pi),multi:!0},Pi=(()=>{class a extends Ti{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_pendingInitialValue;_defaultOptions=n(W,{optional:!0});get multiple(){return this._multiple}set multiple(i){this._multiple=i,this._syncListboxProperties()}_multiple=!1;get selected(){let i=this._chips.toArray().filter(e=>e.selected);return this.multiple?i:i[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(i){this._selectable=i,this._syncListboxProperties()}_selectable=!0;compareWith=(i,e)=>i===e;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(i=>i.selectionChange)}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}get value(){return this._value}set value(i){this.writeValue(i),this._value=i}_value;change=new C;_chips=void 0;ngAfterContentInit(){this._pendingInitialValue!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(w(null),_(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(_(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(_(this._destroyed)).subscribe(i=>{this.multiple||this._chips.forEach(e=>{e!==i.source&&e._setSelectedState(!1,!1,!1)}),i.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let i=this._getFirstSelectedChip();i&&!i.disabled?i.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(i){this._chips?this._setSelectionByValue(i,!1):i!=null&&(this._pendingInitialValue=i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_setSelectionByValue(i,e=!0){this._clearSelection(),Array.isArray(i)?i.forEach(t=>this._selectValue(t,e)):this._selectValue(i,e)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(i){i.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let i=null;Array.isArray(this.selected)?i=this.selected.map(e=>e.value):i=this.selected?this.selected.value:void 0,this._value=i,this.change.emit(new K(this,i)),this._onChange(i),this._changeDetectorRef.markForCheck()}_clearSelection(i){this._chips.forEach(e=>{e!==i&&e.deselect()})}_selectValue(i,e){let t=this._chips.find(o=>o.value!=null&&this.compareWith(o.value,i));return t&&(e?t.selectViaInteraction():t.select()),t}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(i=>{i._chipListMultiple=this.multiple,i.chipListSelectable=this._selectable,i._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,i._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(i){return!i.isInteractive}static \u0275fac=(()=>{let i;return function(t){return(i||(i=L(a)))(t||a)}})();static \u0275cmp=x({type:a,selectors:[["mat-chip-listbox"]],contentQueries:function(e,t,o){if(e&1&&u(o,Ri,5),e&2){let c;l(c=h())&&(t._chips=c)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,t){e&1&&E("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(c){return t._keydown(c)}),e&2&&(T("tabIndex",t.disabled||t.empty?-1:t.tabIndex),v("role",t.role)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-multiselectable",t.multiple)("aria-orientation",t.ariaOrientation),k("mat-mdc-chip-list-disabled",t.disabled)("mat-mdc-chip-list-required",t.required))},inputs:{multiple:[2,"multiple","multiple",d],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",d],compareWith:"compareWith",required:[2,"required","required",d],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",d],value:"value"},outputs:{change:"change"},features:[M([Bi]),f,z],ngContentSelectors:ki,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(D(),r(0,"div",0),m(1),s())},styles:[Fi],encapsulation:2,changeDetection:0})}return a})();var ut=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=ci({type:a});static \u0275inj=Y({providers:[_i,{provide:W,useValue:{separatorKeyCodes:[13]}}],imports:[Q,gi,Q]})}return a})();export{mt as a,N as b,Ri as c,Ti as d,Pi as e,ut as f}; +import{b as yi}from"./chunk-E5QACR6S.js";import{L as hi,S as pi,V as mi,W as ui,_ as Q,da as _i,ea as G,ha as vi,ja as gi,s as B,t as li,ta as fi}from"./chunk-CG5OOKZO.js";import{$ as _,D as P,Ea as C,Fa as ii,Fc as M,Ja as F,Ka as ti,Kb as z,Mb as f,Nb as I,Pa as ei,Sb as v,Sc as H,Tb as R,Va as ai,Vb as k,Vc as d,Wb as oi,Wc as V,Yb as S,Z as w,_ as Z,bc as r,cc as s,da as X,dc as y,ed as si,fa as Y,ha as g,ic as T,j as A,ka as n,kc as E,lb as p,nc as D,oc as m,pc as u,qc as ni,rc as l,sc as h,ub as x,va as $,vb as ci,wb as O,xa as L,xc as ri,yc as di,za as J}from"./chunk-5L47ZUSK.js";var xi=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ii=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Si(a,b){a&1&&(r(0,"span",3),m(1,1),s())}function Ei(a,b){a&1&&(r(0,"span",6),m(1,2),s())}function Di(a,b){a&1&&(r(0,"span",3),m(1,1),r(2,"span",8),$(),r(3,"svg",9),y(4,"path",10),s()()())}function Mi(a,b){a&1&&(r(0,"span",6),m(1,2),s())}var Ai='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}';var ki=["*"],Fi=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",W=new g("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),j=new g("MatChipAvatar"),bi=new g("MatChipTrailingIcon"),wi=new g("MatChipRemove"),U=new g("MatChip"),q=(()=>{class a{_elementRef=n(F);_parentChip=n(U);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(i){this._disabled=i}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){n(B).load(G),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(e){return new(e||a)};static \u0275dir=O({type:a,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,t){e&1&&E("click",function(c){return t._handleClick(c)})("keydown",function(c){return t._handleKeydown(c)}),e&2&&(v("tabindex",t._getTabindex())("disabled",t._getDisabledAttribute())("aria-disabled",t.disabled),k("mdc-evolution-chip__action--primary",t._isPrimary)("mdc-evolution-chip__action--presentational",!t.isInteractive)("mdc-evolution-chip__action--trailing",!t._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",d],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:V(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[f]})}return a})(),mt=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=O({type:a,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[M([{provide:j,useExisting:a}])]})}return a})();var N=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(F);_ngZone=n(ii);_focusMonitor=n(pi);_globalRippleOptions=n(vi,{optional:!0});_document=n(si);_onFocus=new A;_onBlur=new A;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=n(mi).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}_disabled=!1;removed=new C;destroyed=new C;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=n(fi);_injector=n(J);constructor(){n(B).load(G),n(B).load(li);let i=n(ei,{optional:!0});this._animationsDisabled=i==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=P(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(e=>{let t=e._elementRef.nativeElement;return t===i||t.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let e=i!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):ai(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,o){if(e&1&&(u(o,j,5),u(o,bi,5),u(o,wi,5),u(o,j,5),u(o,bi,5),u(o,wi,5)),e&2){let c;l(c=h())&&(t.leadingIcon=c.first),l(c=h())&&(t.trailingIcon=c.first),l(c=h())&&(t.removeIcon=c.first),l(c=h())&&(t._allLeadingIcons=c),l(c=h())&&(t._allTrailingIcons=c),l(c=h())&&(t._allRemoveIcons=c)}},viewQuery:function(e,t){if(e&1&&ni(q,5),e&2){let o;l(o=h())&&(t.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(e,t){e&1&&E("keydown",function(c){return t._handleKeydown(c)}),e&2&&(T("id",t.id),v("role",t.role)("aria-label",t.ariaLabel),oi("mat-"+(t.color||"primary")),k("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",t.leadingIcon)("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-basic-chip",t._isBasicChip)("mat-mdc-standard-chip",!t._isBasicChip)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon())("_mat-animation-noopable",t._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",d],highlighted:[2,"highlighted","highlighted",d],disableRipple:[2,"disableRipple","disableRipple",d],disabled:[2,"disabled","disabled",d]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[M([{provide:U,useExisting:a}]),f],ngContentSelectors:Ii,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,t){e&1&&(D(xi),y(0,"span",0),r(1,"span",1)(2,"span",2),I(3,Si,2,0,"span",3),r(4,"span",4),m(5),y(6,"span",5),s()()(),I(7,Ei,2,0,"span",6)),e&2&&(p(2),R("isInteractive",!1),p(),S(t.leadingIcon?3:-1),p(4),S(t._hasTrailingIcon()?7:-1))},dependencies:[q],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return a})();var Ri=(()=>{class a extends N{_defaultOptions=n(W,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=i,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(i){this._setSelectedState(i,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new C;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(i=!1){return this._setSelectedState(!this.selected,i,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,e,t){i!==this.selected&&(this._selected=i,t&&this.selectionChange.emit({source:this,isUserInput:e,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let i;return function(t){return(i||(i=L(a)))(t||a)}})();static \u0275cmp=x({type:a,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(e,t){e&2&&(T("id",t.id),v("tabindex",null)("aria-label",null)("aria-description",null)("role",t.role),k("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--filter",!t._isBasicChip)("mdc-evolution-chip--selectable",!t._isBasicChip)("mat-mdc-chip-selected",t.selected)("mat-mdc-chip-multiple",t._chipListMultiple)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-chip-with-avatar",t.leadingIcon)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--selected",t.selected)("mdc-evolution-chip--selecting",!t._animationsDisabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-primary-graphic",t._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",d],selected:[2,"selected","selected",d]},outputs:{selectionChange:"selectionChange"},features:[M([{provide:N,useExisting:a},{provide:U,useExisting:a}]),f,z],ngContentSelectors:Ii,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(e,t){e&1&&(D(xi),y(0,"span",0),r(1,"span",1)(2,"button",2),I(3,Di,5,0,"span",3),r(4,"span",4),m(5),y(6,"span",5),s()()(),I(7,Mi,2,0,"span",6),r(8,"span",7),ri(9),s()),e&2&&(p(2),R("_allowFocusWhenDisabled",!0),v("aria-selected",t.ariaSelected)("aria-label",t.ariaLabel)("aria-describedby",t._ariaDescriptionId),p(),S(t._hasLeadingGraphic()?3:-1),p(4),S(t._hasTrailingIcon()?7:-1),p(),R("id",t._ariaDescriptionId),p(),di(t.ariaDescription))},dependencies:[q],styles:[Ai],encapsulation:2,changeDetection:0})}return a})();var Ti=(()=>{class a{_elementRef=n(F);_changeDetectorRef=n(H);_dir=n(ui,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new A;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(i){this._explicitRole=i}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new ti;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips?.forEach(i=>{i._chipListDisabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&ithis._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(w(null),Z(()=>P(...this._chips.map(i))))}_originatesFromChip(i){let e=i.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return!0;e=e.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(w(this._chips)).subscribe(i=>{let e=[];i.forEach(t=>t._getActions().forEach(o=>e.push(o))),this._chipActions.reset(e),this._chipActions.notifyOnChanges()}),this._keyManager=new hi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(_(this._destroyed)).subscribe(({chip:i})=>{let e=i._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e)}),this._dir?.change.pipe(_(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(w(null),_(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(_(this._destroyed)).subscribe(i=>{let t=this._chips.toArray().indexOf(i.chip);this._isValidIndex(t)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=t)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[i];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-chip-set"]],contentQueries:function(e,t,o){if(e&1&&u(o,N,5),e&2){let c;l(c=h())&&(t._chips=c)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,t){e&1&&E("keydown",function(c){return t._handleKeydown(c)}),e&2&&v("role",t.role)},inputs:{disabled:[2,"disabled","disabled",d],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:V(i)]},features:[f],ngContentSelectors:ki,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(D(),r(0,"div",0),m(1),s())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return a})(),K=class{source;value;constructor(b,i){this.source=b,this.value=i}},Bi={provide:yi,useExisting:X(()=>Pi),multi:!0},Pi=(()=>{class a extends Ti{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_pendingInitialValue;_defaultOptions=n(W,{optional:!0});get multiple(){return this._multiple}set multiple(i){this._multiple=i,this._syncListboxProperties()}_multiple=!1;get selected(){let i=this._chips.toArray().filter(e=>e.selected);return this.multiple?i:i[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(i){this._selectable=i,this._syncListboxProperties()}_selectable=!0;compareWith=(i,e)=>i===e;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(i=>i.selectionChange)}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}get value(){return this._value}set value(i){this.writeValue(i),this._value=i}_value;change=new C;_chips=void 0;ngAfterContentInit(){this._pendingInitialValue!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(w(null),_(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(_(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(_(this._destroyed)).subscribe(i=>{this.multiple||this._chips.forEach(e=>{e!==i.source&&e._setSelectedState(!1,!1,!1)}),i.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let i=this._getFirstSelectedChip();i&&!i.disabled?i.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(i){this._chips?this._setSelectionByValue(i,!1):i!=null&&(this._pendingInitialValue=i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_setSelectionByValue(i,e=!0){this._clearSelection(),Array.isArray(i)?i.forEach(t=>this._selectValue(t,e)):this._selectValue(i,e)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(i){i.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let i=null;Array.isArray(this.selected)?i=this.selected.map(e=>e.value):i=this.selected?this.selected.value:void 0,this._value=i,this.change.emit(new K(this,i)),this._onChange(i),this._changeDetectorRef.markForCheck()}_clearSelection(i){this._chips.forEach(e=>{e!==i&&e.deselect()})}_selectValue(i,e){let t=this._chips.find(o=>o.value!=null&&this.compareWith(o.value,i));return t&&(e?t.selectViaInteraction():t.select()),t}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(i=>{i._chipListMultiple=this.multiple,i.chipListSelectable=this._selectable,i._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,i._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(i){return!i.isInteractive}static \u0275fac=(()=>{let i;return function(t){return(i||(i=L(a)))(t||a)}})();static \u0275cmp=x({type:a,selectors:[["mat-chip-listbox"]],contentQueries:function(e,t,o){if(e&1&&u(o,Ri,5),e&2){let c;l(c=h())&&(t._chips=c)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,t){e&1&&E("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(c){return t._keydown(c)}),e&2&&(T("tabIndex",t.disabled||t.empty?-1:t.tabIndex),v("role",t.role)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-multiselectable",t.multiple)("aria-orientation",t.ariaOrientation),k("mat-mdc-chip-list-disabled",t.disabled)("mat-mdc-chip-list-required",t.required))},inputs:{multiple:[2,"multiple","multiple",d],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",d],compareWith:"compareWith",required:[2,"required","required",d],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",d],value:"value"},outputs:{change:"change"},features:[M([Bi]),f,z],ngContentSelectors:ki,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(D(),r(0,"div",0),m(1),s())},styles:[Fi],encapsulation:2,changeDetection:0})}return a})();var ut=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=ci({type:a});static \u0275inj=Y({providers:[_i,{provide:W,useValue:{separatorKeyCodes:[13]}}],imports:[Q,gi,Q]})}return a})();export{mt as a,N as b,Ri as c,Ti as d,Pi as e,ut as f}; diff --git a/chunk-DUF4HXV7.js b/chunk-4GWBJQXV.js similarity index 67% rename from chunk-DUF4HXV7.js rename to chunk-4GWBJQXV.js index 915a3896..fc9f7525 100644 --- a/chunk-DUF4HXV7.js +++ b/chunk-4GWBJQXV.js @@ -1 +1 @@ -import{e,j as o,l as r}from"./chunk-EDIJ2EBQ.js";var n=class extends o{constructor(){super({id:new r("",{nonNullable:!0}),name:new r("",{nonNullable:!0,validators:[e.required]})})}};export{n as a}; +import{e,j as o,l as r}from"./chunk-E5QACR6S.js";var n=class extends o{constructor(){super({id:new r("",{nonNullable:!0}),name:new r("",{nonNullable:!0,validators:[e.required]})})}};export{n as a}; diff --git a/chunk-MLNPCJDD.js b/chunk-4OXAFH6K.js similarity index 98% rename from chunk-MLNPCJDD.js rename to chunk-4OXAFH6K.js index a8400115..c6f27a79 100644 --- a/chunk-MLNPCJDD.js +++ b/chunk-4OXAFH6K.js @@ -1 +1 @@ -import{Y as A}from"./chunk-W5KNOAKV.js";import{Ea as f,Fa as u,Ja as _,Mb as y,Nb as x,Pa as b,Sb as k,Sc as X,Ub as l,Vb as w,Wb as E,Wc as c,Yb as M,bc as o,cc as m,dc as t,fa as p,ha as g,ka as i,lb as s,ub as h,vb as v}from"./chunk-TEKHUYWQ.js";function R(e,d){e&1&&t(0,"div",2)}var C=new g("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var F=(()=>{class e{_elementRef=i(_);_ngZone=i(u);_changeDetectorRef=i(X);_animationMode=i(b,{optional:!0});constructor(){let r=i(C,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations",r&&(r.color&&(this.color=this._defaultColor=r.color),this.mode=r.mode||this.mode)}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor}set color(r){this._color=r}_color;_defaultColor="primary";get value(){return this._value}set value(r){this._value=B(r||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(r){this._bufferValue=B(r||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new f;get mode(){return this._mode}set mode(r){this._mode=r,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=r=>{this.animationEnd.observers.length===0||!r.target||!r.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(n){return new(n||e)};static \u0275cmp=h({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,a){n&2&&(k("aria-valuenow",a._isIndeterminate()?null:a.value)("mode",a.mode),E("mat-"+a.color),w("_mat-animation-noopable",a._isNoopAnimation)("mdc-linear-progress--animation-ready",!a._isNoopAnimation)("mdc-linear-progress--indeterminate",a._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",c],bufferValue:[2,"bufferValue","bufferValue",c],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[y],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,a){n&1&&(o(0,"div",0),t(1,"div",1),x(2,R,1,0,"div",2),m(),o(3,"div",3),t(4,"span",4),m(),o(5,"div",5),t(6,"span",4),m()),n&2&&(s(),l("flex-basis",a._getBufferBarFlexBasis()),s(),M(a.mode==="buffer"?2:-1),s(),l("transform",a._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}return e})();function B(e,d=0,r=100){return Math.max(d,Math.min(r,e))}var L=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=v({type:e});static \u0275inj=p({imports:[A]})}return e})();export{F as a,L as b}; +import{_ as A}from"./chunk-CG5OOKZO.js";import{Ea as f,Fa as u,Ja as _,Mb as y,Nb as x,Pa as b,Sb as k,Sc as X,Ub as l,Vb as w,Wb as E,Wc as c,Yb as M,bc as o,cc as m,dc as t,fa as p,ha as g,ka as i,lb as s,ub as h,vb as v}from"./chunk-5L47ZUSK.js";function R(e,d){e&1&&t(0,"div",2)}var C=new g("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var F=(()=>{class e{_elementRef=i(_);_ngZone=i(u);_changeDetectorRef=i(X);_animationMode=i(b,{optional:!0});constructor(){let r=i(C,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations",r&&(r.color&&(this.color=this._defaultColor=r.color),this.mode=r.mode||this.mode)}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor}set color(r){this._color=r}_color;_defaultColor="primary";get value(){return this._value}set value(r){this._value=B(r||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(r){this._bufferValue=B(r||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new f;get mode(){return this._mode}set mode(r){this._mode=r,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=r=>{this.animationEnd.observers.length===0||!r.target||!r.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(n){return new(n||e)};static \u0275cmp=h({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,a){n&2&&(k("aria-valuenow",a._isIndeterminate()?null:a.value)("mode",a.mode),E("mat-"+a.color),w("_mat-animation-noopable",a._isNoopAnimation)("mdc-linear-progress--animation-ready",!a._isNoopAnimation)("mdc-linear-progress--indeterminate",a._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",c],bufferValue:[2,"bufferValue","bufferValue",c],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[y],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,a){n&1&&(o(0,"div",0),t(1,"div",1),x(2,R,1,0,"div",2),m(),o(3,"div",3),t(4,"span",4),m(),o(5,"div",5),t(6,"span",4),m()),n&2&&(s(),l("flex-basis",a._getBufferBarFlexBasis()),s(),M(a.mode==="buffer"?2:-1),s(),l("transform",a._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}return e})();function B(e,d=0,r=100){return Math.max(d,Math.min(r,e))}var L=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=v({type:e});static \u0275inj=p({imports:[A]})}return e})();export{F as a,L as b}; diff --git a/chunk-7O2H2TAM.js b/chunk-4YGLTYA3.js similarity index 99% rename from chunk-7O2H2TAM.js rename to chunk-4YGLTYA3.js index 9ec37c34..68977c21 100644 --- a/chunk-7O2H2TAM.js +++ b/chunk-4YGLTYA3.js @@ -1 +1 @@ -import{A as Mt,B as Ft,y as Nt}from"./chunk-6BGAZ7SQ.js";import{N as kt,O as Ot,T as Lt,U as Q,i as I,m as M,o as x,q as Tt,u as J,v as Ct,x as D}from"./chunk-W5KNOAKV.js";import{$ as y,C as ut,D as k,Ea as m,Eb as Rt,Fa as O,Fb as $,Fc as R,Ja as L,L as ft,Mb as N,Sb as It,Sc as Y,Va as bt,Vb as K,Vc as b,Wc as xt,Z as j,_ as mt,ba as vt,e as P,ea as q,ed as X,fa as Dt,g as W,ha as w,j as _,k as _t,ka as h,m as pt,ob as St,sa as wt,t as gt,ub as yt,vb as Et,wb as E,za as Pt}from"./chunk-TEKHUYWQ.js";function Qt(r){let e=r.cloneNode(!0),t=e.querySelectorAll("[id]"),i=r.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s=i&&t<=s&&e>=n&&e<=o}function C(r,e,t){r.top+=e,r.bottom=r.top+r.height,r.left+=t,r.right=r.left+r.width}function Vt(r,e,t,i){let{top:s,right:n,bottom:o,left:a,width:l,height:c}=r,d=l*e,g=c*e;return i>s-g&&ia-d&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:ot(t)})})}handleScroll(e){let t=x(e),i=this.positions.get(t);if(!i)return null;let s=i.scrollPosition,n,o;if(t===this._document){let c=this.getViewportScrollPosition();n=c.top,o=c.left}else n=t.scrollTop,o=t.scrollLeft;let a=s.top-n,l=s.left-o;return this.positions.forEach((c,d)=>{c.clientRect&&t!==d&&t.contains(d)&&C(c.clientRect,a,l)}),s.top=n,s.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function te(r,e){let t=r.rootNodes;if(t.length===1&&t[0].nodeType===e.ELEMENT_NODE)return t[0];let i=e.createElement("div");return t.forEach(s=>i.appendChild(s)),i}function at(r,e,t){for(let i in e)if(e.hasOwnProperty(i)){let s=e[i];s?r.setProperty(i,s,t?.has(i)?"important":""):r.removeProperty(i)}return r}function S(r,e){let t=e?"":"none";at(r.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function Gt(r,e,t){at(r.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function z(r,e){return e&&e!="none"?r+" "+e:r}function Bt(r,e){r.style.width=`${e.width}px`,r.style.height=`${e.height}px`,r.style.transform=V(e.left,e.top)}function V(r,e){return`translate3d(${Math.round(r)}px, ${Math.round(e)}px, 0)`}function Ut(r){let e=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*e}function _e(r){let e=getComputedStyle(r),t=tt(e,"transition-property"),i=t.find(a=>a==="transform"||a==="all");if(!i)return 0;let s=t.indexOf(i),n=tt(e,"transition-duration"),o=tt(e,"transition-delay");return Ut(n[s])+Ut(o[s])}function tt(r,e){return r.getPropertyValue(e).split(",").map(i=>i.trim())}var pe=new Set(["position"]),it=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(e,t,i,s,n,o,a,l,c){this._document=e,this._rootElement=t,this._direction=i,this._initialDomRect=s,this._previewTemplate=n,this._previewClass=o,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=c}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),Zt(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return _e(this._preview)}addEventListener(e,t){this._preview.addEventListener(e,t)}removeEventListener(e,t){this._preview.removeEventListener(e,t)}_createPreview(){let e=this._previewTemplate,t=this._previewClass,i=e?e.template:null,s;if(i&&e){let n=e.matchSize?this._initialDomRect:null,o=e.viewContainer.createEmbeddedView(i,e.context);o.detectChanges(),s=te(o,this._document),this._previewEmbeddedView=o,e.matchSize?Bt(s,n):s.style.transform=V(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=Qt(this._rootElement),Bt(s,this._initialDomRect),this._initialTransform&&(s.style.transform=this._initialTransform);return at(s.style,{"pointer-events":"none",margin:Zt(s)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},pe),S(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("popover","manual"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(n=>s.classList.add(n)):s.classList.add(t)),s}};function Zt(r){return"showPopover"in r}var Wt=I({passive:!0}),F=I({passive:!1}),jt=I({passive:!1,capture:!0}),ge=800,qt=new Set(["position"]),st=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_anchor;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=$(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new _;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>S(t,e)))}_disabled=!1;beforeStarted=new _;started=new _;released=new _;ended=new _;entered=new _;exited=new _;dropped=new _;moved=this._moveEvents;data;constrainPosition;constructor(e,t,i,s,n,o){this._config=t,this._document=i,this._ngZone=s,this._viewportRuler=n,this._dragDropRegistry=o,this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new H(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(i=>D(i)),this._handles.forEach(i=>S(i,this.disabled)),this._toggleNativeDragInteractions();let t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let t=D(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,F),t.addEventListener("touchstart",this._pointerDown,Wt),t.addEventListener("dragstart",this._nativeDragStart,F)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?D(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),S(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),S(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Kt,jt)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)};_pointerMove=e=>{let t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging()){let s=Math.abs(t.x-this._pickupPositionOnPage.x),n=Math.abs(t.y-this._pickupPositionOnPage.y);if(s+n>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),l=this._dropContainer;if(!a){this._endDragSequence(e);return}(!l||!l.isDragging()&&!l.isReceiving())&&(e.cancelable&&e.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(e)))}return}e.cancelable&&e.preventDefault();let i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,t);else{let s=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,n=this._activeTransform;n.x=i.x-s.x+this._passiveTransform.x,n.y=i.y-s.y+this._passiveTransform.y,this._applyRootElementTransform(n.x,n.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=e=>{this._endDragSequence(e)};_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){T(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",Kt,jt)}),i){let s=this._rootElement,n=s.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(a,s),this._initialTransform=s.style.transform||"",this._preview=new it(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(n,t)),Gt(s,!1,qt),this._document.body.appendChild(n.replaceChild(o,s)),this.started.next({source:this,event:e}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();let i=this.isDragging(),s=T(t),n=!s&&t.button!==0,o=this._rootElement,a=x(t),l=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+ge>Date.now(),c=s?Ot(t):kt(t);if(a&&a.draggable&&t.type==="mousedown"&&t.preventDefault(),i||n||l||c)return;if(this._handles.length){let v=o.style;this._rootElementTapHighlight=v.webkitTapHighlightColor||"",v.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(v=>this._updateOnScroll(v)),this._boundaryElement&&(this._boundaryRect=ot(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);let g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){Gt(this._rootElement,!0,qt),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let t=this._dropContainer,i=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),n=this._getDragDistance(s),o=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:n,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:n,dropPoint:s,event:e}),t.drop(this,i,this._initialIndex,this._initialContainer,o,n,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:i,y:s}){let n=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,e,t,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let t=this._preview.getTransitionDuration();return t===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let s=o=>{(!o||this._preview&&x(o)===this._preview.element&&o.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",s),i(),clearTimeout(n))},n=setTimeout(s,t*1.5);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,t=e?e.template:null,i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=te(this._placeholderRef,this._document)):i=Qt(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(e,t,i){let s=t===this._rootElement?null:t,n=s?s.getBoundingClientRect():e,o=T(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=o.pageX-n.left-a.left,c=o.pageY-n.top-a.top;return{x:n.left-e.left+l,y:n.top-e.top+c}}_getPointerPositionOnPage(e){let t=this._getViewportScrollPosition(),i=T(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=i.pageX-t.left,n=i.pageY-t.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let a=this._ownerSVGElement.createSVGPoint();return a.x=s,a.y=n,a.matrixTransform(o.inverse())}}return{x:s,y:n}}_getConstrainedPointerPosition(e){let t=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||t==="x"?s=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||t==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:n,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),d=a.top+o,g=a.bottom-(c-o),v=a.left+n,U=a.right-(l-n);i=$t(i,v,U),s=$t(s,d,g)}return{x:i,y:s}}_updatePointerDirectionDelta(e){let{x:t,y:i}=e,s=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-n.x),a=Math.abs(i-n.y);return o>this._config.pointerDirectionChangeThreshold&&(s.x=t>n.x?1:-1,n.x=t),a>this._config.pointerDirectionChangeThreshold&&(s.y=i>n.y?1:-1,n.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,S(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,F),e.removeEventListener("touchstart",this._pointerDown,Wt),e.removeEventListener("dragstart",this._nativeDragStart,F)}_applyRootElementTransform(e,t){let i=1/this.scale,s=V(e*i,t*i),n=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=n.transform&&n.transform!="none"?n.transform:""),n.transform=z(s,this._initialTransform)}_applyPreviewTransform(e,t){let i=this._previewTemplate?.template?void 0:this._initialTransform,s=V(e,t);this._preview.setTransform(z(s,i))}_getDragDistance(e){let t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(e===0&&t===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(s.width===0&&s.height===0||i.width===0&&i.height===0)return;let n=s.left-i.left,o=i.right-s.right,a=s.top-i.top,l=i.bottom-s.bottom;s.width>i.width?(n>0&&(e+=n),o>0&&(e-=o)):e=0,s.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){let t=this.dragStartDelay;return typeof t=="number"?t:T(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){let t=this._parentPositions.handleScroll(e);if(t){let i=x(e);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&C(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=M(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){let i=this._previewContainer||"global";if(i==="parent")return e;if(i==="global"){let s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return D(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=e=>{if(this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&e.preventDefault()}else this.disabled||e.preventDefault()};_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}};function $t(r,e,t){return Math.max(e,Math.min(t,r))}function T(r){return r.type[0]==="t"}function Kt(r){r.preventDefault()}function ee(r,e,t){let i=Yt(e,r.length-1),s=Yt(t,r.length-1);if(i===s)return;let n=r[i],o=s0)return null;let a=this.orientation==="horizontal",l=n.findIndex(u=>u.drag===e),c=n[o],d=n[l].clientRect,g=c.clientRect,v=l>o?1:-1,U=this._getItemOffsetPx(d,g,v),le=this._getSiblingOffsetPx(l,n,v),ce=n.slice();return ee(n,l,o),n.forEach((u,he)=>{if(ce[he]===u)return;let ct=u.drag===e,Z=ct?U:le,ht=ct?e.getPlaceholderElement():u.drag.getRootElement();u.offset+=Z;let dt=Math.round(u.offset*(1/u.drag.scale));a?(ht.style.transform=z(`translate3d(${dt}px, 0, 0)`,u.initialTransform),C(u.clientRect,0,Z)):(ht.style.transform=z(`translate3d(0, ${dt}px, 0)`,u.initialTransform),C(u.clientRect,Z,0))}),this._previousSwap.overlaps=et(g,t,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?s.x:s.y,{previousIndex:l,currentIndex:o}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s,o=this._activeDraggables,a=o.indexOf(e),l=e.getPlaceholderElement(),c=o[n];if(c===e&&(c=o[n+1]),!c&&(n==null||n===-1||n-1&&o.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){let d=c.getRootElement();d.parentElement.insertBefore(l,d),o.splice(n,0,e)}else this._element.appendChild(l),o.push(e);l.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables?.forEach(e=>{let t=e.getRootElement();if(t){let i=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:i})=>{C(i,e,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(t=>{let i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:ot(i)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getItemOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=s?t.left-e.left:t.top-e.top;return i===-1&&(n+=s?t.width-e.width:t.height-e.height),n}_getSiblingOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=t[e].clientRect,o=t[e+i*-1],a=n[s?"width":"height"]*i;if(o){let l=s?"left":"top",c=s?"right":"bottom";i===-1?a-=o.clientRect[l]-n[c]:a+=n[l]-o.clientRect[c]}return a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,s=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return s?e>=o.right:t>=o.bottom}else{let o=i[0].clientRect;return s?e<=o.left:t<=o.top}}_getItemIndexFromPointerPosition(e,t,i,s){let n=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(s){let c=n?s.x:s.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return n?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&il?d.after(c):d.before(c),ee(this._activeItems,l,n);let g=this._getRootNode().elementFromPoint(t,i);return o.deltaX=s.x,o.deltaY=s.y,o.drag=a,o.overlaps=d===g||d.contains(g),{previousIndex:l,currentIndex:n}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s;n===-1&&(n=this._getClosestItemIndexToPointer(e,t,i));let o=this._activeItems[n],a=this._activeItems.indexOf(e);a>-1&&this._activeItems.splice(a,1),o&&!this._dragDropRegistry.isDragging(o)?(this._activeItems.splice(n,0,e),o.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,t=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[s,n]=this._relatedNodes[i];s.parentNode===e&&s.nextSibling!==n&&(n===null?e.appendChild(s):n.parentNode===e&&e.insertBefore(s,n))}this._relatedNodes=[],this._activeItems=[],t.drag=null,t.deltaX=t.deltaY=0,t.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,t,i){let s=this._getRootNode().elementFromPoint(Math.floor(t),Math.floor(i)),n=s?this._activeItems.findIndex(o=>{let a=o.getRootElement();return s===a||a.contains(s)}):-1;return n===-1||!this._sortPredicate(n,e)?-1:n}_getRootNode(){return this._rootNode||(this._rootNode=M(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,t,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let s=1/0,n=-1;for(let o=0;o!0;sortPredicate=()=>!0;beforeStarted=new _;entered=new _;exited=new _;dropped=new _;sorted=new _;receivingStarted=new _;receivingStopped=new _;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=f.NONE;_horizontalScrollDirection=p.NONE;_scrollNode;_stopScrollTimers=new _;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(e,t,i,s,n){this._dragDropRegistry=t,this._ngZone=s,this._viewportRuler=n;let o=this.element=D(e);this._document=i,this.withOrientation("vertical").withElementContainer(o),t.registerDropContainer(this),this._parentPositions=new H(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,i,s){this._draggingStarted(),s==null&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,i,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,i,s,n,o,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:n,distance:o,dropPoint:a,event:l})}withItems(e){let t=this._draggables;return this._draggables=e,e.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>e.indexOf(s)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof G&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new nt(this._document,this._dragDropRegistry);else{let t=new G(this._dragDropRegistry);t.direction=this._direction,t.orientation=e,this._sortStrategy=t}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((t,i)=>this.sortPredicate(t,i,this)),this}withScrollableParents(e){let t=this._container;return this._scrollableElements=e.indexOf(t)===-1?[t,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let t=D(this.element),i=this._scrollableElements.indexOf(this._container),s=this._scrollableElements.indexOf(e);return i>-1&&this._scrollableElements.splice(i,1),s>-1&&this._scrollableElements.splice(s,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,s){if(this.sortingDisabled||!this._domRect||!Vt(this._domRect,Xt,t,i))return;let n=this._sortStrategy.sort(e,t,i,s);n&&this.sorted.next({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,s=f.NONE,n=p.NONE;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||Vt(o.clientRect,Xt,e,t)&&([s,n]=ue(a,o.clientRect,this._direction,e,t),(s||n)&&(i=a))}),!s&&!n){let{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};s=se(l,t),n=ne(l,e),i=window}i&&(s!==this._verticalScrollDirection||n!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=n,this._scrollNode=i,(s||n)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),ut(0,pt).pipe(y(this._stopScrollTimers)).subscribe(()=>{let e=this._scrollNode,t=this.autoScrollStep;this._verticalScrollDirection===f.UP?e.scrollBy(0,-t):this._verticalScrollDirection===f.DOWN&&e.scrollBy(0,t),this._horizontalScrollDirection===p.LEFT?e.scrollBy(-t,0):this._horizontalScrollDirection===p.RIGHT&&e.scrollBy(t,0)})};_isOverContainer(e,t){return this._domRect!=null&&et(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(s=>s._canReceive(e,t,i))}_canReceive(e,t,i){if(!this._domRect||!et(this._domRect,t,i)||!this.enterPredicate(e,this))return!1;let s=this._getShadowRoot().elementFromPoint(t,i);return s?s===this._container||this._container.contains(s):!1}_startReceiving(e,t){let i=this._activeSiblings;!i.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=M(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}};function se(r,e){let{top:t,bottom:i,height:s}=r,n=s*ie;return e>=t-n&&e<=t+n?f.UP:e>=i-n&&e<=i+n?f.DOWN:f.NONE}function ne(r,e){let{left:t,right:i,width:s}=r,n=s*ie;return e>=t-n&&e<=t+n?p.LEFT:e>=i-n&&e<=i+n?p.RIGHT:p.NONE}function ue(r,e,t,i,s){let n=se(e,s),o=ne(e,i),a=f.NONE,l=p.NONE;if(n){let c=r.scrollTop;n===f.UP?c>0&&(a=f.UP):r.scrollHeight-c>r.clientHeight&&(a=f.DOWN)}if(o){let c=r.scrollLeft;t==="rtl"?o===p.RIGHT?c<0&&(l=p.RIGHT):r.scrollWidth+c>r.clientWidth&&(l=p.LEFT):o===p.LEFT?c>0&&(l=p.LEFT):r.scrollWidth-c>r.clientWidth&&(l=p.RIGHT)}return[a,l]}var A=I({passive:!1,capture:!0}),fe=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=yt({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,s){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0})}return r})(),me=(()=>{class r{_ngZone=h(O);_document=h(X);_styleLoader=h(Tt);_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=$([]);_globalListeners=new Map;_draggingPredicate=t=>t.isDragging();pointerMove=new _;pointerUp=new _;scroll=new _;constructor(){}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,A)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,A)}startDragging(t,i){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._styleLoader.load(fe),this._activeDragInstances.update(s=>[...s,t]),this._activeDragInstances().length===1)){let s=i.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:n=>this.pointerUp.next(n),options:!0}).set("scroll",{handler:n=>this.scroll.next(n),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:A}),s||this._globalListeners.set("mousemove",{handler:n=>this.pointerMove.next(n),options:A}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((n,o)=>{this._document.addEventListener(o,n.handler,n.options)})})}}stopDragging(t){this._activeDragInstances.update(i=>{let s=i.indexOf(t);return s>-1?(i.splice(s,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let i=[this.scroll];return t&&t!==this._document&&i.push(new W(s=>this._ngZone.runOutsideAngular(()=>{let o=a=>{this._activeDragInstances().length&&s.next(a)};return t.addEventListener("scroll",o,!0),()=>{t.removeEventListener("scroll",o,!0)}}))),k(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=t=>{this._activeDragInstances().length>0&&t.preventDefault()};_persistentTouchmoveListener=t=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))};_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}static \u0275fac=function(i){return new(i||r)};static \u0275prov=q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ve={dragStartThreshold:5,pointerDirectionChangeThreshold:5},lt=(()=>{class r{_document=h(X);_ngZone=h(O);_viewportRuler=h(Mt);_dragDropRegistry=h(me);constructor(){}createDrag(t,i=ve){return new st(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new rt(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),B=new w("CDK_DRAG_PARENT");var re=new w("CdkDragHandle"),Ve=(()=>{class r{element=h(L);_parentDrag=h(B,{optional:!0,skipSelf:!0});_stateChanges=new _;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._stateChanges.next(this)}_disabled=!1;constructor(){this._parentDrag?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",b]},features:[R([{provide:re,useExisting:r}]),N]})}return r})(),oe=new w("CDK_DRAG_CONFIG"),De="cdk-drag",ae=new w("CdkDropList"),Ge=(()=>{class r{element=h(L);dropContainer=h(ae,{optional:!0,skipSelf:!0});_ngZone=h(O);_viewContainerRef=h(Rt);_dir=h(Q,{optional:!0});_changeDetectorRef=h(Y);_selfHandle=h(re,{optional:!0,self:!0});_parentDrag=h(B,{optional:!0,skipSelf:!0});_destroyed=new _;static _dragInstances=[];_handles=new _t([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new m;released=new m;ended=new m;entered=new m;exited=new m;dropped=new m;moved=new W(t=>{let i=this._dragRef.moved.pipe(gt(s=>({source:this,pointerPosition:s.pointerPosition,event:s.event,delta:s.delta,distance:s.distance}))).subscribe(t);return()=>{i.unsubscribe()}});_injector=h(Pt);constructor(){let t=this.dropContainer,i=h(oe,{optional:!0}),s=h(lt);this._dragRef=s.createDrag(this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,r._dragInstances.push(this),i&&this._assignDefaults(i),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this),t._dropListRef.beforeStarted.pipe(y(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){bt(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(t){let i=t.rootElementSelector,s=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let t=r._dragInstances.indexOf(this);t>-1&&r._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){let i=this._handles.getValue();i.push(t),this._handles.next(i)}_removeHandle(t){let i=this._handles.getValue(),s=i.indexOf(t);s>-1&&(i.splice(s,1),this._handles.next(i))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let t=this.element.nativeElement,i=t;this.rootElementSelector&&(i=t.closest!==void 0?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||t)}_getBoundaryElement(){let t=this.boundaryElement;return t?typeof t=="string"?this.element.nativeElement.closest(t):D(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){let i=this._dir,s=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.scale=this.scale,t.dragStartDelay=typeof s=="object"&&s?s:J(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe(ft(1)).subscribe(()=>{if(this._parentDrag){t.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(De)){t.withParent(r._dragInstances.find(s=>s.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){let{lockAxis:i,dragStartDelay:s,constrainPosition:n,previewClass:o,boundaryElement:a,draggingDisabled:l,rootElementSelector:c,previewContainer:d}=t;this.disabled=l??!1,this.dragStartDelay=s||0,i&&(this.lockAxis=i),n&&(this.constrainPosition=n),o&&(this.previewClass=o),a&&(this.boundaryElement=a),c&&(this.rootElementSelector=c),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.pipe(vt(t=>{let i=t.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),mt(t=>k(...t.map(i=>i._stateChanges.pipe(j(i))))),y(this._destroyed)).subscribe(t=>{let i=this._dragRef,s=t.element.nativeElement;t.disabled?i.disableHandle(s):i.enableHandle(s)})}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,s){i&2&&K("cdk-drag-disabled",s.disabled)("cdk-drag-dragging",s._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",b],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",xt]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[R([{provide:B,useExisting:r}]),N,wt]})}return r})(),Jt=new w("CdkDropListGroup");var Be=(()=>{class r{element=h(L);_changeDetectorRef=h(Y);_scrollDispatcher=h(Nt);_dir=h(Q,{optional:!0});_group=h(Jt,{optional:!0,skipSelf:!0});_destroyed=new _;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=h(Lt).getId("cdk-drop-list-");lockAxis;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=t}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;dropped=new m;entered=new m;exited=new m;sorted=new m;_unsortedItems=new Set;constructor(){let t=h(lt),i=h(oe,{optional:!0});this._dropListRef=t.createDropList(this.element),this._dropListRef.data=this,i&&this._assignDefaults(i),this._dropListRef.enterPredicate=(s,n)=>this.enterPredicate(s.data,n.data),this._dropListRef.sortPredicate=(s,n,o)=>this.sortPredicate(s,n.data,o.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),r._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,i)=>t._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let t=r._dropLists.indexOf(this);t>-1&&r._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(j(this._dir.value),y(this._destroyed)).subscribe(i=>t.withDirection(i)),t.beforeStarted.subscribe(()=>{let i=Ct(this.connectedTo).map(s=>{if(typeof s=="string"){let n=r._dropLists.find(o=>o.id===s);return n}return s});if(this._group&&this._group._items.forEach(s=>{i.indexOf(s)===-1&&i.push(s)}),!this._scrollableParentsResolved){let s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(n=>n.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let s=this.element.nativeElement.querySelector(this.elementContainerSelector);t.withElementContainer(s)}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=this.sortingDisabled,t.autoScrollDisabled=this.autoScrollDisabled,t.autoScrollStep=J(this.autoScrollStep,2),t.connectedTo(i.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),k(t.receivingStarted,t.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(t){let{lockAxis:i,draggingDisabled:s,sortingDisabled:n,listAutoScrollDisabled:o,listOrientation:a}=t;this.disabled=s??!1,this.sortingDisabled=n??!1,this.autoScrollDisabled=o??!1,this.orientation=a||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,s){i&2&&(It("id",s.id),K("cdk-drop-list-disabled",s.disabled)("cdk-drop-list-dragging",s._dropListRef.isDragging())("cdk-drop-list-receiving",s._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",b],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",b],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",b],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[R([{provide:Jt,useValue:void 0},{provide:ae,useExisting:r}]),N]})}return r})();var we=new w("CdkDragPlaceholder"),Ue=(()=>{class r{templateRef=h(St);_drag=h(B,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[R([{provide:we,useExisting:r}])]})}return r})();var Ze=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Et({type:r});static \u0275inj=Dt({providers:[lt],imports:[Ft]})}return r})();export{ee as a,Ve as b,Ge as c,Be as d,Ue as e,Ze as f}; +import{A as Mt,B as Ft,y as Nt}from"./chunk-7RMPQIRR.js";import{P as kt,Q as Ot,V as Lt,W as Q,k as I,o as M,q as x,s as Tt,w as J,x as Ct,z as D}from"./chunk-CG5OOKZO.js";import{$ as y,C as ut,D as k,Ea as m,Eb as Rt,Fa as O,Fb as $,Fc as R,Ja as L,L as ft,Mb as N,Sb as It,Sc as Y,Va as bt,Vb as K,Vc as b,Wc as xt,Z as j,_ as mt,ba as vt,e as P,ea as q,ed as X,fa as Dt,g as W,ha as w,j as _,k as _t,ka as h,m as pt,ob as St,sa as wt,t as gt,ub as yt,vb as Et,wb as E,za as Pt}from"./chunk-5L47ZUSK.js";function Qt(r){let e=r.cloneNode(!0),t=e.querySelectorAll("[id]"),i=r.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s=i&&t<=s&&e>=n&&e<=o}function C(r,e,t){r.top+=e,r.bottom=r.top+r.height,r.left+=t,r.right=r.left+r.width}function Vt(r,e,t,i){let{top:s,right:n,bottom:o,left:a,width:l,height:c}=r,d=l*e,g=c*e;return i>s-g&&ia-d&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:ot(t)})})}handleScroll(e){let t=x(e),i=this.positions.get(t);if(!i)return null;let s=i.scrollPosition,n,o;if(t===this._document){let c=this.getViewportScrollPosition();n=c.top,o=c.left}else n=t.scrollTop,o=t.scrollLeft;let a=s.top-n,l=s.left-o;return this.positions.forEach((c,d)=>{c.clientRect&&t!==d&&t.contains(d)&&C(c.clientRect,a,l)}),s.top=n,s.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function te(r,e){let t=r.rootNodes;if(t.length===1&&t[0].nodeType===e.ELEMENT_NODE)return t[0];let i=e.createElement("div");return t.forEach(s=>i.appendChild(s)),i}function at(r,e,t){for(let i in e)if(e.hasOwnProperty(i)){let s=e[i];s?r.setProperty(i,s,t?.has(i)?"important":""):r.removeProperty(i)}return r}function S(r,e){let t=e?"":"none";at(r.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function Gt(r,e,t){at(r.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function z(r,e){return e&&e!="none"?r+" "+e:r}function Bt(r,e){r.style.width=`${e.width}px`,r.style.height=`${e.height}px`,r.style.transform=V(e.left,e.top)}function V(r,e){return`translate3d(${Math.round(r)}px, ${Math.round(e)}px, 0)`}function Ut(r){let e=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*e}function _e(r){let e=getComputedStyle(r),t=tt(e,"transition-property"),i=t.find(a=>a==="transform"||a==="all");if(!i)return 0;let s=t.indexOf(i),n=tt(e,"transition-duration"),o=tt(e,"transition-delay");return Ut(n[s])+Ut(o[s])}function tt(r,e){return r.getPropertyValue(e).split(",").map(i=>i.trim())}var pe=new Set(["position"]),it=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(e,t,i,s,n,o,a,l,c){this._document=e,this._rootElement=t,this._direction=i,this._initialDomRect=s,this._previewTemplate=n,this._previewClass=o,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=c}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),Zt(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return _e(this._preview)}addEventListener(e,t){this._preview.addEventListener(e,t)}removeEventListener(e,t){this._preview.removeEventListener(e,t)}_createPreview(){let e=this._previewTemplate,t=this._previewClass,i=e?e.template:null,s;if(i&&e){let n=e.matchSize?this._initialDomRect:null,o=e.viewContainer.createEmbeddedView(i,e.context);o.detectChanges(),s=te(o,this._document),this._previewEmbeddedView=o,e.matchSize?Bt(s,n):s.style.transform=V(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=Qt(this._rootElement),Bt(s,this._initialDomRect),this._initialTransform&&(s.style.transform=this._initialTransform);return at(s.style,{"pointer-events":"none",margin:Zt(s)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},pe),S(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("popover","manual"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(n=>s.classList.add(n)):s.classList.add(t)),s}};function Zt(r){return"showPopover"in r}var Wt=I({passive:!0}),F=I({passive:!1}),jt=I({passive:!1,capture:!0}),ge=800,qt=new Set(["position"]),st=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_anchor;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=$(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new _;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>S(t,e)))}_disabled=!1;beforeStarted=new _;started=new _;released=new _;ended=new _;entered=new _;exited=new _;dropped=new _;moved=this._moveEvents;data;constrainPosition;constructor(e,t,i,s,n,o){this._config=t,this._document=i,this._ngZone=s,this._viewportRuler=n,this._dragDropRegistry=o,this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new H(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(i=>D(i)),this._handles.forEach(i=>S(i,this.disabled)),this._toggleNativeDragInteractions();let t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let t=D(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,F),t.addEventListener("touchstart",this._pointerDown,Wt),t.addEventListener("dragstart",this._nativeDragStart,F)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?D(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),S(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),S(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Kt,jt)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)};_pointerMove=e=>{let t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging()){let s=Math.abs(t.x-this._pickupPositionOnPage.x),n=Math.abs(t.y-this._pickupPositionOnPage.y);if(s+n>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),l=this._dropContainer;if(!a){this._endDragSequence(e);return}(!l||!l.isDragging()&&!l.isReceiving())&&(e.cancelable&&e.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(e)))}return}e.cancelable&&e.preventDefault();let i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,t);else{let s=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,n=this._activeTransform;n.x=i.x-s.x+this._passiveTransform.x,n.y=i.y-s.y+this._passiveTransform.y,this._applyRootElementTransform(n.x,n.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=e=>{this._endDragSequence(e)};_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){T(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",Kt,jt)}),i){let s=this._rootElement,n=s.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(a,s),this._initialTransform=s.style.transform||"",this._preview=new it(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(n,t)),Gt(s,!1,qt),this._document.body.appendChild(n.replaceChild(o,s)),this.started.next({source:this,event:e}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();let i=this.isDragging(),s=T(t),n=!s&&t.button!==0,o=this._rootElement,a=x(t),l=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+ge>Date.now(),c=s?Ot(t):kt(t);if(a&&a.draggable&&t.type==="mousedown"&&t.preventDefault(),i||n||l||c)return;if(this._handles.length){let v=o.style;this._rootElementTapHighlight=v.webkitTapHighlightColor||"",v.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(v=>this._updateOnScroll(v)),this._boundaryElement&&(this._boundaryRect=ot(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);let g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){Gt(this._rootElement,!0,qt),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let t=this._dropContainer,i=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),n=this._getDragDistance(s),o=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:n,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:n,dropPoint:s,event:e}),t.drop(this,i,this._initialIndex,this._initialContainer,o,n,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:i,y:s}){let n=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,e,t,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let t=this._preview.getTransitionDuration();return t===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let s=o=>{(!o||this._preview&&x(o)===this._preview.element&&o.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",s),i(),clearTimeout(n))},n=setTimeout(s,t*1.5);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,t=e?e.template:null,i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=te(this._placeholderRef,this._document)):i=Qt(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(e,t,i){let s=t===this._rootElement?null:t,n=s?s.getBoundingClientRect():e,o=T(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=o.pageX-n.left-a.left,c=o.pageY-n.top-a.top;return{x:n.left-e.left+l,y:n.top-e.top+c}}_getPointerPositionOnPage(e){let t=this._getViewportScrollPosition(),i=T(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=i.pageX-t.left,n=i.pageY-t.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let a=this._ownerSVGElement.createSVGPoint();return a.x=s,a.y=n,a.matrixTransform(o.inverse())}}return{x:s,y:n}}_getConstrainedPointerPosition(e){let t=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||t==="x"?s=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||t==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:n,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),d=a.top+o,g=a.bottom-(c-o),v=a.left+n,U=a.right-(l-n);i=$t(i,v,U),s=$t(s,d,g)}return{x:i,y:s}}_updatePointerDirectionDelta(e){let{x:t,y:i}=e,s=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-n.x),a=Math.abs(i-n.y);return o>this._config.pointerDirectionChangeThreshold&&(s.x=t>n.x?1:-1,n.x=t),a>this._config.pointerDirectionChangeThreshold&&(s.y=i>n.y?1:-1,n.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,S(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,F),e.removeEventListener("touchstart",this._pointerDown,Wt),e.removeEventListener("dragstart",this._nativeDragStart,F)}_applyRootElementTransform(e,t){let i=1/this.scale,s=V(e*i,t*i),n=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=n.transform&&n.transform!="none"?n.transform:""),n.transform=z(s,this._initialTransform)}_applyPreviewTransform(e,t){let i=this._previewTemplate?.template?void 0:this._initialTransform,s=V(e,t);this._preview.setTransform(z(s,i))}_getDragDistance(e){let t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(e===0&&t===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(s.width===0&&s.height===0||i.width===0&&i.height===0)return;let n=s.left-i.left,o=i.right-s.right,a=s.top-i.top,l=i.bottom-s.bottom;s.width>i.width?(n>0&&(e+=n),o>0&&(e-=o)):e=0,s.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){let t=this.dragStartDelay;return typeof t=="number"?t:T(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){let t=this._parentPositions.handleScroll(e);if(t){let i=x(e);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&C(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=M(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){let i=this._previewContainer||"global";if(i==="parent")return e;if(i==="global"){let s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return D(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=e=>{if(this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&e.preventDefault()}else this.disabled||e.preventDefault()};_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}};function $t(r,e,t){return Math.max(e,Math.min(t,r))}function T(r){return r.type[0]==="t"}function Kt(r){r.preventDefault()}function ee(r,e,t){let i=Yt(e,r.length-1),s=Yt(t,r.length-1);if(i===s)return;let n=r[i],o=s0)return null;let a=this.orientation==="horizontal",l=n.findIndex(u=>u.drag===e),c=n[o],d=n[l].clientRect,g=c.clientRect,v=l>o?1:-1,U=this._getItemOffsetPx(d,g,v),le=this._getSiblingOffsetPx(l,n,v),ce=n.slice();return ee(n,l,o),n.forEach((u,he)=>{if(ce[he]===u)return;let ct=u.drag===e,Z=ct?U:le,ht=ct?e.getPlaceholderElement():u.drag.getRootElement();u.offset+=Z;let dt=Math.round(u.offset*(1/u.drag.scale));a?(ht.style.transform=z(`translate3d(${dt}px, 0, 0)`,u.initialTransform),C(u.clientRect,0,Z)):(ht.style.transform=z(`translate3d(0, ${dt}px, 0)`,u.initialTransform),C(u.clientRect,Z,0))}),this._previousSwap.overlaps=et(g,t,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?s.x:s.y,{previousIndex:l,currentIndex:o}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s,o=this._activeDraggables,a=o.indexOf(e),l=e.getPlaceholderElement(),c=o[n];if(c===e&&(c=o[n+1]),!c&&(n==null||n===-1||n-1&&o.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){let d=c.getRootElement();d.parentElement.insertBefore(l,d),o.splice(n,0,e)}else this._element.appendChild(l),o.push(e);l.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables?.forEach(e=>{let t=e.getRootElement();if(t){let i=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:i})=>{C(i,e,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(t=>{let i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:ot(i)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getItemOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=s?t.left-e.left:t.top-e.top;return i===-1&&(n+=s?t.width-e.width:t.height-e.height),n}_getSiblingOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=t[e].clientRect,o=t[e+i*-1],a=n[s?"width":"height"]*i;if(o){let l=s?"left":"top",c=s?"right":"bottom";i===-1?a-=o.clientRect[l]-n[c]:a+=n[l]-o.clientRect[c]}return a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,s=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return s?e>=o.right:t>=o.bottom}else{let o=i[0].clientRect;return s?e<=o.left:t<=o.top}}_getItemIndexFromPointerPosition(e,t,i,s){let n=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(s){let c=n?s.x:s.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return n?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&il?d.after(c):d.before(c),ee(this._activeItems,l,n);let g=this._getRootNode().elementFromPoint(t,i);return o.deltaX=s.x,o.deltaY=s.y,o.drag=a,o.overlaps=d===g||d.contains(g),{previousIndex:l,currentIndex:n}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s;n===-1&&(n=this._getClosestItemIndexToPointer(e,t,i));let o=this._activeItems[n],a=this._activeItems.indexOf(e);a>-1&&this._activeItems.splice(a,1),o&&!this._dragDropRegistry.isDragging(o)?(this._activeItems.splice(n,0,e),o.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,t=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[s,n]=this._relatedNodes[i];s.parentNode===e&&s.nextSibling!==n&&(n===null?e.appendChild(s):n.parentNode===e&&e.insertBefore(s,n))}this._relatedNodes=[],this._activeItems=[],t.drag=null,t.deltaX=t.deltaY=0,t.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,t,i){let s=this._getRootNode().elementFromPoint(Math.floor(t),Math.floor(i)),n=s?this._activeItems.findIndex(o=>{let a=o.getRootElement();return s===a||a.contains(s)}):-1;return n===-1||!this._sortPredicate(n,e)?-1:n}_getRootNode(){return this._rootNode||(this._rootNode=M(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,t,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let s=1/0,n=-1;for(let o=0;o!0;sortPredicate=()=>!0;beforeStarted=new _;entered=new _;exited=new _;dropped=new _;sorted=new _;receivingStarted=new _;receivingStopped=new _;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=f.NONE;_horizontalScrollDirection=p.NONE;_scrollNode;_stopScrollTimers=new _;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(e,t,i,s,n){this._dragDropRegistry=t,this._ngZone=s,this._viewportRuler=n;let o=this.element=D(e);this._document=i,this.withOrientation("vertical").withElementContainer(o),t.registerDropContainer(this),this._parentPositions=new H(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,i,s){this._draggingStarted(),s==null&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,i,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,i,s,n,o,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:n,distance:o,dropPoint:a,event:l})}withItems(e){let t=this._draggables;return this._draggables=e,e.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>e.indexOf(s)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof G&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new nt(this._document,this._dragDropRegistry);else{let t=new G(this._dragDropRegistry);t.direction=this._direction,t.orientation=e,this._sortStrategy=t}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((t,i)=>this.sortPredicate(t,i,this)),this}withScrollableParents(e){let t=this._container;return this._scrollableElements=e.indexOf(t)===-1?[t,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let t=D(this.element),i=this._scrollableElements.indexOf(this._container),s=this._scrollableElements.indexOf(e);return i>-1&&this._scrollableElements.splice(i,1),s>-1&&this._scrollableElements.splice(s,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,s){if(this.sortingDisabled||!this._domRect||!Vt(this._domRect,Xt,t,i))return;let n=this._sortStrategy.sort(e,t,i,s);n&&this.sorted.next({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,s=f.NONE,n=p.NONE;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||Vt(o.clientRect,Xt,e,t)&&([s,n]=ue(a,o.clientRect,this._direction,e,t),(s||n)&&(i=a))}),!s&&!n){let{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};s=se(l,t),n=ne(l,e),i=window}i&&(s!==this._verticalScrollDirection||n!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=n,this._scrollNode=i,(s||n)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),ut(0,pt).pipe(y(this._stopScrollTimers)).subscribe(()=>{let e=this._scrollNode,t=this.autoScrollStep;this._verticalScrollDirection===f.UP?e.scrollBy(0,-t):this._verticalScrollDirection===f.DOWN&&e.scrollBy(0,t),this._horizontalScrollDirection===p.LEFT?e.scrollBy(-t,0):this._horizontalScrollDirection===p.RIGHT&&e.scrollBy(t,0)})};_isOverContainer(e,t){return this._domRect!=null&&et(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(s=>s._canReceive(e,t,i))}_canReceive(e,t,i){if(!this._domRect||!et(this._domRect,t,i)||!this.enterPredicate(e,this))return!1;let s=this._getShadowRoot().elementFromPoint(t,i);return s?s===this._container||this._container.contains(s):!1}_startReceiving(e,t){let i=this._activeSiblings;!i.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=M(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}};function se(r,e){let{top:t,bottom:i,height:s}=r,n=s*ie;return e>=t-n&&e<=t+n?f.UP:e>=i-n&&e<=i+n?f.DOWN:f.NONE}function ne(r,e){let{left:t,right:i,width:s}=r,n=s*ie;return e>=t-n&&e<=t+n?p.LEFT:e>=i-n&&e<=i+n?p.RIGHT:p.NONE}function ue(r,e,t,i,s){let n=se(e,s),o=ne(e,i),a=f.NONE,l=p.NONE;if(n){let c=r.scrollTop;n===f.UP?c>0&&(a=f.UP):r.scrollHeight-c>r.clientHeight&&(a=f.DOWN)}if(o){let c=r.scrollLeft;t==="rtl"?o===p.RIGHT?c<0&&(l=p.RIGHT):r.scrollWidth+c>r.clientWidth&&(l=p.LEFT):o===p.LEFT?c>0&&(l=p.LEFT):r.scrollWidth-c>r.clientWidth&&(l=p.RIGHT)}return[a,l]}var A=I({passive:!1,capture:!0}),fe=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=yt({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,s){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0})}return r})(),me=(()=>{class r{_ngZone=h(O);_document=h(X);_styleLoader=h(Tt);_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=$([]);_globalListeners=new Map;_draggingPredicate=t=>t.isDragging();pointerMove=new _;pointerUp=new _;scroll=new _;constructor(){}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,A)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,A)}startDragging(t,i){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._styleLoader.load(fe),this._activeDragInstances.update(s=>[...s,t]),this._activeDragInstances().length===1)){let s=i.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:n=>this.pointerUp.next(n),options:!0}).set("scroll",{handler:n=>this.scroll.next(n),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:A}),s||this._globalListeners.set("mousemove",{handler:n=>this.pointerMove.next(n),options:A}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((n,o)=>{this._document.addEventListener(o,n.handler,n.options)})})}}stopDragging(t){this._activeDragInstances.update(i=>{let s=i.indexOf(t);return s>-1?(i.splice(s,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let i=[this.scroll];return t&&t!==this._document&&i.push(new W(s=>this._ngZone.runOutsideAngular(()=>{let o=a=>{this._activeDragInstances().length&&s.next(a)};return t.addEventListener("scroll",o,!0),()=>{t.removeEventListener("scroll",o,!0)}}))),k(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=t=>{this._activeDragInstances().length>0&&t.preventDefault()};_persistentTouchmoveListener=t=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))};_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}static \u0275fac=function(i){return new(i||r)};static \u0275prov=q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ve={dragStartThreshold:5,pointerDirectionChangeThreshold:5},lt=(()=>{class r{_document=h(X);_ngZone=h(O);_viewportRuler=h(Mt);_dragDropRegistry=h(me);constructor(){}createDrag(t,i=ve){return new st(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new rt(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),B=new w("CDK_DRAG_PARENT");var re=new w("CdkDragHandle"),Ve=(()=>{class r{element=h(L);_parentDrag=h(B,{optional:!0,skipSelf:!0});_stateChanges=new _;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._stateChanges.next(this)}_disabled=!1;constructor(){this._parentDrag?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",b]},features:[R([{provide:re,useExisting:r}]),N]})}return r})(),oe=new w("CDK_DRAG_CONFIG"),De="cdk-drag",ae=new w("CdkDropList"),Ge=(()=>{class r{element=h(L);dropContainer=h(ae,{optional:!0,skipSelf:!0});_ngZone=h(O);_viewContainerRef=h(Rt);_dir=h(Q,{optional:!0});_changeDetectorRef=h(Y);_selfHandle=h(re,{optional:!0,self:!0});_parentDrag=h(B,{optional:!0,skipSelf:!0});_destroyed=new _;static _dragInstances=[];_handles=new _t([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new m;released=new m;ended=new m;entered=new m;exited=new m;dropped=new m;moved=new W(t=>{let i=this._dragRef.moved.pipe(gt(s=>({source:this,pointerPosition:s.pointerPosition,event:s.event,delta:s.delta,distance:s.distance}))).subscribe(t);return()=>{i.unsubscribe()}});_injector=h(Pt);constructor(){let t=this.dropContainer,i=h(oe,{optional:!0}),s=h(lt);this._dragRef=s.createDrag(this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,r._dragInstances.push(this),i&&this._assignDefaults(i),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this),t._dropListRef.beforeStarted.pipe(y(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){bt(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(t){let i=t.rootElementSelector,s=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let t=r._dragInstances.indexOf(this);t>-1&&r._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){let i=this._handles.getValue();i.push(t),this._handles.next(i)}_removeHandle(t){let i=this._handles.getValue(),s=i.indexOf(t);s>-1&&(i.splice(s,1),this._handles.next(i))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let t=this.element.nativeElement,i=t;this.rootElementSelector&&(i=t.closest!==void 0?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||t)}_getBoundaryElement(){let t=this.boundaryElement;return t?typeof t=="string"?this.element.nativeElement.closest(t):D(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){let i=this._dir,s=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.scale=this.scale,t.dragStartDelay=typeof s=="object"&&s?s:J(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe(ft(1)).subscribe(()=>{if(this._parentDrag){t.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(De)){t.withParent(r._dragInstances.find(s=>s.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){let{lockAxis:i,dragStartDelay:s,constrainPosition:n,previewClass:o,boundaryElement:a,draggingDisabled:l,rootElementSelector:c,previewContainer:d}=t;this.disabled=l??!1,this.dragStartDelay=s||0,i&&(this.lockAxis=i),n&&(this.constrainPosition=n),o&&(this.previewClass=o),a&&(this.boundaryElement=a),c&&(this.rootElementSelector=c),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.pipe(vt(t=>{let i=t.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),mt(t=>k(...t.map(i=>i._stateChanges.pipe(j(i))))),y(this._destroyed)).subscribe(t=>{let i=this._dragRef,s=t.element.nativeElement;t.disabled?i.disableHandle(s):i.enableHandle(s)})}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,s){i&2&&K("cdk-drag-disabled",s.disabled)("cdk-drag-dragging",s._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",b],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",xt]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[R([{provide:B,useExisting:r}]),N,wt]})}return r})(),Jt=new w("CdkDropListGroup");var Be=(()=>{class r{element=h(L);_changeDetectorRef=h(Y);_scrollDispatcher=h(Nt);_dir=h(Q,{optional:!0});_group=h(Jt,{optional:!0,skipSelf:!0});_destroyed=new _;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=h(Lt).getId("cdk-drop-list-");lockAxis;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=t}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;dropped=new m;entered=new m;exited=new m;sorted=new m;_unsortedItems=new Set;constructor(){let t=h(lt),i=h(oe,{optional:!0});this._dropListRef=t.createDropList(this.element),this._dropListRef.data=this,i&&this._assignDefaults(i),this._dropListRef.enterPredicate=(s,n)=>this.enterPredicate(s.data,n.data),this._dropListRef.sortPredicate=(s,n,o)=>this.sortPredicate(s,n.data,o.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),r._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,i)=>t._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let t=r._dropLists.indexOf(this);t>-1&&r._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(j(this._dir.value),y(this._destroyed)).subscribe(i=>t.withDirection(i)),t.beforeStarted.subscribe(()=>{let i=Ct(this.connectedTo).map(s=>{if(typeof s=="string"){let n=r._dropLists.find(o=>o.id===s);return n}return s});if(this._group&&this._group._items.forEach(s=>{i.indexOf(s)===-1&&i.push(s)}),!this._scrollableParentsResolved){let s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(n=>n.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let s=this.element.nativeElement.querySelector(this.elementContainerSelector);t.withElementContainer(s)}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=this.sortingDisabled,t.autoScrollDisabled=this.autoScrollDisabled,t.autoScrollStep=J(this.autoScrollStep,2),t.connectedTo(i.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),k(t.receivingStarted,t.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(t){let{lockAxis:i,draggingDisabled:s,sortingDisabled:n,listAutoScrollDisabled:o,listOrientation:a}=t;this.disabled=s??!1,this.sortingDisabled=n??!1,this.autoScrollDisabled=o??!1,this.orientation=a||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,s){i&2&&(It("id",s.id),K("cdk-drop-list-disabled",s.disabled)("cdk-drop-list-dragging",s._dropListRef.isDragging())("cdk-drop-list-receiving",s._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",b],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",b],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",b],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[R([{provide:Jt,useValue:void 0},{provide:ae,useExisting:r}]),N]})}return r})();var we=new w("CdkDragPlaceholder"),Ue=(()=>{class r{templateRef=h(St);_drag=h(B,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=E({type:r,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[R([{provide:we,useExisting:r}])]})}return r})();var Ze=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Et({type:r});static \u0275inj=Dt({providers:[lt],imports:[Ft]})}return r})();export{ee as a,Ve as b,Ge as c,Be as d,Ue as e,Ze as f}; diff --git a/chunk-4Z5R5VSG.js b/chunk-4Z5R5VSG.js deleted file mode 100644 index 05df9576..00000000 --- a/chunk-4Z5R5VSG.js +++ /dev/null @@ -1 +0,0 @@ -import{k as n}from"./chunk-XYJHVZQT.js";function m(a){return n(e=>{let o=new Image;o.onload=()=>e(o),o.src=a})}export{m as a}; diff --git a/chunk-TEKHUYWQ.js b/chunk-5L47ZUSK.js similarity index 79% rename from chunk-TEKHUYWQ.js rename to chunk-5L47ZUSK.js index c67c1a9b..87f1d185 100644 --- a/chunk-TEKHUYWQ.js +++ b/chunk-5L47ZUSK.js @@ -1,7 +1,7 @@ -var hg=Object.defineProperty,gg=Object.defineProperties;var mg=Object.getOwnPropertyDescriptors;var Mr=Object.getOwnPropertySymbols;var bu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable;var Cu=(e,t,n)=>t in e?hg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t)=>{for(var n in t||={})bu.call(t,n)&&Cu(e,n,t[n]);if(Mr)for(var n of Mr(t))_u.call(t,n)&&Cu(e,n,t[n]);return e},ce=(e,t)=>gg(e,mg(t));var kb=(e,t)=>{var n={};for(var r in e)bu.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Mr)for(var r of Mr(e))t.indexOf(r)<0&&_u.call(e,r)&&(n[r]=e[r]);return n};var Mu=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Ki(e,t){return Object.is(e,t)}var K=null,$n=!1,Ji=1,ee=Symbol("SIGNAL");function S(e){let t=K;return K=e,t}function Su(){return K}function yg(){return $n}var Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function zn(e){if($n)throw new Error("");if(K===null)return;K.consumerOnSignalRead(e);let t=K.nextProducerIndex++;if(xr(K),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function qn(e){xr(e);for(let t=0;t0}function xr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ou(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ru(e){return e.producerNode!==void 0}function es(e){let t=Object.create(Dg);t.computation=e;let n=()=>{if(Xi(t),zn(t),t.value===Sr)throw t.error;return t.value};return n[ee]=t,n}var Wi=Symbol("UNSET"),Zi=Symbol("COMPUTING"),Sr=Symbol("ERRORED"),Dg=ce(ae({},Mt),{value:Wi,dirty:!0,error:null,equal:Ki,producerMustRecompute(e){return e.value===Wi||e.value===Zi},producerRecomputeValue(e){if(e.value===Zi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Zi;let n=rn(e),r;try{r=e.computation()}catch(o){r=Sr,e.error=o}finally{Gn(e,n)}if(t!==Wi&&t!==Sr&&r!==Sr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Ig(){throw new Error}var Fu=Ig;function ku(){Fu()}function Pu(e){Fu=e}var Eg=null;function Lu(e){let t=Object.create(ts);t.value=e;let n=()=>(zn(t),t.value);return n[ee]=t,n}function Wn(e,t){xu()||ku(),e.equal(e.value,t)||(e.value=t,wg(e))}function ju(e,t){xu()||ku(),Wn(e,t(e.value))}var ts=ce(ae({},Mt),{equal:Ki,value:void 0});function wg(e){e.version++,vg(),Tu(e),Eg?.()}function Vu(e,t,n){let r=Object.create(Cg);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(on(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Qi)}let a=()=>{if(r.fn===null)return;if(yg())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!qn(r))return;r.hasRun=!0;let c=rn(r);try{r.cleanupFn(),r.cleanupFn=Qi,r.fn(o)}finally{Gn(r,c)}};return r.ref={notify:()=>Nu(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ee]:r},r.ref}var Qi=()=>{},Cg=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Qi});function v(e){return typeof e=="function"}function sn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nr=sn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +var gg=Object.defineProperty,mg=Object.defineProperties;var yg=Object.getOwnPropertyDescriptors;var Mr=Object.getOwnPropertySymbols;var bu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable;var Cu=(e,t,n)=>t in e?gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t)=>{for(var n in t||={})bu.call(t,n)&&Cu(e,n,t[n]);if(Mr)for(var n of Mr(t))_u.call(t,n)&&Cu(e,n,t[n]);return e},ce=(e,t)=>mg(e,yg(t));var kb=(e,t)=>{var n={};for(var r in e)bu.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Mr)for(var r of Mr(e))t.indexOf(r)<0&&_u.call(e,r)&&(n[r]=e[r]);return n};var Mu=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Ki(e,t){return Object.is(e,t)}var K=null,$n=!1,Ji=1,ee=Symbol("SIGNAL");function S(e){let t=K;return K=e,t}function Su(){return K}function vg(){return $n}var Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function zn(e){if($n)throw new Error("");if(K===null)return;K.consumerOnSignalRead(e);let t=K.nextProducerIndex++;if(xr(K),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function qn(e){xr(e);for(let t=0;t0}function xr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ou(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ru(e){return e.producerNode!==void 0}function es(e){let t=Object.create(Ig);t.computation=e;let n=()=>{if(Xi(t),zn(t),t.value===Sr)throw t.error;return t.value};return n[ee]=t,n}var Wi=Symbol("UNSET"),Zi=Symbol("COMPUTING"),Sr=Symbol("ERRORED"),Ig=ce(ae({},Mt),{value:Wi,dirty:!0,error:null,equal:Ki,producerMustRecompute(e){return e.value===Wi||e.value===Zi},producerRecomputeValue(e){if(e.value===Zi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Zi;let n=rn(e),r;try{r=e.computation()}catch(o){r=Sr,e.error=o}finally{Gn(e,n)}if(t!==Wi&&t!==Sr&&r!==Sr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Eg(){throw new Error}var Fu=Eg;function ku(){Fu()}function Pu(e){Fu=e}var wg=null;function Lu(e){let t=Object.create(ts);t.value=e;let n=()=>(zn(t),t.value);return n[ee]=t,n}function Wn(e,t){xu()||ku(),e.equal(e.value,t)||(e.value=t,Cg(e))}function ju(e,t){xu()||ku(),Wn(e,t(e.value))}var ts=ce(ae({},Mt),{equal:Ki,value:void 0});function Cg(e){e.version++,Dg(),Tu(e),wg?.()}function Vu(e,t,n){let r=Object.create(bg);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(on(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Qi)}let a=()=>{if(r.fn===null)return;if(vg())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!qn(r))return;r.hasRun=!0;let c=rn(r);try{r.cleanupFn(),r.cleanupFn=Qi,r.fn(o)}finally{Gn(r,c)}};return r.ref={notify:()=>Nu(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ee]:r},r.ref}var Qi=()=>{},bg=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Qi});function v(e){return typeof e=="function"}function sn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nr=sn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function St(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof Nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bu(i)}catch(s){t=t??[],s instanceof Nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Bu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&St(n,t)}remove(t){let{_finalizers:n}=this;n&&St(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var ns=z.EMPTY;function Ar(e){return e instanceof z||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Bu(e){v(e)?e():e.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var an={setTimeout(e,t,...n){let{delegate:r}=an;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=an;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Or(e){an.setTimeout(()=>{let{onUnhandledError:t}=Ne;if(t)t(e);else throw e})}function Ye(){}var Hu=rs("C",void 0,void 0);function $u(e){return rs("E",void 0,e)}function Uu(e){return rs("N",e,void 0)}function rs(e,t,n){return{kind:e,value:t,error:n}}var Tt=null;function cn(e){if(Ne.useDeprecatedSynchronousErrorHandling){let t=!Tt;if(t&&(Tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Tt;if(Tt=null,n)throw r}}else e()}function zu(e){Ne.useDeprecatedSynchronousErrorHandling&&Tt&&(Tt.errorThrown=!0,Tt.error=e)}var xt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ar(t)&&t.add(this)):this.destination=Mg}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?is(Uu(t),this):this._next(t)}error(t){this.isStopped?is($u(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?is(Hu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},bg=Function.prototype.bind;function os(e,t){return bg.call(e,t)}var ss=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rr(r)}else Rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rr(n)}}},Qe=class extends xt{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&os(t.next,i),error:t.error&&os(t.error,i),complete:t.complete&&os(t.complete,i)}):o=t}this.destination=new ss(o)}};function Rr(e){Ne.useDeprecatedSynchronousErrorHandling?zu(e):Or(e)}function _g(e){throw e}function is(e,t){let{onStoppedNotification:n}=Ne;n&&an.setTimeout(()=>n(e,t))}var Mg={closed:!0,next:Ye,error:_g,complete:Ye};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ue(e){return e}function Sg(...e){return as(e)}function as(e){return e.length===0?ue:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=xg(n)?n:new Qe(n,r,o);return cn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Gu(r),new r((o,i)=>{let s=new Qe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[un](){return this}pipe(...n){return as(n)(this)}toPromise(n){return n=Gu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Gu(e){var t;return(t=e??Ne.Promise)!==null&&t!==void 0?t:Promise}function Tg(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function xg(e){return e&&e instanceof xt||Tg(e)&&Ar(e)}function cs(e){return v(e?.lift)}function w(e){return t=>{if(cs(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new us(e,t,n,r,o)}var us=class extends xt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ls(){return w((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Zn=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,cs(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new z;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=z.EMPTY)}return t}refCount(){return ls()(this)}};var ln={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=ln;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new z(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=ln;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=ln;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var qu=sn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new qu}next(n){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ns:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,St(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new Fr(t,n),e})(),Fr=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ns}};var Yn=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Qn={now(){return(Qn.delegate||Date).now()},delegate:void 0};var Kn=class extends J{constructor(t=1/0,n=1/0,r=Qn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=ln.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(ln.cancelAnimationFrame(n),t._scheduled=void 0)}};var Lr=class extends pn{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ng=new Lr(Pr);var Nt=new T(e=>e.complete());function jr(e){return e&&v(e.schedule)}function ds(e){return e[e.length-1]}function Vr(e){return v(ds(e))?e.pop():void 0}function Ve(e){return jr(ds(e))?e.pop():void 0}function Zu(e,t){return typeof ds(e)=="number"?e.pop():t}function Qu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Yu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function At(e){return this instanceof At?(this.v=e,this):new At(e)}function Ku(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(b,E){i.push([f,g,b,E])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(g){p(i[0][3],g)}}function u(f){f.value instanceof At?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ju(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Yu=="function"?Yu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var hn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Br(e){return v(e?.then)}function Hr(e){return v(e[un])}function $r(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Ur(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ag(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zr=Ag();function Gr(e){return v(e?.[zr])}function qr(e){return Ku(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield At(n.read());if(o)return yield At(void 0);yield yield At(r)}}finally{n.releaseLock()}})}function Wr(e){return v(e?.getReader)}function R(e){if(e instanceof T)return e;if(e!=null){if(Hr(e))return Og(e);if(hn(e))return Rg(e);if(Br(e))return Fg(e);if($r(e))return Xu(e);if(Gr(e))return kg(e);if(Wr(e))return Pg(e)}throw Ur(e)}function Og(e){return new T(t=>{let n=e[un]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Rg(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Or)})}function kg(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xu(e){return new T(t=>{Lg(e,t).catch(n=>t.error(n))})}function Pg(e){return Xu(qr(e))}function Lg(e,t){var n,r,o,i;return Qu(this,void 0,void 0,function*(){try{for(n=Ju(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Zr(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function Yr(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function el(e,t){return R(e).pipe(Yr(t),Zr(t))}function tl(e,t){return R(e).pipe(Yr(t),Zr(t))}function nl(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function rl(e,t){return new T(n=>{let r;return he(n,t,()=>{r=e[zr](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function Qr(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ol(e,t){return Qr(qr(e),t)}function il(e,t){if(e!=null){if(Hr(e))return el(e,t);if(hn(e))return nl(e,t);if(Br(e))return tl(e,t);if($r(e))return Qr(e,t);if(Gr(e))return rl(e,t);if(Wr(e))return ol(e,t)}throw Ur(e)}function Be(e,t){return t?il(e,t):R(e)}function jg(...e){let t=Ve(e);return Be(e,t)}function Vg(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Bg(e){return!!e&&(e instanceof T||v(e.lift)&&v(e.subscribe))}var Ot=sn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function sl(e){return e instanceof Date&&!isNaN(e)}function He(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Hg}=Array;function $g(e,t){return Hg(t)?e(...t):e(t)}function gn(e){return He(t=>$g(e,t))}var{isArray:Ug}=Array,{getPrototypeOf:zg,prototype:Gg,keys:qg}=Object;function Kr(e){if(e.length===1){let t=e[0];if(Ug(t))return{args:t,keys:null};if(Wg(t)){let n=qg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Wg(e){return e&&typeof e=="object"&&zg(e)===Gg}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Zg(...e){let t=Ve(e),n=Vr(e),{args:r,keys:o}=Kr(e);if(r.length===0)return Be([],t);let i=new T(Yg(r,t,o?s=>Jr(o,s):ue));return n?i.pipe(gn(n)):i}function Yg(e,t,n=ue){return r=>{al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=Be(e[c],t),l=!1;u.subscribe(C(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function al(e,t,n){e?he(n,e,t):t()}function cl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u{i&&t.next(g),u++;let b=!1;R(n(g,l++)).subscribe(C(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(u--;c.length&&uh(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ae(e,t,n=1/0){return v(t)?Ae((r,o)=>He((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>cl(r,o,e,n)))}function Xn(e=1/0){return Ae(ue,e)}function ul(){return Xn(1)}function mn(...e){return ul()(Be(e,Ve(e)))}function Qg(e){return new T(t=>{R(e()).subscribe(t)})}function Kg(...e){let t=Vr(e),{args:n,keys:r}=Kr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(gn(t)):o}var Jg=["addListener","removeListener"],Xg=["addEventListener","removeEventListener"],em=["on","off"];function fs(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return fs(e,t,n).pipe(gn(r));let[o,i]=rm(e)?Xg.map(s=>a=>e[s](t,a,n)):tm(e)?Jg.map(ll(e,t)):nm(e)?em.map(ll(e,t)):[];if(!o&&hn(e))return Ae(s=>fs(s,t,n))(R(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1i(a)})}function ll(e,t){return n=>r=>e[n](t,r)}function tm(e){return v(e.addListener)&&v(e.removeListener)}function nm(e){return v(e.on)&&v(e.off)}function rm(e){return v(e.addEventListener)&&v(e.removeEventListener)}function Rt(e=0,t,n=Wu){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new T(o=>{let i=sl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function om(e=0,t=Ke){return e<0&&(e=0),Rt(e,e,t)}function im(...e){let t=Ve(e),n=Zu(e,1/0),r=e;return r.length?r.length===1?R(r[0]):Xn(n)(Be(r,t)):Nt}var sm=new T(Ye);function pt(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function dl(e){return w((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,u=>{r=!0,o=u,i||R(e(u)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function am(e,t=Ke){return dl(()=>Rt(e,t))}function fl(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=R(e(s,fl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function pl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(C(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function hl(e,t){return v(t)?Ae(e,t,1):Ae(e,1)}function gl(e){return new T(t=>e.subscribe(t))}var cm={connector:()=>new J};function Xr(e,t=cm){let{connector:n}=t;return w((r,o)=>{let i=n();R(e(gl(i))).subscribe(o),o.add(r.subscribe(i))})}function ml(e,t=Ke){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function er(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ft(e){return e<=0?()=>Nt:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yl(){return w((e,t)=>{e.subscribe(C(t,Ye))})}function ps(e){return He(()=>e)}function hs(e,t){return t?n=>mn(t.pipe(Ft(1),yl()),n.pipe(hs(e))):Ae((n,r)=>R(e(n,r)).pipe(Ft(1),ps(n)))}function um(e,t=Ke){let n=Rt(e,t);return hs(()=>n)}function vl(e,t=ue){return e=e??lm,w((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function lm(e,t){return e===t}function eo(e=dm){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dm(){return new Ot}function Dl(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Il(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pt((o,i)=>e(o,i,r)):ue,Ft(1),n?er(t):eo(()=>new Ot))}function gs(e){return e<=0?()=>Nt:w((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function fm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pt((o,i)=>e(o,i,r)):ue,gs(1),n?er(t):eo(()=>new Ot))}function El(e,t){let n=v(e)?e:()=>e;return v(t)?Xr(t,{connector:n}):r=>new Zn(r,n)}function pm(){return w((e,t)=>{let n,r=!1;e.subscribe(C(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function hm(e){return e?t=>Xr(e)(t):t=>El(new J)(t)}function gm(e,t){return w(pl(e,t,arguments.length>=2,!0))}function ys(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return w((g,b)=>{u++,!d&&!l&&p();let E=c=c??t();b.add(()=>{u--,u===0&&!d&&!l&&(a=ms(h,o))}),E.subscribe(b),!s&&u>0&&(s=new Qe({next:O=>E.next(O),error:O=>{d=!0,p(),a=ms(f,n,O),E.error(O)},complete:()=>{l=!0,p(),a=ms(f,r),E.complete()}}),R(g).subscribe(s))})(i)}}function ms(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function mm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ys({connector:()=>new Kn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function wl(e){return pt((t,n)=>e<=n)}function ym(...e){let t=Ve(e);return w((n,r)=>{(t?mn(e,n,t):mn(e,n)).subscribe(r)})}function Cl(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let u=0,l=i++;R(e(c,l)).subscribe(o=C(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function bl(e){return w((t,n)=>{R(e).subscribe(C(n,()=>n.complete(),Ye)),!n.closed&&t.subscribe(n)})}function vm(e,t=!1){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function _l(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ue}var Nd="https://g.co/ng/security#xss",_=class extends Error{code;constructor(t,n){super(Ad(t,n)),this.code=t}};function Ad(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Qo=Symbol("InputSignalNode#UNSET"),Od=ce(ae({},ts),{transformFn:void 0,applyValueToInputSignal(e,t){Wn(e,t)}});function Rd(e,t){let n=Object.create(Od);n.value=e,n.transformFn=t?.transform;function r(){if(zn(n),n.value===Qo)throw new _(-950,!1);return n.value}return r[ee]=n,r}function gr(e){return{toString:e}.toString()}var to="__parameters__";function Dm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Fd(e,t,n){return gr(()=>{let r=Dm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(to)?c[to]:Object.defineProperty(c,to,{value:[]})[to];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var gt=globalThis;function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function Im(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Rs(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Em=j({__forward_ref__:j});function kd(e){return e.__forward_ref__=kd,e.toString=function(){return de(this())},e}function te(e){return Pd(e)?e():e}function Pd(e){return typeof e=="function"&&e.hasOwnProperty(Em)&&e.__forward_ref__===kd}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ld(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ko(e){return Ml(e,jd)||Ml(e,Vd)}function aO(e){return Ko(e)!==null}function Ml(e,t){return e.hasOwnProperty(t)?e[t]:null}function wm(e){let t=e&&(e[jd]||e[Vd]);return t||null}function Sl(e){return e&&(e.hasOwnProperty(Tl)||e.hasOwnProperty(Cm))?e[Tl]:null}var jd=j({\u0275prov:j}),Tl=j({\u0275inj:j}),Vd=j({ngInjectableDef:j}),Cm=j({ngInjectorDef:j}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bd(e){return e&&!!e.\u0275providers}var bm=j({\u0275cmp:j}),_m=j({\u0275dir:j}),Mm=j({\u0275pipe:j}),Sm=j({\u0275mod:j}),yo=j({\u0275fac:j}),rr=j({__NG_ELEMENT_ID__:j}),xl=j({__NG_ENV_ID__:j});function jt(e){return typeof e=="string"?e:e==null?"":String(e)}function Tm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():jt(e)}function xm(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function Qa(e,t){throw new _(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),Fs;function Hd(){return Fs}function ge(e){let t=Fs;return Fs=e,t}function $d(e,t,n){let r=Ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(t!==void 0)return t;Qa(e,"Injector")}var Nm={},ir=Nm,ks="__NG_DI_FLAG__",vo="ngTempTokenPath",Am="ngTokenPath",Om=/\n/gm,Rm="\u0275",Nl="__source",bn;function Fm(){return bn}function ht(e){let t=bn;return bn=e,t}function km(e,t=A.Default){if(bn===void 0)throw new _(-203,!1);return bn===null?$d(e,void 0,t):bn.get(e,t&A.Optional?null:void 0,t)}function X(e,t=A.Default){return(Hd()||km)(te(e),t)}function D(e,t=A.Default){return X(e,Jo(t))}function Jo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ps(e){let t=[];for(let n=0;n{let e=new z;return e.closed=!0,e})();var ns=z.EMPTY;function Ar(e){return e instanceof z||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Bu(e){v(e)?e():e.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var an={setTimeout(e,t,...n){let{delegate:r}=an;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=an;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Or(e){an.setTimeout(()=>{let{onUnhandledError:t}=Ne;if(t)t(e);else throw e})}function Ye(){}var Hu=rs("C",void 0,void 0);function $u(e){return rs("E",void 0,e)}function Uu(e){return rs("N",e,void 0)}function rs(e,t,n){return{kind:e,value:t,error:n}}var Tt=null;function cn(e){if(Ne.useDeprecatedSynchronousErrorHandling){let t=!Tt;if(t&&(Tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Tt;if(Tt=null,n)throw r}}else e()}function zu(e){Ne.useDeprecatedSynchronousErrorHandling&&Tt&&(Tt.errorThrown=!0,Tt.error=e)}var xt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ar(t)&&t.add(this)):this.destination=Sg}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?is(Uu(t),this):this._next(t)}error(t){this.isStopped?is($u(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?is(Hu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_g=Function.prototype.bind;function os(e,t){return _g.call(e,t)}var ss=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rr(r)}else Rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rr(n)}}},Qe=class extends xt{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&os(t.next,i),error:t.error&&os(t.error,i),complete:t.complete&&os(t.complete,i)}):o=t}this.destination=new ss(o)}};function Rr(e){Ne.useDeprecatedSynchronousErrorHandling?zu(e):Or(e)}function Mg(e){throw e}function is(e,t){let{onStoppedNotification:n}=Ne;n&&an.setTimeout(()=>n(e,t))}var Sg={closed:!0,next:Ye,error:Mg,complete:Ye};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ue(e){return e}function Tg(...e){return as(e)}function as(e){return e.length===0?ue:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Ng(n)?n:new Qe(n,r,o);return cn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Gu(r),new r((o,i)=>{let s=new Qe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[un](){return this}pipe(...n){return as(n)(this)}toPromise(n){return n=Gu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Gu(e){var t;return(t=e??Ne.Promise)!==null&&t!==void 0?t:Promise}function xg(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function Ng(e){return e&&e instanceof xt||xg(e)&&Ar(e)}function cs(e){return v(e?.lift)}function w(e){return t=>{if(cs(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new us(e,t,n,r,o)}var us=class extends xt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ls(){return w((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Zn=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,cs(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new z;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=z.EMPTY)}return t}refCount(){return ls()(this)}};var ln={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=ln;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new z(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=ln;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=ln;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var qu=sn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new qu}next(n){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){cn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ns:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,St(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new Fr(t,n),e})(),Fr=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ns}};var Yn=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Qn={now(){return(Qn.delegate||Date).now()},delegate:void 0};var Kn=class extends J{constructor(t=1/0,n=1/0,r=Qn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=ln.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(ln.cancelAnimationFrame(n),t._scheduled=void 0)}};var Lr=class extends pn{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ag=new Lr(Pr);var Nt=new T(e=>e.complete());function jr(e){return e&&v(e.schedule)}function ds(e){return e[e.length-1]}function Vr(e){return v(ds(e))?e.pop():void 0}function Ve(e){return jr(ds(e))?e.pop():void 0}function Zu(e,t){return typeof ds(e)=="number"?e.pop():t}function Qu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Yu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function At(e){return this instanceof At?(this.v=e,this):new At(e)}function Ku(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(b,E){i.push([f,g,b,E])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(g){p(i[0][3],g)}}function u(f){f.value instanceof At?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ju(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Yu=="function"?Yu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var hn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Br(e){return v(e?.then)}function Hr(e){return v(e[un])}function $r(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Ur(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Og(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zr=Og();function Gr(e){return v(e?.[zr])}function qr(e){return Ku(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield At(n.read());if(o)return yield At(void 0);yield yield At(r)}}finally{n.releaseLock()}})}function Wr(e){return v(e?.getReader)}function R(e){if(e instanceof T)return e;if(e!=null){if(Hr(e))return Rg(e);if(hn(e))return Fg(e);if(Br(e))return kg(e);if($r(e))return Xu(e);if(Gr(e))return Pg(e);if(Wr(e))return Lg(e)}throw Ur(e)}function Rg(e){return new T(t=>{let n=e[un]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fg(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Or)})}function Pg(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xu(e){return new T(t=>{jg(e,t).catch(n=>t.error(n))})}function Lg(e){return Xu(qr(e))}function jg(e,t){var n,r,o,i;return Qu(this,void 0,void 0,function*(){try{for(n=Ju(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Zr(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function Yr(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function el(e,t){return R(e).pipe(Yr(t),Zr(t))}function tl(e,t){return R(e).pipe(Yr(t),Zr(t))}function nl(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function rl(e,t){return new T(n=>{let r;return he(n,t,()=>{r=e[zr](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function Qr(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ol(e,t){return Qr(qr(e),t)}function il(e,t){if(e!=null){if(Hr(e))return el(e,t);if(hn(e))return nl(e,t);if(Br(e))return tl(e,t);if($r(e))return Qr(e,t);if(Gr(e))return rl(e,t);if(Wr(e))return ol(e,t)}throw Ur(e)}function Be(e,t){return t?il(e,t):R(e)}function Vg(...e){let t=Ve(e);return Be(e,t)}function Bg(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Hg(e){return!!e&&(e instanceof T||v(e.lift)&&v(e.subscribe))}var Ot=sn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function sl(e){return e instanceof Date&&!isNaN(e)}function He(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:$g}=Array;function Ug(e,t){return $g(t)?e(...t):e(t)}function gn(e){return He(t=>Ug(e,t))}var{isArray:zg}=Array,{getPrototypeOf:Gg,prototype:qg,keys:Wg}=Object;function Kr(e){if(e.length===1){let t=e[0];if(zg(t))return{args:t,keys:null};if(Zg(t)){let n=Wg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Zg(e){return e&&typeof e=="object"&&Gg(e)===qg}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Yg(...e){let t=Ve(e),n=Vr(e),{args:r,keys:o}=Kr(e);if(r.length===0)return Be([],t);let i=new T(Qg(r,t,o?s=>Jr(o,s):ue));return n?i.pipe(gn(n)):i}function Qg(e,t,n=ue){return r=>{al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=Be(e[c],t),l=!1;u.subscribe(C(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function al(e,t,n){e?he(n,e,t):t()}function cl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u{i&&t.next(g),u++;let b=!1;R(n(g,l++)).subscribe(C(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(u--;c.length&&uh(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ae(e,t,n=1/0){return v(t)?Ae((r,o)=>He((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>cl(r,o,e,n)))}function Xn(e=1/0){return Ae(ue,e)}function ul(){return Xn(1)}function mn(...e){return ul()(Be(e,Ve(e)))}function Kg(e){return new T(t=>{R(e()).subscribe(t)})}function Jg(...e){let t=Vr(e),{args:n,keys:r}=Kr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(gn(t)):o}var Xg=["addListener","removeListener"],em=["addEventListener","removeEventListener"],tm=["on","off"];function fs(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return fs(e,t,n).pipe(gn(r));let[o,i]=om(e)?em.map(s=>a=>e[s](t,a,n)):nm(e)?Xg.map(ll(e,t)):rm(e)?tm.map(ll(e,t)):[];if(!o&&hn(e))return Ae(s=>fs(s,t,n))(R(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1i(a)})}function ll(e,t){return n=>r=>e[n](t,r)}function nm(e){return v(e.addListener)&&v(e.removeListener)}function rm(e){return v(e.on)&&v(e.off)}function om(e){return v(e.addEventListener)&&v(e.removeEventListener)}function Rt(e=0,t,n=Wu){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new T(o=>{let i=sl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function im(e=0,t=Ke){return e<0&&(e=0),Rt(e,e,t)}function sm(...e){let t=Ve(e),n=Zu(e,1/0),r=e;return r.length?r.length===1?R(r[0]):Xn(n)(Be(r,t)):Nt}var am=new T(Ye);function pt(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function dl(e){return w((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,u=>{r=!0,o=u,i||R(e(u)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function cm(e,t=Ke){return dl(()=>Rt(e,t))}function fl(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=R(e(s,fl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function pl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(C(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function hl(e,t){return v(t)?Ae(e,t,1):Ae(e,1)}function gl(e){return new T(t=>e.subscribe(t))}var um={connector:()=>new J};function Xr(e,t=um){let{connector:n}=t;return w((r,o)=>{let i=n();R(e(gl(i))).subscribe(o),o.add(r.subscribe(i))})}function ml(e,t=Ke){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function er(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ft(e){return e<=0?()=>Nt:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yl(){return w((e,t)=>{e.subscribe(C(t,Ye))})}function ps(e){return He(()=>e)}function hs(e,t){return t?n=>mn(t.pipe(Ft(1),yl()),n.pipe(hs(e))):Ae((n,r)=>R(e(n,r)).pipe(Ft(1),ps(n)))}function lm(e,t=Ke){let n=Rt(e,t);return hs(()=>n)}function vl(e,t=ue){return e=e??dm,w((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function dm(e,t){return e===t}function eo(e=fm){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fm(){return new Ot}function Dl(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Il(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pt((o,i)=>e(o,i,r)):ue,Ft(1),n?er(t):eo(()=>new Ot))}function gs(e){return e<=0?()=>Nt:w((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function pm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pt((o,i)=>e(o,i,r)):ue,gs(1),n?er(t):eo(()=>new Ot))}function El(e,t){let n=v(e)?e:()=>e;return v(t)?Xr(t,{connector:n}):r=>new Zn(r,n)}function hm(){return w((e,t)=>{let n,r=!1;e.subscribe(C(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function gm(e){return e?t=>Xr(e)(t):t=>El(new J)(t)}function mm(e,t){return w(pl(e,t,arguments.length>=2,!0))}function ys(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return w((g,b)=>{u++,!d&&!l&&p();let E=c=c??t();b.add(()=>{u--,u===0&&!d&&!l&&(a=ms(h,o))}),E.subscribe(b),!s&&u>0&&(s=new Qe({next:O=>E.next(O),error:O=>{d=!0,p(),a=ms(f,n,O),E.error(O)},complete:()=>{l=!0,p(),a=ms(f,r),E.complete()}}),R(g).subscribe(s))})(i)}}function ms(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function ym(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ys({connector:()=>new Kn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function wl(e){return pt((t,n)=>e<=n)}function Cl(...e){let t=Ve(e);return w((n,r)=>{(t?mn(e,n,t):mn(e,n)).subscribe(r)})}function bl(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let u=0,l=i++;R(e(c,l)).subscribe(o=C(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _l(e){return w((t,n)=>{R(e).subscribe(C(n,()=>n.complete(),Ye)),!n.closed&&t.subscribe(n)})}function vm(e,t=!1){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Ml(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ue}var Ad="https://g.co/ng/security#xss",_=class extends Error{code;constructor(t,n){super(Od(t,n)),this.code=t}};function Od(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Qo=Symbol("InputSignalNode#UNSET"),Rd=ce(ae({},ts),{transformFn:void 0,applyValueToInputSignal(e,t){Wn(e,t)}});function Fd(e,t){let n=Object.create(Rd);n.value=e,n.transformFn=t?.transform;function r(){if(zn(n),n.value===Qo)throw new _(-950,!1);return n.value}return r[ee]=n,r}function gr(e){return{toString:e}.toString()}var to="__parameters__";function Dm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function kd(e,t,n){return gr(()=>{let r=Dm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(to)?c[to]:Object.defineProperty(c,to,{value:[]})[to];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var gt=globalThis;function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function Im(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Rs(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Em=j({__forward_ref__:j});function Pd(e){return e.__forward_ref__=Pd,e.toString=function(){return de(this())},e}function te(e){return Ld(e)?e():e}function Ld(e){return typeof e=="function"&&e.hasOwnProperty(Em)&&e.__forward_ref__===Pd}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jd(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ko(e){return Sl(e,Vd)||Sl(e,Bd)}function cO(e){return Ko(e)!==null}function Sl(e,t){return e.hasOwnProperty(t)?e[t]:null}function wm(e){let t=e&&(e[Vd]||e[Bd]);return t||null}function Tl(e){return e&&(e.hasOwnProperty(xl)||e.hasOwnProperty(Cm))?e[xl]:null}var Vd=j({\u0275prov:j}),xl=j({\u0275inj:j}),Bd=j({ngInjectableDef:j}),Cm=j({ngInjectorDef:j}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Hd(e){return e&&!!e.\u0275providers}var bm=j({\u0275cmp:j}),_m=j({\u0275dir:j}),Mm=j({\u0275pipe:j}),Sm=j({\u0275mod:j}),yo=j({\u0275fac:j}),rr=j({__NG_ELEMENT_ID__:j}),Nl=j({__NG_ENV_ID__:j});function jt(e){return typeof e=="string"?e:e==null?"":String(e)}function Tm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():jt(e)}function xm(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function Qa(e,t){throw new _(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),Fs;function $d(){return Fs}function ge(e){let t=Fs;return Fs=e,t}function Ud(e,t,n){let r=Ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(t!==void 0)return t;Qa(e,"Injector")}var Nm={},ir=Nm,ks="__NG_DI_FLAG__",vo="ngTempTokenPath",Am="ngTokenPath",Om=/\n/gm,Rm="\u0275",Al="__source",bn;function Fm(){return bn}function ht(e){let t=bn;return bn=e,t}function km(e,t=A.Default){if(bn===void 0)throw new _(-203,!1);return bn===null?Ud(e,void 0,t):bn.get(e,t&A.Optional?null:void 0,t)}function X(e,t=A.Default){return($d()||km)(te(e),t)}function D(e,t=A.Default){return X(e,Jo(t))}function Jo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ps(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):de(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Om,` - `)}`}var zd=Ud(Fd("Optional"),8);var Gd=Ud(Fd("SkipSelf"),4);function Vt(e,t){let n=e.hasOwnProperty(yo);return n?e[yo]:null}function Vm(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ka(n,t):t(n))}function qd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Do(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hm(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Xo(e,t,n){let r=mr(e,t);return r>=0?e[r|1]=n:(r=~r,Wd(e,r,t,n)),r}function vs(e,t){let n=mr(e,t);if(n>=0)return e[n|1]}function mr(e,t){return $m(e,t,1)}function $m(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Ka(t,s=>{let a=s;Ls(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Kd(o,i),n}function Kd(e,t){for(let n=0;n{t(i,r)})}}function Ls(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=Sl(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Sl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ls(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ka(i.imports,l=>{Ls(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Kd(u,t)}if(!a){let u=Vt(o)||(()=>new o);t({provide:o,useFactory:u,deps:le},o),t({provide:Yd,useValue:o,multi:!0},o),t({provide:Io,useValue:()=>X(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ec(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ec(e,t){for(let n of e)Bd(n)&&(n=n.\u0275providers),Array.isArray(n)?ec(n,t):t(n)}var qm=j({provide:String,useValue:j});function Jd(e){return e!==null&&typeof e=="object"&&qm in e}function Wm(e){return!!(e&&e.useExisting)}function Zm(e){return!!(e&&e.useFactory)}function Tn(e){return typeof e=="function"}function Ym(e){return!!e.useClass}var Xd=new x(""),co={},Qm={},Ds;function ti(){return Ds===void 0&&(Ds=new Eo),Ds}var Xe=class{},sr=class extends Xe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Vs(t,s=>this.processProvider(s)),this.records.set(Zd,In(void 0,this)),o.has("environment")&&this.records.set(Xe,In(void 0,this));let i=this.records.get(Xd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Yd,le,A.Self))}destroy(){tr(this),this._destroyed=!0;let t=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return tr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){tr(this);let n=ht(this),r=ge(void 0),o;try{return t()}finally{ht(n),ge(r)}}get(t,n=ir,r=A.Default){if(tr(this),t.hasOwnProperty(xl))return t[xl](this);r=Jo(r);let o,i=ht(this),s=ge(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=ty(t)&&Ko(t);u&&this.injectableDefInScope(u)?c=In(js(t),co):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&A.Self?ti():this.parent;return n=r&A.Optional&&n===ir?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[vo]=a[vo]||[]).unshift(de(t)),i)throw a;return Lm(a,t,"R3InjectorError",this.source)}else throw a}finally{ge(s),ht(i)}}resolveInjectorInitializers(){let t=S(null),n=ht(this),r=ge(void 0),o;try{let i=this.get(Io,le,A.Self);for(let s of i)s()}finally{ht(n),ge(r),S(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=te(t);let n=Tn(t)?t:te(t&&t.provide),r=Jm(t);if(!Tn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=In(void 0,co,!0),o.factory=()=>Ps(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=S(null);try{return n.value===co&&(n.value=Qm,n.value=n.factory()),typeof n.value=="object"&&n.value&&ey(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function js(e){let t=Ko(e),n=t!==null?t.factory:Vt(e);if(n!==null)return n;if(e instanceof x)throw new _(204,!1);if(e instanceof Function)return Km(e);throw new _(204,!1)}function Km(e){if(e.length>0)throw new _(204,!1);let n=wm(e);return n!==null?()=>n.factory(e):()=>new e}function Jm(e){if(Jd(e))return In(void 0,e.useValue);{let t=ef(e);return In(t,co)}}function ef(e,t,n){let r;if(Tn(e)){let o=te(e);return Vt(o)||js(o)}else if(Jd(e))r=()=>te(e.useValue);else if(Zm(e))r=()=>e.useFactory(...Ps(e.deps||[]));else if(Wm(e))r=()=>X(te(e.useExisting));else{let o=te(e&&(e.useClass||e.provide));if(Xm(e))r=()=>new o(...Ps(e.deps));else return Vt(o)||js(o)}return r}function tr(e){if(e.destroyed)throw new _(205,!1)}function In(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xm(e){return!!e.deps}function ey(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ty(e){return typeof e=="function"||typeof e=="object"&&e instanceof x}function Vs(e,t){for(let n of e)Array.isArray(n)?Vs(n,t):n&&Bd(n)?Vs(n.\u0275providers,t):t(n)}function tf(e,t){e instanceof sr&&tr(e);let n,r=ht(e),o=ge(void 0);try{return t()}finally{ht(r),ge(o)}}function nf(){return Hd()!==void 0||Fm()!=null}function ni(e){if(!nf())throw new _(-203,!1)}function ny(e){return typeof e=="function"}var We=0,y=1,I=2,oe=3,Fe=4,ve=5,xn=6,wo=7,ie=8,fe=9,et=10,$=11,ar=12,Ol=13,Fn=14,we=15,Bt=16,En=17,tt=18,ri=19,rf=20,yt=21,uo=22,Ht=23,Ee=24,U=25,tc=1,_n=6,$t=7,Co=8,Nn=9,ne=10,bo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(bo||{});function vt(e){return Array.isArray(e)&&typeof e[tc]=="object"}function it(e){return Array.isArray(e)&&e[tc]===!0}function nc(e){return(e.flags&4)!==0}function oi(e){return e.componentOffset>-1}function ii(e){return(e.flags&1)===1}function nt(e){return!!e.template}function Bs(e){return(e[I]&512)!==0}function Hs(e){return(e[I]&256)===256}var $s=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function of(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var si=(()=>{let e=()=>sf;return e.ngInherit=!0,e})();function sf(e){return e.type.prototype.ngOnChanges&&(e.setInput=oy),ry}function ry(){let e=cf(this),t=e?.current;if(t){let n=e.previous;if(n===Je)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function oy(e,t,n,r,o){let i=this.declaredInputs[r],s=cf(e)||iy(e,{previous:Je,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $s(u&&u.currentValue,n,c===Je),of(e,t,o,n)}var af="__ngSimpleChanges__";function cf(e){return e[af]||null}function iy(e,t){return e[af]=t}var Rl=null;var $e=function(e,t,n){Rl?.(e,t,n)},uf="svg",sy="math";function Ge(e){for(;Array.isArray(e);)e=e[We];return e}function ay(e){for(;Array.isArray(e);){if(typeof e[tc]=="object")return e;e=e[We]}return null}function rc(e,t){return Ge(t[e])}function Se(e,t){return Ge(t[e.index])}function yr(e,t){return e.data[t]}function ai(e,t){return e[t]}function Ct(e,t){let n=t[e];return vt(n)?n:n[We]}function cy(e){return(e[I]&4)===4}function oc(e){return(e[I]&128)===128}function uy(e){return it(e[oe])}function Dt(e,t){return t==null?null:e[t]}function lf(e){e[En]=0}function ic(e){e[I]&1024||(e[I]|=1024,oc(e)&&vr(e))}function df(e,t){for(;e>0;)t=t[Fn],e--;return t}function ci(e){return!!(e[I]&9216||e[Ee]?.dirty)}function Us(e){e[et].changeDetectionScheduler?.notify(9),e[I]&64&&(e[I]|=1024),ci(e)&&vr(e)}function vr(e){e[et].changeDetectionScheduler?.notify(0);let t=Ut(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!oc(t)));)t=Ut(t)}function ui(e,t){if((e[I]&256)===256)throw new _(911,!1);e[yt]===null&&(e[yt]=[]),e[yt].push(t)}function sc(e,t){if(e[yt]===null)return;let n=e[yt].indexOf(t);n!==-1&&e[yt].splice(n,1)}function Ut(e){let t=e[oe];return it(t)?t[oe]:t}var M={lFrame:vf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zs=!1;function ly(){return M.lFrame.elementDepthCount}function dy(){M.lFrame.elementDepthCount++}function fy(){M.lFrame.elementDepthCount--}function ff(){return M.bindingsEnabled}function pf(){return M.skipHydrationRootTNode!==null}function py(e){return M.skipHydrationRootTNode===e}function hy(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function V(){return M.lFrame.tView}function cO(e){return M.lFrame.contextLView=e,e[ie]}function uO(e){return M.lFrame.contextLView=null,e}function G(){let e=hf();for(;e!==null&&e.type===64;)e=e.parent;return e}function hf(){return M.lFrame.currentTNode}function gy(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ac(){return M.lFrame.isParent}function cc(){M.lFrame.isParent=!1}function my(){return M.lFrame.contextLView}function gf(){return zs}function _o(e){let t=zs;return zs=e,t}function kn(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yy(){return M.lFrame.bindingIndex}function vy(e){return M.lFrame.bindingIndex=e}function _t(){return M.lFrame.bindingIndex++}function uc(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Dy(){return M.lFrame.inI18n}function Iy(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gs(t)}function Ey(){return M.lFrame.currentDirectiveIndex}function Gs(e){M.lFrame.currentDirectiveIndex=e}function lc(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function dc(){return M.lFrame.currentQueryIndex}function li(e){M.lFrame.currentQueryIndex=e}function wy(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[ve]:null}function mf(e,t,n){if(n&A.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=wy(i),o===null||(i=i[Fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=yf();return r.currentTNode=t,r.lView=e,!0}function fc(e){let t=yf(),n=e[y];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function yf(){let e=M.lFrame,t=e===null?null:e.child;return t===null?vf(e):t}function vf(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Df(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var If=Df;function pc(){let e=Df();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Cy(e){return(M.lFrame.contextLView=df(e,M.lFrame.contextLView))[ie]}function st(){return M.lFrame.selectedIndex}function zt(e){M.lFrame.selectedIndex=e}function Dr(){let e=M.lFrame;return yr(e.tView,e.selectedIndex)}function lO(){M.lFrame.currentNamespace=uf}function dO(){by()}function by(){M.lFrame.currentNamespace=null}function _y(){return M.lFrame.currentNamespace}var Ef=!0;function di(){return Ef}function fi(e){Ef=e}function My(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=sf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function pi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[En]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,Fl(a,i)):Fl(a,i)}var Mn=-1,Gt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ty(e){return e instanceof Gt}function xy(e){return(e.flags&8)!==0}function Ny(e){return(e.flags&16)!==0}function qs(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function So(e,t){let n=Oy(e),r=t;for(;n>0;)r=r[Fn],n--;return r}var Ws=!0;function To(e){let t=Ws;return Ws=e,t}var Ry=256,_f=Ry-1,Mf=5,Fy=0,Ue={};function ky(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(rr)&&(r=n[rr]),r==null&&(r=n[rr]=Fy++);let o=r&_f,i=1<>Mf)]|=i}function xo(e,t){let n=Sf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,ws(r.data,e),ws(t,null),ws(r.blueprint,null));let o=hc(e,t),i=e.injectorIndex;if(bf(o)){let s=Mo(o),a=So(o,t),c=a[y].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ws(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Of(o),r===null)return Mn;if(n++,o=o[Fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Mn}function Zs(e,t,n){ky(e,t,n)}function Py(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&nt(f)&&f.type===n)return c}return null}function qt(e,t,n,r){let o=e[n],i=t.data;if(Ty(o)){let s=o;s.resolving&&xm(Tm(i[n]));let a=To(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ge(s.injectImpl):null,l=mf(e,r,A.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&My(n,i[n],t)}finally{u!==null&&ge(u),To(a),s.resolving=!1,If()}}return o}function jy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(rr)?e[rr]:void 0;return typeof t=="number"?t>=0?t&_f:Vy:t}function Pl(e,t,n){let r=1<>Mf)]&r)}function Ll(e,t){return!(e&A.Self)&&!(e&A.Host&&t)}var Lt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Nf(this._tNode,this._lView,t,Jo(r),n)}};function Vy(){return new Lt(G(),m())}function fO(e){return gr(()=>{let t=e.prototype.constructor,n=t[yo]||Ys(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[yo]||Ys(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ys(e){return Pd(e)?()=>{let t=Ys(te(e));return t&&t()}:Vt(e)}function By(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Af(i,s,n,r|A.Self,Ue);if(a!==Ue)return a;let c=i.parent;if(!c){let u=s[rf];if(u){let l=u.get(n,Ue,r);if(l!==Ue)return l}c=Of(s),s=s[Fn]}i=c}return o}function Of(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[ve]:null}function gc(e){return Py(G(),e)}function jl(e,t=null,n=null,r){let o=Rf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Rf(e,t=null,n=null,r,o=new Set){let i=[n||le,Gm(e)];return r=r||(typeof e=="object"?void 0:de(e)),new sr(i,t||ti(),r||null,o)}var ke=class e{static THROW_IF_NOT_FOUND=ir;static NULL=new Eo;static create(t,n){if(Array.isArray(t))return jl({name:""},n,t,"");{let r=t.name??"";return jl({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>X(Zd)});static __NG_ELEMENT_ID__=-1};var Vl=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>gc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Hy=new x("");Hy.__NG_ELEMENT_ID__=e=>{let t=G();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&A.Optional)return null;throw new _(204,!1)};var Ff=!1,Pn=(()=>{class e{static __NG_ELEMENT_ID__=$y;static __NG_ENV_ID__=n=>n}return e})(),No=class extends Pn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ui(this._lView,t),()=>sc(this._lView,t)}};function $y(){return new No(m())}var Wt=class{},mc=new x("",{providedIn:"root",factory:()=>!1});var kf=new x(""),Pf=new x(""),Ln=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Yn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Qs=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,nf()&&(this.destroyRef=D(Pn,{optional:!0})??void 0,this.pendingTasks=D(Ln,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},mt=Qs;function ur(...e){}function Lf(e){let t,n;function r(){e=ur;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Bl(e){return queueMicrotask(()=>e()),()=>{e=ur}}var yc="isAngularZone",Ao=yc+"_ID",Uy=0,re=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new mt(!1);onMicrotaskEmpty=new mt(!1);onStable=new mt(!1);onError=new mt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ff}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,qy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,zy,ur,ur);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},zy={};function vc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Lf(()=>{e.callbackScheduled=!1,Ks(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ks(e)}function qy(e){let t=()=>{Gy(e)},n=Uy++;e._inner=e._inner.fork({name:"angular",properties:{[yc]:!0,[Ao]:n,[Ao+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wy(c))return r.invokeTask(i,s,a,c);try{return Hl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),$l(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Hl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Zy(c)&&t(),$l(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ks(e),vc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ks(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $l(e){e._nesting--,vc(e)}var Js=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new mt;onMicrotaskEmpty=new mt;onStable=new mt;onError=new mt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Wy(e){return jf(e,"__ignore_ng_zone__")}function Zy(e){return jf(e,"__scheduler_tick__")}function jf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var It=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Yy=new x("",{providedIn:"root",factory:()=>{let e=D(re),t=D(It);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Oo=class{destroyed=!1;listeners=null;errorHandler=D(It,{optional:!0});destroyRef=D(Pn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new _(953,!1);if(this.listeners===null)return;let n=S(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{S(n)}}};function pO(e){return new Oo}function Ul(e,t){return Rd(e,t)}function Qy(e){return Rd(Qo,e)}var hO=(Ul.required=Qy,Ul);function Ky(){return jn(G(),m())}function jn(e,t){return new at(Se(e,t))}var at=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ky}return e})();function Vf(e){return e instanceof at?e.nativeElement:e}function Jy(){return this._results[Symbol.iterator]()}var Xs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Bm(t);(this._changesDetected=!Vm(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Jy};function Bf(e){return(e.flags&128)===128}var Hf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Hf||{}),$f=new Map,Xy=0;function ev(){return Xy++}function tv(e){$f.set(e[ri],e)}function ea(e){$f.delete(e[ri])}var zl="__ngContext__";function Et(e,t){vt(t)?(e[zl]=t[ri],tv(t)):e[zl]=t}function Uf(e){return Gf(e[ar])}function zf(e){return Gf(e[Fe])}function Gf(e){for(;e!==null&&!it(e);)e=e[Fe];return e}var ta;function gO(e){ta=e}function qf(){if(ta!==void 0)return ta;if(typeof document<"u")return document;throw new _(210,!1)}var mO=new x("",{providedIn:"root",factory:()=>nv}),nv="ng",rv=new x(""),Dc=new x("",{providedIn:"platform",factory:()=>"unknown"});var yO=new x(""),vO=new x("",{providedIn:"root",factory:()=>qf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ic={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ec=new x("",{providedIn:"root",factory:()=>Ic});var ov="h",iv="b";var sv="di",Wf="s";var Zf=!1,av=new x("",{providedIn:"root",factory:()=>Zf});var cv=new x("");var Gl=new Set;function Ce(e){Gl.has(e)||(Gl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var wn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wn||{}),Yf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),uv=[wn.EarlyRead,wn.Write,wn.MixedReadWrite,wn.Read],lv=(()=>{class e{ngZone=D(re);scheduler=D(Wt);errorHandler=D(It,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let n of uv)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[n](r.pipelinedValue))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),na=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function dv(e,t){!t?.injector&&ni(dv);let n=t?.injector??D(ke);return Ce("NgAfterRender"),Qf(e,n,t,!1)}function ra(e,t){!t?.injector&&ni(ra);let n=t?.injector??D(ke);return Ce("NgAfterNextRender"),Qf(e,n,t,!0)}function fv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Qf(e,t,n,r){let o=t.get(Yf);o.impl??=t.get(lv);let i=n?.phase??wn.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Pn):null,a=new na(o.impl,fv(e,i),r,s);return o.impl.register(a),a}var me=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(me||{}),ql=0,pv=1,W=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(W||{}),wc=function(e){return e[e.Initial=-1]="Initial",e}(wc||{}),hv=0,hi=1;var gv=4,mv=5;var oa=7,yn=8,yv=9,Kf=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Kf||{});function Cc(e,t,n){let r=Xf(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ho(e,t){let n=Xf(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Jf(e){ho(1,e),ho(0,e),ho(2,e)}function Xf(e){let t=gv;return e===1?t=mv:e===2&&(t=yv),t}function gi(e){return e+1}function Jt(e,t){let n=e[y],r=gi(t.index);return e[r]}function vv(e,t,n){let r=e[y],o=gi(t);e[o]=n}function Xt(e,t){let n=gi(t.index);return e.data[n]}function Dv(e,t,n){let r=gi(t);e.data[r]=n}function Iv(e,t,n){let r=t[y],o=Xt(r,n);switch(e){case W.Complete:return o.primaryTmplIndex;case W.Loading:return o.loadingTmplIndex;case W.Error:return o.errorTmplIndex;case W.Placeholder:return o.placeholderTmplIndex;default:return null}}function Wl(e,t){return t===W.Placeholder?e.placeholderBlockConfig?.[ql]??null:t===W.Loading?e.loadingBlockConfig?.[ql]??null:null}function Ev(e){return e.loadingBlockConfig?.[pv]??null}function Zl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function wv(e,t){let n=t.primaryTmplIndex+U;return yr(e,n)}var Yl={passive:!0,capture:!0},Cs=new WeakMap;var vn=new WeakMap;var Ql=["mouseenter","mouseover","focusin"],Dn=null,bs=0,Ro=class{callbacks=new Set;listener=()=>{for(let t of this.callbacks)t()}};function Cv(e,t){let n=Cs.get(e);if(!n){n=new Ro,Cs.set(e,n);for(let r of Ql)e.addEventListener(r,n.listener,Yl)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:o}=n;if(r.delete(t),r.size===0){for(let i of Ql)e.removeEventListener(i,o,Yl);Cs.delete(e)}}}function bv(e,t,n){let r=n.get(re),o=vn.get(e);return Dn=Dn||r.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&vn.has(s.target)&&r.run(vn.get(s.target).listener)})),o||(o=new Ro,r.runOutsideAngular(()=>Dn.observe(e)),vn.set(e,o),bs++),o.callbacks.add(t),()=>{vn.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(Dn?.unobserve(e),vn.delete(e),bs--),bs===0&&(Dn?.disconnect(),Dn=null))}}function _v(e,t,n){return n==null?e:n>=0?df(n,e):e[t.index][ne]??null}function Mv(e,t){return rc(U+t,e)}function ep(e,t,n,r,o,i,s){let a=e[fe],c=a.get(re);function u(){if(Hs(e))return;let l=Jt(e,t),d=l[hi];if(d!==wc.Initial&&d!==W.Placeholder)return;let p=_v(e,t,r);if(!p){ra({read:u},{injector:a});return}if(Hs(p))return;let f=Mv(p,n),h=o(f,()=>{c.run(()=>{e!==p&&sc(p,h),i()})},a);e!==p&&ui(p,h),Cc(s,l,h)}ra({read:u},{injector:a})}var Sv=new x("");var Tv=()=>null;function bc(e,t,n=!1){return Tv(e,t,n)}function xv(e){return e.get(cv,!1,{optional:!0})}var lr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(lr||{}),no;function Nv(){if(no===void 0&&(no=null,gt.trustedTypes))try{no=gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return no}function mi(e){return Nv()?.createHTML(e)||e}var ro;function tp(){if(ro===void 0&&(ro=null,gt.trustedTypes))try{ro=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ro}function Kl(e){return tp()?.createHTML(e)||e}function Jl(e){return tp()?.createScriptURL(e)||e}var rt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nd})`}},ia=class extends rt{getTypeName(){return"HTML"}},sa=class extends rt{getTypeName(){return"Style"}},aa=class extends rt{getTypeName(){return"Script"}},ca=class extends rt{getTypeName(){return"URL"}},ua=class extends rt{getTypeName(){return"ResourceURL"}};function en(e){return e instanceof rt?e.changingThisBreaksApplicationSecurity:e}function _c(e,t){let n=Av(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Nd})`)}return n===t}function Av(e){return e instanceof rt&&e.getTypeName()||null}function DO(e){return new ia(e)}function IO(e){return new sa(e)}function EO(e){return new aa(e)}function wO(e){return new ca(e)}function CO(e){return new ua(e)}function Ov(e){let t=new da(e);return Rv()?new la(t):t}var la=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(mi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},da=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mi(t),n}};function Rv(){try{return!!new window.DOMParser().parseFromString(mi(""),"text/html")}catch{return!1}}var Fv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function np(e){return e=String(e),e.match(Fv)?e:"unsafe:"+e}function ct(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ir(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var rp=ct("area,br,col,hr,img,wbr"),op=ct("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ip=ct("rp,rt"),kv=Ir(ip,op),Pv=Ir(op,ct("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Lv=Ir(ip,ct("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Xl=Ir(rp,Pv,Lv,kv),sp=ct("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jv=ct("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Vv=ct("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Bv=Ir(sp,jv,Vv),Hv=ct("script,style,template"),fa=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=zv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Uv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ed(t).toLowerCase();if(!Xl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=ed(t).toLowerCase();Xl.hasOwnProperty(n)&&!rp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(td(t))}};function $v(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Uv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ap(t);return t}function zv(e){let t=e.firstChild;if(t&&$v(e,t))throw ap(t);return t}function ed(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ap(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qv=/([^\#-~ |!])/g;function td(e){return e.replace(/&/g,"&").replace(Gv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var oo;function Wv(e,t){let n=null;try{oo=oo||Ov(e);let r=t?String(t):"";n=oo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=oo.getInertBodyElement(r)}while(r!==i);let a=new fa().sanitizeChildren(nd(n)||n);return mi(a)}finally{if(n){let r=nd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function nd(e){return"content"in e&&Zv(e)?e.content:null}function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var yi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(yi||{});function bO(e){let t=Mc();return t?Kl(t.sanitize(yi.HTML,e)||""):_c(e,"HTML")?Kl(en(e)):Wv(qf(),jt(e))}function Yv(e){let t=Mc();return t?t.sanitize(yi.URL,e)||"":_c(e,"URL")?en(e):np(jt(e))}function Qv(e){let t=Mc();if(t)return Jl(t.sanitize(yi.RESOURCE_URL,e)||"");if(_c(e,"ResourceURL"))return Jl(en(e));throw new _(904,!1)}function Kv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Qv:Yv}function _O(e,t,n){return Kv(t,n)(e)}function Mc(){let e=m();return e&&e[et].sanitizer}var Jv=/^>|^->||--!>|)/g,eD="\u200B$1\u200B";function tD(e){return e.replace(Jv,t=>t.replace(Xv,eD))}function MO(e){return e.ownerDocument}function cp(e){return e instanceof Function?e():e}var wt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(wt||{}),dr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dr||{}),nD;function Sc(e,t){return nD(e,t)}function Cn(e,t,n,r,o){if(r!=null){let i,s=!1;it(r)?i=r:vt(r)&&(s=!0,r=r[We]);let a=Ge(r);e===0&&n!==null?o==null?pp(t,n,a):Fo(t,n,a,o||null,!0):e===1&&n!==null?Fo(t,n,a,o||null,!0):e===2?mD(t,a,s):e===3&&t.destroyNode(a),i!=null&&vD(t,e,i,n,o)}}function rD(e,t){return e.createText(t)}function oD(e,t,n){e.setValue(t,n)}function iD(e,t){return e.createComment(tD(t))}function up(e,t,n){return e.createElement(t,n)}function sD(e,t){lp(e,t),t[We]=null,t[ve]=null}function aD(e,t,n,r,o,i){r[We]=o,r[ve]=t,Ii(e,r,n,1,o,i)}function lp(e,t){t[et].changeDetectionScheduler?.notify(10),Ii(e,t,t[$],2,null,null)}function cD(e){let t=e[ar];if(!t)return _s(e[y],e);for(;t;){let n=null;if(vt(t))n=t[ar];else{let r=t[ne];r&&(n=r)}if(!n){for(;t&&!t[Fe]&&t!==e;)vt(t)&&_s(t[y],t),t=t[oe];t===null&&(t=e),vt(t)&&_s(t[y],t),n=t&&t[Fe]}t=n}}function uD(e,t,n,r){let o=ne+r,i=n.length;r>0&&(n[o-1][Fe]=t),r0&&(e[n-1][Fe]=r[Fe]);let i=Do(e,ne+t);sD(r[y],r);let s=i[tt];s!==null&&s.detachView(i[y]),r[oe]=null,r[Fe]=null,r[I]&=-129}return r}function vi(e,t){if(!(t[I]&256)){let n=t[$];n.destroyNode&&Ii(e,t,n,3,null,null),cD(t)}}function _s(e,t){if(t[I]&256)return;let n=S(null);try{t[I]&=-129,t[I]|=256,t[Ee]&&on(t[Ee]),dD(e,t),lD(e,t),t[y].type===1&&t[$].destroy();let r=t[Bt];if(r!==null&&it(t[oe])){r!==t[oe]&&Tc(r,t);let o=t[tt];o!==null&&o.detachView(e)}ea(t)}finally{S(n)}}function lD(e,t){let n=e.cleanup,r=t[wo];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[wo]=null);let o=t[yt];if(o!==null){t[yt]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===lr.None||i===lr.Emulated)return null}return Se(r,n)}}function Fo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pp(e,t,n){e.appendChild(t,n)}function rd(e,t,n,r,o){r!==null?Fo(e,t,n,r,o):pp(e,t,n)}function hp(e,t){return e.parentNode(t)}function pD(e,t){return e.nextSibling(t)}function gp(e,t,n){return gD(e,t,n)}function hD(e,t,n){return e.type&40?Se(e,n):null}var gD=hD,od;function Di(e,t,n,r){let o=fp(e,r,t),i=t[$],s=r.parent||t[ve],a=gp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(e){return(e&1)===0}function _D(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(t+=id(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(t+=id(i,o)),t}function AD(e){return e.map(ND).join(",")}function OD(e){let t=[],n=[],r=1,o=2;for(;rU&&wp(e,t,U,!1),$e(s?2:0,o),n(r,o)}finally{zt(i),$e(s?3:1,o)}}function Ac(e,t,n){if(nc(t)){let r=S(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function VD(e,t,n,r){let o=Op(t);o.push(n),e.firstCreatePass&&Rp(e).push(r,o.length-1)}function BD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return pf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function sd(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=wt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?ad(r,n,u,a,c):ad(r,n,u,a)}return r}function ad(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function HD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qD(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;oi(n)&&XD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||xo(n,t),Et(r,t);let s=n.initialInputs;for(let a=o;a{vr(e.lView)},consumerOnSignalRead(){this.lView[Ee]=this}});function fI(e){let t=e[Ee]??Object.create(pI);return t.lView=e,t}var pI=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Ut(e.lView);for(;t&&!jp(t[y]);)t=Ut(t);t&&ic(t)},consumerOnSignalRead(){this.lView[Ee]=this}});function jp(e){return e.type!==2}function Vp(e){if(e[Ht]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ht])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var hI=100;function Bp(e,t=!0,n=0){let o=e[et].rendererFactory,i=!1;i||o.begin?.();try{gI(e,n)}catch(s){throw t&&bi(e,s),s}finally{i||o.end?.()}}function gI(e,t){let n=gf();try{_o(!0),ma(e,t);let r=0;for(;ci(e);){if(r===hI)throw new _(103,!1);r++,ma(e,1)}}finally{_o(n)}}function mI(e,t,n,r){let o=t[I];if((o&256)===256)return;let i=!1,s=!1;fc(t);let a=!0,c=null,u=null;i||(jp(e)?(u=cI(t),c=rn(u)):Su()===null?(a=!1,u=fI(t),c=rn(u)):t[Ee]&&(on(t[Ee]),t[Ee]=null));try{lf(t),vy(e.bindingStartIndex),n!==null&&_p(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&lo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&fo(t,f,0,null),Is(t,0)}if(s||yI(t),Vp(t),Hp(t,0),e.contentQueries!==null&&Ap(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&lo(t,f)}else{let f=e.contentHooks;f!==null&&fo(t,f,1),Is(t,1)}RD(e,t);let d=e.components;d!==null&&Up(t,d,0);let p=e.viewQuery;if(p!==null&&ga(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&lo(t,f)}else{let f=e.viewHooks;f!==null&&fo(t,f,2),Is(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[uo]){for(let f of t[uo])f();t[uo]=null}i||(t[I]&=-73)}catch(l){throw i||vr(t),l}finally{u!==null&&(Gn(u,c),a&&lI(u)),pc()}}function Hp(e,t){for(let n=Uf(e);n!==null;n=zf(n))for(let r=ne;r-1&&(fr(t,r),Do(n,r))}this._attachedToViewContainer=!1}vi(this._lView[y],this._lView)}onDestroy(t){ui(this._lView,t)}markForCheck(){_i(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[I]&=-129}reattach(){Us(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Bp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Bs(this._lView),n=this._lView[Bt];n!==null&&!t&&Tc(n,this._lView),lp(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Bs(this._lView),r=this._lView[Bt];r!==null&&!n&&dp(r,this._lView),Us(this._lView)}},qe=(()=>{class e{static __NG_ELEMENT_ID__=EI}return e})(),DI=qe,II=class extends DI{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Yt(o)}};function EI(){return Mi(G(),m())}function Mi(e,t){return e.type&4?new II(t,e,jn(e,t)):null}var ya=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},An=class{static NULL=new ya},ot=class{},va=class{},Da=class{},Po=class{},Lo=class{},Er=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>wI()}return e})();function wI(){let e=m(),t=G(),n=Ct(t.index,e);return(vt(n)?n:e)[$]}var CI=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function jo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&vp(e,n,i.join(" "))}}function NI(e,t,n){let r=e.projection=[];for(let o=0;on()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ea=class extends va{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Bo(this.moduleType,t,[])}};var Ho=class extends ot{injector;componentFactoryResolver=new Vo(this);instance=null;constructor(t){super();let n=new sr([...t.providers,{provide:ot,useValue:this},{provide:An,useValue:this.componentFactoryResolver}],t.parent||ti(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Gp(e,t,n=null){return new Ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var OI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xa(!1,n.type),o=r.length>0?Gp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(X(Xe))})}return e})();function NO(e){return gr(()=>{let t=Wp(e),n=ce(ae({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(OI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lr.Emulated,styles:e.styles||le,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ce("NgStandalone"),Zp(n);let r=e.dependencies;return n.directiveDefs=ld(r,!1),n.pipeDefs=ld(r,!0),n.id=kI(n),n})}function RI(e){return ze(e)||ei(e)}function FI(e){return e!==null}function qp(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ud(e,t){if(e==null)return Je;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=wt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==wt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function _e(e){return gr(()=>{let t=Wp(e);return Zp(t),t})}function De(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Wp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Je,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ud(e.inputs,t),outputs:ud(e.outputs),debugInfo:null}}function Zp(e){e.features?.forEach(t=>t(e))}function ld(e,t){if(!e)return null;let n=t?Ja:RI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(FI)}function kI(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var AO=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function PI(e){return typeof e=="function"&&e[ee]!==void 0}var LI=new x("");function Si(e){return!!e&&typeof e.then=="function"}function Vc(e){return!!e&&typeof e.subscribe=="function"}var jI=new x("");var Yp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(jI,{optional:!0})??[];injector=D(ke);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=tf(this.injector,o);if(Si(i))n.push(i);else if(Vc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qp=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new $o})}return e})(),$o=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},VI=new x("");function BI(){Pu(()=>{throw new _(600,!1)})}function HI(e){return e.isBoundToModule}var $I=10;function UI(e,t,n){try{let r=n();return Si(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ti=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(Yy);afterRenderManager=D(Yf);zonelessEnabled=D(mc);rootEffectScheduler=D(Qp);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new J;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(Ln).hasPendingTasks.pipe(He(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(Xe);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Po;if(!this._injector.get(Yp).done){let p=!o&&Um(n),f=!1;throw new _(405,f)}let s;o?s=n:s=this._injector.get(An).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=HI(s)?void 0:this._injector.get(ot),c=r||s.selector,u=s.create(ke.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(LI,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),go(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new _(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,S(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Lo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<$I;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o,notifyErrorHandler:i}of this.allViews)zI(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ci(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;go(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(VI,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>go(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function go(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zI(e,t,n,r){if(!n&&!ci(e))return;Bp(e,t,n&&!r?0:1)}var OO=new RegExp(`^(\\d+)*(${iv}|${ov})*(.*)`);var GI=()=>null;function On(e,t){return GI(e,t)}var Pe=(()=>{class e{static __NG_ELEMENT_ID__=qI}return e})();function qI(){let e=G();return Jp(e,m())}var WI=Pe,Kp=class extends WI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return jn(this._hostTNode,this._hostLView)}get injector(){return new Lt(this._hostTNode,this._hostLView)}get parentInjector(){let t=hc(this._hostTNode,this._hostLView);if(bf(t)){let n=So(t,this._hostLView),r=Mo(t),o=n[y].data[r+8];return new Lt(o,n)}else return new Lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=dd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ne}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=On(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!ny(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Qt(ze(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Xe,null);g&&(i=g)}let l=ze(c.componentType??{}),d=On(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,Zt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(uy(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[oe],u=new Kp(c,c[ve],c[oe]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Bn(s,o,i,r),t.attachToViewContainerRef(),qd(Ms(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=dd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);r&&(Do(Ms(this._lContainer),n),vi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);return r&&Do(Ms(this._lContainer),n)!=null?new Yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function dd(e){return e[Co]}function Ms(e){return e[Co]||(e[Co]=[])}function Jp(e,t){let n,r=t[e.index];return it(r)?n=r:(n=Np(r,t,null,e),t[e.index]=n,Ci(t,n)),YI(n,t,e,r),new Kp(n,e,t)}function ZI(e,t){let n=e[$],r=n.createComment(""),o=Se(t,e),i=hp(n,o);return Fo(n,i,r,pD(n,o),!1),r}var YI=KI,QI=()=>!1;function Xp(e,t,n){return QI(e,t,n)}function KI(e,t,n,r){if(e[$t])return;let o;n.type&8?o=Ge(r):o=ZI(t,n),e[$t]=o}var wa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ca=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ne;dt.trim())}function oh(e,t,n){e.queries===null&&(e.queries=new ba),e.queries.track(new _a(t,n))}function rE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Hc(e,t){return e.queries.getByIndex(t)}function ih(e,t){let n=e[y],r=Hc(n,t);return r.crossesNgTemplate?Ma(n,e,t,[]):eh(n,e,r,t)}function oE(e,t){Ce("NgSignals");let n=Lu(e),r=n[ee];return t?.equal&&(r.equal=t.equal),n.set=o=>Wn(r,o),n.update=o=>ju(r,o),n.asReadonly=sh.bind(n),n}function sh(){let e=this[ee];if(e.readonlyFn===void 0){let t=()=>this();t[ee]=e,e.readonlyFn=t}return e.readonlyFn}function ah(e){return PI(e)&&typeof e.set=="function"}function $c(e,t,n){let r,o=es(()=>{r._dirtyCounter();let i=sE(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[ee],r._dirtyCounter=oE(0),r._flatValue=void 0,o}function ch(e){return $c(!0,!1,e)}function uh(e){return $c(!0,!0,e)}function iE(e){return $c(!1,!1,e)}function lh(e,t){let n=e[ee];n._lView=m(),n._queryIndex=t,n._queryList=Bc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function sE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:le;let o=Bc(n,r),i=ih(n,r);return o.reset(i,Vf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function fd(e,t){return ch(t)}function aE(e,t){return uh(t)}var FO=(fd.required=aE,fd);function kO(e,t){return iE(t)}function pd(e,t){return ch(t)}function cE(e,t){return uh(t)}var PO=(pd.required=cE,pd);function dh(e,t){let n=Object.create(Od),r=new Oo;n.value=e;function o(){return zn(n),hd(n.value),n.value}return o[ee]=n,o.asReadonly=sh.bind(o),o.set=i=>{n.equal(n.value,i)||(Wn(n,i),r.emit(i))},o.update=i=>{hd(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function hd(e){if(e===Qo)throw new _(952,!1)}function gd(e,t){return dh(e,t)}function uE(e){return dh(Qo,e)}var LO=(gd.required=uE,gd);function lE(e){return Object.getPrototypeOf(e.prototype).constructor}function dE(e){let t=lE(e.type),n=!0,r=[e];for(;t;){let o;if(nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=io(e.inputs),s.inputTransforms=io(e.inputTransforms),s.declaredInputs=io(e.declaredInputs),s.outputs=io(e.outputs);let a=o.hostBindings;a&&mE(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&hE(e,c),u&&gE(e,u),fE(e,o),Im(e.outputs,o.outputs),nt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cr(o.hostAttrs,n=cr(n,o.hostAttrs))}}function io(e){return e===Je?{}:e===le?[]:e}function hE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function gE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function mE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function jO(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=fh,n.hostDirectives=r?e.map(Sa):[e]):r?n.hostDirectives.unshift(...e.map(Sa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function fh(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)md(Sa(i),t,n)}else md(r,t,n)}function md(e,t,n){let r=ei(e.directive);yE(r.declaredInputs,e.inputs),fh(r,t,n),n.set(r,e),t.push(r)}function Sa(e){return typeof e=="function"?{directive:te(e),inputs:Je,outputs:Je}:{directive:te(e.directive),inputs:yd(e.inputs),outputs:yd(e.outputs)}}function yd(e){if(e===void 0||e.length===0)return Je;let t={};for(let n=0;nSE(e,t,n)}function SE(e,t,n){let r=n.get(TE),o=()=>r.remove(t);return r.add(e,t),o}var TE=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r){let o=this.executingCallbacks?this.deferred:this.current;this.addToQueue(o,Date.now()+n,r),this.scheduleTimer()}remove(n){let{current:r,deferred:o}=this;this.removeFromQueue(r,n)===-1&&this.removeFromQueue(o,n),r.length===0&&o.length===0&&this.clearTimeout()}addToQueue(n,r,o){let i=n.length;for(let s=0;sr){i=s;break}Wd(n,i,r,o)}removeFromQueue(n,r){let o=-1;for(let i=0;i-1&&Al(n,o,2),o}scheduleTimer(){let n=()=>{this.clearTimeout(),this.executingCallbacks=!0;let o=[...this.current],i=Date.now();for(let a=0;a=0&&Al(this.current,0,s+1),this.executingCallbacks=!1,this.deferred.length>0){for(let a=0;a0){let o=Date.now(),i=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-i>16){this.clearTimeout();let s=Math.max(i-o,16);this.invokeTimerAt=i,this.timeoutId=setTimeout(n,s)}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),xE=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Gp(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e})}return e})();var NE=new x("");function Ss(e,t,n){return e.get(xE).getOrCreateInjector(t,e,n,"")}function AE(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=Ss(i,t,n);return new Sn(o,s)}let r=e.get(Xe);if(r!==e){let o=Ss(r,t,n);return new Sn(e,o)}return Ss(e,t,n)}function Pt(e,t,n,r=!1){let o=n[oe],i=o[y];if(Hs(o))return;let s=Jt(o,t),a=s[hi],c=s[oa];if(!(c!==null&&er.data[Wf]===t[hi])??null}function RE(e,t,n,r,o){let i=Iv(e,o,r);if(i!==null){t[hi]=e;let s=o[y],a=i+U,c=yr(s,a),u=0;jc(n,u);let l;if(e===W.Complete){let f=Xt(s,r),h=f.providers;h&&h.length>0&&(l=AE(o[fe],f,h))}let d=OE(n,t);if(n[_n]===null||n[_n].length===0||d){n[_n]=null;let f=Vn(o,c,null,{injector:l,dehydratedView:d});Bn(n,f,u,Zt(c,d)),_i(f,2)}if(e===W.Complete&&Array.isArray(t[yn])){for(let f of t[yn])f();t[yn]=null}}if(e===W.Complete&&Array.isArray(t[yn])){for(let s of t[yn])s();t[yn]=null}}function vd(e,t){return e{e.loadingState===me.COMPLETE?Pt(W.Complete,t,n):e.loadingState===me.FAILED&&Pt(W.Error,t,n)})}var FE=null;function kE(e){let t=m(),n=G(),r=t[fe],o=Jt(t,n),i=Xt(t[y],n);if(Gc(t,n),Wc(t[fe],o,i)){let s=e(()=>qc(t,n),r);Cc(0,o,s)}}function PE(e,t,n){let r=t[fe],o=t[y];if(e.loadingState!==me.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Jt(t,n),s=wv(o,e);e.loadingState=me.IN_PROGRESS,ho(1,i);let a=e.dependencyResolverFn,c=r.get(Ln),u=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let d=!1,p=[],f=[];for(let h of l)if(h.status==="fulfilled"){let g=h.value,b=ze(g)||ei(g);if(b)p.push(b);else{let E=Ja(g);E&&f.push(E)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(u),d){if(e.loadingState=me.FAILED,e.errorTmplIndex===null){let h="",g=new _(750,!1);bi(t,g)}}else{e.loadingState=me.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Zl(h.directiveRegistry,p);let g=p.map(E=>E.type),b=Xa(!1,...g);e.providers=b}f.length>0&&(h.pipeRegistry=Zl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=me.COMPLETE,c.remove(u)}),e.loadingPromise)}function qc(e,t){let n=e[y],r=e[t.index],o=e[fe],i=Jt(e,t),s=Xt(n,t);if(LE(o,s))switch(Jf(i),s.loadingState){case me.NOT_STARTED:Pt(W.Loading,t,r),PE(s,e,t),s.loadingState===me.IN_PROGRESS&&Dd(s,t,r);break;case me.IN_PROGRESS:Pt(W.Loading,t,r),Dd(s,t,r);break;case me.COMPLETE:Pt(W.Complete,t,r);break;case me.FAILED:Pt(W.Error,t,r);break;default:}}function Wc(e,t,n){let r=t[oa]&&t[oa]===W.Complete;return!(n.hydrateTriggers&&n.hydrateTriggers.size>0&&r&&xv(e))}function LE(e,t){return e.get(NE,null,{optional:!0})?.behavior!==Kf.Manual}function VO(e,t,n,r,o,i,s,a,c){let u=m(),l=V(),d=e+U,p=pr(u,l,e,null,0,0),f=u[fe];if(l.firstCreatePass){Ce("NgDefer");let q={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:me.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null};c?.(l,q,a,s),Dv(l,d,q)}let h=u[d];Xp(h,p,u);let g=null,b=null;if(h[_n]?.length>0){let q=h[_n][0].data;b=q[sv]??null,g=q[Wf]}let E=[null,wc.Initial,null,null,null,null,b,g,null,null];vv(u,d,E);let O=null;b!==null&&(O=f.get(Sv),O.add(b,{lView:u,tNode:p,lContainer:h}));let se=()=>{Jf(E),b!==null&&O?.cleanup([b])};Cc(0,E,()=>sc(u,se)),ui(u,se)}function BO(e){kE(ME(e))}function HO(e,t){let n=m(),r=G(),o=Jt(n,r),i=Xt(n[y],r);Gc(n,r),Wc(n[fe],o,i)&&ep(n,r,e,t,Cv,()=>qc(n,r),0)}function $O(e,t){let n=m(),r=G(),o=Jt(n,r),i=Xt(n[y],r);Gc(n,r),Wc(n[fe],o,i)&&ep(n,r,e,t,bv,()=>qc(n,r),0)}function jE(e,t,n,r){let o=m(),i=_t();if(ye(o,i,t)){let s=V(),a=Dr();eI(a,o,e,t,n,r)}return jE}function gh(e,t,n,r){return ye(e,_t(),n)?t+jt(n)+r:be}function VE(e,t,n,r,o,i){let s=yy(),a=zc(e,s,n,o);return uc(2),a?t+jt(n)+r+jt(o)+i:be}function so(e,t){return e<<17|t<<2}function Kt(e){return e>>17&32767}function BE(e){return(e&2)==2}function HE(e,t){return e&131071|t<<17}function Ta(e){return e|2}function Rn(e){return(e&131068)>>2}function Ts(e,t){return e&-131069|t<<2}function $E(e){return(e&1)===1}function xa(e){return e|1}function UE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Kt(s),c=Rn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Kt(e[a+1]);e[r+1]=so(p,a),p!==0&&(e[p+1]=Ts(e[p+1],r)),e[a+1]=HE(e[a+1],r)}else e[r+1]=so(a,0),a!==0&&(e[a+1]=Ts(e[a+1],r)),a=r;else e[r+1]=so(c,0),a===0?a=r:e[c+1]=Ts(e[c+1],r),c=r;u&&(e[r+1]=Ta(e[r+1])),Id(e,l,r,!0),Id(e,l,r,!1),zE(t,l,e,r,i),s=so(a,c),i?t.classBindings=s:t.styleBindings=s}function zE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mr(i,t)>=0&&(n[r+1]=xa(n[r+1]))}function Id(e,t,n,r){let o=e[n+1],i=t===null,s=r?Kt(o):Rn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];GE(c,t)&&(a=!0,e[s+1]=r?xa(u):Ta(u)),s=r?Kt(u):Rn(u)}a&&(e[n+1]=r?Ta(o):xa(o))}function GE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mr(e,t)>=0:!1}var Re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qE(e){return e.substring(Re.key,Re.keyEnd)}function WE(e){return ZE(e),mh(e,yh(e,0,Re.textEnd))}function mh(e,t){let n=Re.textEnd;return n===t?-1:(t=Re.keyEnd=YE(e,Re.key=t,n),yh(e,t,n))}function ZE(e){Re.key=0,Re.keyEnd=0,Re.value=0,Re.valueEnd=0,Re.textEnd=e.length}function yh(e,t,n){for(;t32;)t++;return t}function QE(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!1)}return QE}function Na(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Pc(e,n,i[s],s,r)}function Zc(e,t,n){return Dh(e,t,n,!1),Zc}function KE(e,t){return Dh(e,t,null,!0),KE}function UO(e){Ih(rw,vh,e,!0)}function vh(e,t){for(let n=WE(t);n>=0;n=mh(t,n))Xo(e,qE(t),!0)}function Dh(e,t,n,r){let o=m(),i=V(),s=uc(2);if(i.firstUpdatePass&&wh(i,e,s,r),t!==be&&ye(o,s,t)){let a=i.data[st()];Ch(i,a,o,o[$],e,o[s+1]=iw(t,n),r,s)}}function Ih(e,t,n,r){let o=V(),i=uc(2);o.firstUpdatePass&&wh(o,null,i,r);let s=m();if(n!==be&&ye(s,i,n)){let a=o.data[st()];if(bh(a,r)&&!Eh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Rs(c,n||"")),Na(o,a,s,n,r)}else ow(o,a,s,s[$],s[i+1],s[i+1]=nw(e,t,n),r,i)}}function Eh(e,t){return t>=e.expandoStartIndex}function wh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[st()],s=Eh(e,n);bh(i,r)&&t===null&&!s&&(t=!1),t=JE(o,i,t,r),UE(o,i,t,n,s,r)}}function JE(e,t,n,r){let o=lc(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xs(null,e,t,n,r),n=hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xs(o,e,t,n,r),i===null){let c=XE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xs(null,e,t,c[1],r),c=hr(c,t.attrs,r),ew(e,t,r,c))}else i=tw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function XE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Rn(r)!==0)return e[Kt(r)]}function ew(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Kt(o)]=r}function tw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===be&&(p=d?le:void 0);let f=d?vs(p,r):l===r?p:void 0;if(u&&!zo(f)&&(f=vs(c,r)),zo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Kt(h):Rn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=vs(c,r))}return a}function zo(e){return e!==void 0}function iw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(en(e)))),e}function bh(e,t){return(e.flags&(t?8:16))!==0}function zO(e,t,n){let r=m(),o=gh(r,e,t,n);Ih(Xo,vh,o,!0)}var Aa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ns(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sw(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Ns(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=Ns(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),b=n(s,p),E=n(i,l);if(Object.is(E,b)){let O=n(c,f);Object.is(O,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Go,o??=Cd(e,i,s,n),Oa(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=c;)wd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Ns(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Go,o??=Cd(e,i,s,n);let f=n(i,d);if(Oa(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)wd(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Oa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function wd(e,t,n,r,o){if(Oa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Cd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Go=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function GO(e,t){Ce("NgControlFlow");let n=m(),r=_t(),o=n[r]!==be?n[r]:-1,i=o!==-1?qo(n,U+o):void 0,s=0;if(ye(n,r,e)){let a=S(null);try{if(i!==void 0&&jc(i,s),e!==-1){let c=U+e,u=qo(n,c),l=Pa(n[y],c),d=On(u,l.tView.ssrId),p=Vn(n,l,t,{dehydratedView:d});Bn(u,p,s,Zt(l,d))}}finally{S(a)}}else if(i!==void 0){let a=Pp(i,s);a!==void 0&&(a[ie]=t)}}var Ra=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ne}};function qO(e){return e}function WO(e,t){return t}var Fa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ZO(e,t,n,r,o,i,s,a,c,u,l,d,p){Ce("NgControlFlow");let f=m(),h=V(),g=c!==void 0,b=m(),E=a?s.bind(b[we][ie]):s,O=new Fa(g,E);b[U+e]=O,pr(f,h,e+1,t,n,r,o,Dt(h.consts,i)),g&&pr(f,h,e+2,c,u,l,d,Dt(h.consts,p))}var ka=class extends Aa{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ne}at(t){return this.getLView(t)[ie].$implicit}attach(t,n){let r=n[xn];this.needsIndexUpdate||=t!==this.length,Bn(this.lContainer,n,t,Zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aw(this.lContainer,t)}create(t,n){let r=On(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ra(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){vi(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ie].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(fi(!0),up(r,o,_y()));function fw(e,t,n,r,o){let i=t.consts,s=Dt(i,r),a=tn(t,e,8,"ng-container",s);s!==null&&jo(a,s,!0);let c=Dt(i,o);return kc(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Sh(e,t,n){let r=m(),o=V(),i=e+U,s=o.firstCreatePass?fw(i,o,r,t,n):o.data[i];bt(s,!0);let a=hw(o,r,s,e);return r[i]=a,di()&&Di(o,r,a,s),Et(a,r),ii(s)&&(Oc(o,r,s),Ac(o,s,r)),n!=null&&Rc(r,s),Sh}function Th(){let e=G(),t=V();return ac()?cc():(e=e.parent,bt(e,!1)),t.firstCreatePass&&(pi(t,e),nc(e)&&t.queries.elementEnd(e)),Th}function pw(e,t,n){return Sh(e,t,n),Th(),pw}var hw=(e,t,n,r)=>(fi(!0),iD(t[$],""));function QO(){return m()}function gw(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!0)}return gw}function mw(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr(),a=lc(i.data),c=Fp(a,s,r);wi(i,s,r,e,t,c,n,!0)}return mw}var kt=void 0;function yw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var vw=["en",[["a","p"],["AM","PM"],kt],[["AM","PM"],kt,kt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],kt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",kt,"{1} 'at' {0}",kt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",yw],or={};function xh(e,t,n){typeof t!="string"&&(n=t,t=e[k.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),or[t]=e,n&&(or[t][k.ExtraData]=n)}function Z(e){let t=Dw(e),n=bd(t);if(n)return n;let r=t.split("-")[0];if(n=bd(r),n)return n;if(r==="en")return vw;throw new _(701,!1)}function Nh(e){return Z(e)[k.CurrencyCode]||null}function Ah(e){return Z(e)[k.PluralCase]}function bd(e){return e in or||(or[e]=gt.ng&>.ng.common&>.ng.common.locales&>.ng.common.locales[e]),or[e]}var k=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(k||{});function Dw(e){return e.toLowerCase().replace(/_/g,"-")}var Wo="en-US",Iw="USD";var Ew=Wo;function ww(e){typeof e=="string"&&(Ew=e.toLowerCase().replace(/_/g,"-"))}var Cw=(e,t,n)=>{};function bw(e,t,n,r){let o=m(),i=V(),s=G();return Yc(i,o,o[$],s,e,t,r),bw}function _w(e,t){let n=G(),r=m(),o=V(),i=lc(o.data),s=Fp(i,n,r);return Yc(o,r,s,n,e,t),_w}function Mw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yc(e,t,n,r,o,i,s){let a=ii(r),u=e.firstCreatePass&&Rp(e),l=t[ie],d=Op(t),p=!0;if(r.type&3||s){let g=Se(r,t),b=s?s(g):g,E=d.length,O=s?q=>s(Ge(q[r.index])):r.index,se=null;if(!s&&a&&(se=Mw(e,t,o,r.index)),se!==null){let q=se.__ngLastListenerFn__||se;q.__ngNextListenerFn__=i,se.__ngLastListenerFn__=i,p=!1}else{i=Md(r,t,l,i),Cw(g,o,i);let q=n.listen(b,o,i);d.push(i,q),u&&u.push(o,O,E,E+1)}}else i=Md(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let b=0;b-1?Ct(e.index,t):t;_i(s,5);let a=_d(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=_d(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function KO(e=1){return Cy(e)}function Sw(e,t){let n=null,r=MD(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function aR(e){let t=my();return ai(t,U+e)}function cR(e,t=""){let n=m(),r=V(),o=e+U,i=r.firstCreatePass?tn(r,o,1,t,null):r.data[o],s=xw(r,n,i,t,e);n[o]=s,di()&&Di(r,n,s,i),bt(i,!1)}var xw=(e,t,n,r,o)=>(fi(!0),rD(t[$],r));function Nw(e){return Rh("",e,""),Nw}function Rh(e,t,n){let r=m(),o=gh(r,e,t,n);return o!==be&&kp(r,st(),o),Rh}function Aw(e,t,n,r,o){let i=m(),s=VE(i,e,t,n,r,o);return s!==be&&kp(i,st(),s),Aw}function Ow(e,t,n){ah(t)&&(t=t());let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!1)}return Ow}function uR(e,t){let n=ah(e);return n&&e.set(t),n}function Rw(e,t){let n=m(),r=V(),o=G();return Yc(r,n,n[$],o,e,t),Rw}var Fw={};function kw(e){let t=V(),n=m(),r=e+U,o=tn(t,r,128,null,null);return bt(o,!1),Oh(t,n,r,Fw),kw}function Pw(e,t,n){let r=V();if(r.firstCreatePass){let o=nt(e);La(n,r.data,r.blueprint,o,!0),La(t,r.data,r.blueprint,o,!1)}}function La(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i>20;if(Tn(e)||!e.multi){let f=new Gt(u,o,N),h=Os(c,t,o?l:l+p,d);h===-1?(Zs(xo(a,s),i,c),As(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Os(c,t,l+p,d),h=Os(c,t,l,l+p),g=f>=0&&n[f],b=h>=0&&n[h];if(o&&!b||!o&&!g){Zs(xo(a,s),i,c);let E=Vw(o?jw:Lw,n.length,o,r,u);!o&&b&&(n[h].providerFactory=E),As(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=Fh(n[o?h:f],u,!o&&r);As(i,e,f>-1?f:h,E)}!o&&r&&b&&n[h].componentProviders++}}}function As(e,t,n,r){let o=Tn(t),i=Ym(t);if(o||i){let c=(i?te(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Fh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Os(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Pw(r,o?o(e):e,t)}}function dR(e,t,n){let r=kn()+e,o=m();return o[r]===be?xi(o,r,n?t.call(n):t()):DE(o,r)}function fR(e,t,n,r){return kh(m(),kn(),e,t,n,r)}function pR(e,t,n,r,o){return Ph(m(),kn(),e,t,n,r,o)}function Qc(e,t){let n=e[t];return n===be?void 0:n}function kh(e,t,n,r,o,i){let s=t+n;return ye(e,s,o)?xi(e,s+1,i?r.call(i,o):r(o)):Qc(e,s+1)}function Ph(e,t,n,r,o,i,s){let a=t+n;return zc(e,a,o,i)?xi(e,a+2,s?r.call(s,o,i):r(o,i)):Qc(e,a+2)}function Bw(e,t,n,r,o,i,s,a){let c=t+n;return IE(e,c,o,i,s)?xi(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Qc(e,c+3)}function hR(e,t){let n=V(),r,o=e+U;n.firstCreatePass?(r=Hw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Vt(r.type,!0)),s,a=ge(N);try{let c=To(!1),u=i();return To(c),Oh(n,m(),o,u),u}finally{ge(a)}}function Hw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function gR(e,t,n){let r=e+U,o=m(),i=ai(o,r);return Kc(o,r)?kh(o,kn(),t,i.transform,n,i):i.transform(n)}function mR(e,t,n,r){let o=e+U,i=m(),s=ai(i,o);return Kc(i,o)?Ph(i,kn(),t,s.transform,n,r,s):s.transform(n,r)}function yR(e,t,n,r,o){let i=e+U,s=m(),a=ai(s,i);return Kc(s,i)?Bw(s,kn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Kc(e,t){return e[y].data[t].pure}function vR(e,t){return Mi(e,t)}var Zo=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Va=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},DR=(()=>{class e{compileModuleSync(n){return new Ea(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Qd(n),i=cp(o.declarations).reduce((s,a)=>{let c=ze(a);return c&&s.push(new Qt(c)),s},[]);return new Va(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $w=(()=>{class e{zone=D(re);changeDetectionScheduler=D(Wt);applicationRef=D(Ti);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Uw=new x("",{factory:()=>!1});function Lh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(ce(ae({},jh()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:Io,multi:!0,useFactory:()=>{let r=D($w,{optional:!0});return()=>r.initialize()}},{provide:Io,multi:!0,useFactory:()=>{let r=D(zw);return()=>{r.initialize()}}},t===!0?{provide:kf,useValue:!0}:[],{provide:Pf,useValue:n??Ff}]}function IR(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Lh({ngZoneFactory:()=>{let o=jh(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ce("NgZone_CoalesceEvent"),new re(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return zm([{provide:Uw,useValue:!0},{provide:mc,useValue:!1},r])}function jh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zw=(()=>{class e{subscription=new z;initialized=!1;zone=D(re);pendingTasks=D(Ln);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gw=(()=>{class e{appRef=D(Ti);taskService=D(Ln);ngZone=D(re);zonelessEnabled=D(mc);disableScheduling=D(kf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ao):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Pf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Js||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Bl:Lf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ao+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Bl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qw(){return typeof $localize<"u"&&$localize.locale||Wo}var ut=new x("",{providedIn:"root",factory:()=>D(ut,A.Optional|A.SkipSelf)||qw()}),Vh=new x("",{providedIn:"root",factory:()=>Iw});var Ba=new x("");function ao(e){return!e.moduleRef}function Ww(e){let t=ao(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{ao(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(It,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ao(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ba);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ba);s.add(i),e.moduleRef.onDestroy(()=>{go(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return UI(r,n,()=>{let i=t.get(Yp);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ut,Wo);if(ww(s||Wo),ao(e)){let a=t.get(Ti);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Zw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Zw(e,t){let n=e.injector.get(Ti);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new _(-403,!1);t.push(e)}var mo=null;function Yw(e=[],t){return ke.create({name:t,providers:[{provide:Xd,useValue:"platform"},{provide:Ba,useValue:new Set([()=>mo=null])},...e]})}function Qw(e=[]){if(mo)return mo;let t=Yw(e);return mo=t,BI(),Kw(t),t}function Kw(e){let t=e.get(rv,null);tf(e,()=>{t?.forEach(n=>n())})}function ER(){return!1}var wr=(()=>{class e{static __NG_ELEMENT_ID__=Jw}return e})();function Jw(e){return Xw(G(),m(),(e&16)===16)}function Xw(e,t,n){if(oi(e)&&!n){let r=Ct(e.index,t);return new Yt(r,r)}else if(e.type&175){let r=t[we];return new Yt(r,t)}return null}var Ha=class{constructor(){}supports(t){return hh(t)}create(t){return new $a(t)}},eC=(e,t)=>t,$a=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||eC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ua(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Yo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Yo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ua=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},za=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Yo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new za,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Sd(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Wa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Wa=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Td(){return new Jc([new Ha])}var Jc=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:Td});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Td()),deps:[[e,new Gd,new zd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function xd(){return new Ni([new Ga])}var Ni=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:xd});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xd()),deps:[[e,new Gd,new zd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new _(901,!1)}}return e})();function wR(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qw(r),i=[Lh({}),{provide:Wt,useExisting:Gw},...n||[]],s=new Ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Ww({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Cr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Xc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function CR(e,t){Ce("NgSignals");let n=es(e);return t?.equal&&(n[ee].equal=t.equal),n}function eu(e){let t=S(null);try{return e()}finally{S(t)}}var Bh=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tC}return e})();function tC(){return new Bh(m(),G())}var nC=!1,rC=(()=>{class e extends $o{pendingTasks=D(Ln);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Za=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Vu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(It,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function oC(){}function iC(e,t){Ce("NgSignals"),!t?.injector&&ni(oC);let n=t?.injector??D(ke),r=t?.manualCleanup!==!0?n.get(Pn):null,o=new Za(n.get(rC),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(wr,null,{optional:!0});return!i||!(i._lView[I]&8)?o.watcher.notify():(i._lView[uo]??=[]).push(o.watcher.notify),o}var sC=nC;var Ya=class{[ee];constructor(t){this[ee]=t}destroy(){this[ee].destroy()}};function aC(e,t){if(sC)return iC(e,t);Ce("NgSignals"),!t?.injector&&ni(aC);let n=t?.injector??D(ke),r=t?.manualCleanup!==!0?n.get(Pn):null,o,i=n.get(Bh,null,{optional:!0}),s=n.get(Wt);return i!==null&&!t?.forceRoot?(o=lC(i.view,s,e),r instanceof No&&r._lView===i.view&&(r=null)):o=dC(e,n.get(Qp),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ya(o)}var Hh=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:ur,run(){if(this.dirty=!1,this.hasRun&&!qn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=rn(this),n=_o(!1);try{this.maybeCleanup(),this.fn(e)}finally{_o(n),Gn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),cC=ce(ae({},Hh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){on(this),this.onDestroyFn(),this.maybeCleanup()}}),uC=ce(ae({},Hh),{consumerMarkedDirty(){this.view[I]|=8192,vr(this.view),this.notifier.notify(14)},destroy(){on(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ht]?.delete(this)}});function lC(e,t,n){let r=Object.create(uC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ht]??=new Set,e[Ht].add(r),r.consumerMarkedDirty(r),r}function dC(e,t,n){let r=Object.create(cC);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function bR(e,t){let n=ze(e),r=t.elementInjector||ti();return new Qt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function _R(e){let t=ze(e);if(!t)return null;let n=new Qt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var ng=null;function tu(){return ng}function BR(e){ng??=e}var $h=class{},HR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})(),Hi=new x(""),hu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>D(pC),providedIn:"platform"})}return e})(),$R=new x(""),pC=(()=>{class e extends hu{_location;_history;_doc=D(Hi);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tu().getBaseHref(this._doc)}onPopState(n){let r=tu().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=tu().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function gu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Uh(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function dt(e){return e&&e[0]!=="?"?"?"+e:e}var $i=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>D(hC),providedIn:"root"})}return e})(),rg=new x(""),hC=(()=>{class e extends $i{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(Hi).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return gu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(X(hu),X(rg,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),UR=(()=>{class e extends $i{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=gu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(X(hu),X(rg,8))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),gC=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=vC(Uh(zh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+dt(r))}normalize(n){return e.stripTrailingSlash(yC(this._basePath,zh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=dt;static joinWithSlash=gu;static stripTrailingSlash=Uh;static \u0275fac=function(r){return new(r||e)(X($i))};static \u0275prov=F({token:e,factory:()=>mC(),providedIn:"root"})}return e})();function mC(){return new gC(X($i))}function yC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function zh(e){return e.replace(/\/index.html$/,"")}function vC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var og={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Ui=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ui||{}),Hn=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(Hn||{}),pe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(pe||{}),B=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(B||{}),Me=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Me||{}),Q={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},DC=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(DC||{});function IC(e){return Z(e)[k.LocaleId]}function EC(e,t,n){let r=Z(e),o=[r[k.DayPeriodsFormat],r[k.DayPeriodsStandalone]],i=xe(o,t);return xe(i,n)}function wC(e,t,n){let r=Z(e),o=[r[k.DaysFormat],r[k.DaysStandalone]],i=xe(o,t);return xe(i,n)}function CC(e,t,n){let r=Z(e),o=[r[k.MonthsFormat],r[k.MonthsStandalone]],i=xe(o,t);return xe(i,n)}function bC(e,t){let r=Z(e)[k.Eras];return xe(r,t)}function zR(e){return Z(e)[k.FirstDayOfWeek]}function GR(e){return Z(e)[k.WeekendRange]}function Ai(e,t){let n=Z(e);return xe(n[k.DateFormat],t)}function Oi(e,t){let n=Z(e);return xe(n[k.TimeFormat],t)}function Ri(e,t){let r=Z(e)[k.DateTimeFormat];return xe(r,t)}function Te(e,t){let n=Z(e),r=n[k.NumberSymbols][t];if(typeof r>"u"){if(t===Q.CurrencyDecimal)return n[k.NumberSymbols][Q.Decimal];if(t===Q.CurrencyGroup)return n[k.NumberSymbols][Q.Group]}return r}function mu(e,t){return Z(e)[k.NumberFormats][t]}function qR(e){return Z(e)[k.CurrencySymbol]||null}function WR(e){return Z(e)[k.CurrencyName]||null}function ZR(e){return Nh(e)}function _C(e){return Z(e)[k.Currencies]}var MC=Ah;function ig(e){if(!e[k.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[k.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SC(e){let t=Z(e);return ig(t),(t[k.ExtraData][2]||[]).map(r=>typeof r=="string"?nu(r):[nu(r[0]),nu(r[1])])}function TC(e,t,n){let r=Z(e);ig(r);let o=[r[k.ExtraData][0],r[k.ExtraData][1]],i=xe(o,t)||[];return xe(i,n)||[]}function YR(e){return Z(e)[k.Directionality]}function xe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function nu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function xC(e,t,n="en"){let r=_C(n)[e]||og[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var NC=2;function AC(e){let t,n=og[e];return n&&(t=n[2]),typeof t=="number"?t:NC}var OC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fi={},RC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ft=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ft||{}),L=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(L||{}),P=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(P||{});function FC(e,t,n,r){let o=UC(e);t=lt(n,t)||t;let s=[],a;for(;t;)if(a=RC.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=ag(r,c),o=$C(o,r,!0));let u="";return s.forEach(l=>{let d=BC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Vi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function lt(e,t){let n=IC(e);if(Fi[n]??={},Fi[n][t])return Fi[n][t];let r="";switch(t){case"shortDate":r=Ai(e,Me.Short);break;case"mediumDate":r=Ai(e,Me.Medium);break;case"longDate":r=Ai(e,Me.Long);break;case"fullDate":r=Ai(e,Me.Full);break;case"shortTime":r=Oi(e,Me.Short);break;case"mediumTime":r=Oi(e,Me.Medium);break;case"longTime":r=Oi(e,Me.Long);break;case"fullTime":r=Oi(e,Me.Full);break;case"short":let o=lt(e,"shortTime"),i=lt(e,"shortDate");r=ki(Ri(e,Me.Short),[o,i]);break;case"medium":let s=lt(e,"mediumTime"),a=lt(e,"mediumDate");r=ki(Ri(e,Me.Medium),[s,a]);break;case"long":let c=lt(e,"longTime"),u=lt(e,"longDate");r=ki(Ri(e,Me.Long),[c,u]);break;case"full":let l=lt(e,"fullTime"),d=lt(e,"fullDate");r=ki(Ri(e,Me.Full),[l,d]);break}return r&&(Fi[n][t]=r),r}function ki(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Le(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===L.Hours)a===0&&n===-12&&(a=12);else if(e===L.FractionalSeconds)return kC(a,t);let c=Te(s,Q.MinusSign);return Le(a,t,c,r,o)}}function PC(e,t){switch(e){case L.FullYear:return t.getFullYear();case L.Month:return t.getMonth();case L.Date:return t.getDate();case L.Hours:return t.getHours();case L.Minutes:return t.getMinutes();case L.Seconds:return t.getSeconds();case L.FractionalSeconds:return t.getMilliseconds();case L.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function H(e,t,n=pe.Format,r=!1){return function(o,i){return LC(o,i,e,t,n,r)}}function LC(e,t,n,r,o,i){switch(n){case P.Months:return CC(t,o,r)[e.getMonth()];case P.Days:return wC(t,o,r)[e.getDay()];case P.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=SC(t),l=TC(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,b=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ft.Short:return(o>=0?"+":"")+Le(s,2,i)+Le(Math.abs(o%60),2,i);case ft.ShortGMT:return"GMT"+(o>=0?"+":"")+Le(s,1,i);case ft.Long:return"GMT"+(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);case ft.Extended:return r===0?"Z":(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var jC=0,ji=4;function VC(e){let t=Vi(e,jC,1).getDay();return Vi(e,0,1+(t<=ji?ji:ji+7)-t)}function sg(e){let t=e.getDay(),n=t===0?-3:ji-t;return Vi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ru(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=sg(n),s=VC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Le(o,e,Te(r,Q.MinusSign))}}function Li(e,t=!1){return function(n,r){let i=sg(n).getFullYear();return Le(i,e,Te(r,Q.MinusSign),t)}}var ou={};function BC(e){if(ou[e])return ou[e];let t;switch(e){case"G":case"GG":case"GGG":t=H(P.Eras,B.Abbreviated);break;case"GGGG":t=H(P.Eras,B.Wide);break;case"GGGGG":t=H(P.Eras,B.Narrow);break;case"y":t=Y(L.FullYear,1,0,!1,!0);break;case"yy":t=Y(L.FullYear,2,0,!0,!0);break;case"yyy":t=Y(L.FullYear,3,0,!1,!0);break;case"yyyy":t=Y(L.FullYear,4,0,!1,!0);break;case"Y":t=Li(1);break;case"YY":t=Li(2,!0);break;case"YYY":t=Li(3);break;case"YYYY":t=Li(4);break;case"M":case"L":t=Y(L.Month,1,1);break;case"MM":case"LL":t=Y(L.Month,2,1);break;case"MMM":t=H(P.Months,B.Abbreviated);break;case"MMMM":t=H(P.Months,B.Wide);break;case"MMMMM":t=H(P.Months,B.Narrow);break;case"LLL":t=H(P.Months,B.Abbreviated,pe.Standalone);break;case"LLLL":t=H(P.Months,B.Wide,pe.Standalone);break;case"LLLLL":t=H(P.Months,B.Narrow,pe.Standalone);break;case"w":t=ru(1);break;case"ww":t=ru(2);break;case"W":t=ru(1,!0);break;case"d":t=Y(L.Date,1);break;case"dd":t=Y(L.Date,2);break;case"c":case"cc":t=Y(L.Day,1);break;case"ccc":t=H(P.Days,B.Abbreviated,pe.Standalone);break;case"cccc":t=H(P.Days,B.Wide,pe.Standalone);break;case"ccccc":t=H(P.Days,B.Narrow,pe.Standalone);break;case"cccccc":t=H(P.Days,B.Short,pe.Standalone);break;case"E":case"EE":case"EEE":t=H(P.Days,B.Abbreviated);break;case"EEEE":t=H(P.Days,B.Wide);break;case"EEEEE":t=H(P.Days,B.Narrow);break;case"EEEEEE":t=H(P.Days,B.Short);break;case"a":case"aa":case"aaa":t=H(P.DayPeriods,B.Abbreviated);break;case"aaaa":t=H(P.DayPeriods,B.Wide);break;case"aaaaa":t=H(P.DayPeriods,B.Narrow);break;case"b":case"bb":case"bbb":t=H(P.DayPeriods,B.Abbreviated,pe.Standalone,!0);break;case"bbbb":t=H(P.DayPeriods,B.Wide,pe.Standalone,!0);break;case"bbbbb":t=H(P.DayPeriods,B.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":t=H(P.DayPeriods,B.Abbreviated,pe.Format,!0);break;case"BBBB":t=H(P.DayPeriods,B.Wide,pe.Format,!0);break;case"BBBBB":t=H(P.DayPeriods,B.Narrow,pe.Format,!0);break;case"h":t=Y(L.Hours,1,-12);break;case"hh":t=Y(L.Hours,2,-12);break;case"H":t=Y(L.Hours,1);break;case"HH":t=Y(L.Hours,2);break;case"m":t=Y(L.Minutes,1);break;case"mm":t=Y(L.Minutes,2);break;case"s":t=Y(L.Seconds,1);break;case"ss":t=Y(L.Seconds,2);break;case"S":t=Y(L.FractionalSeconds,1);break;case"SS":t=Y(L.FractionalSeconds,2);break;case"SSS":t=Y(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Pi(ft.Short);break;case"ZZZZZ":t=Pi(ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Pi(ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Pi(ft.Long);break;default:return null}return ou[e]=t,t}function ag(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function HC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function $C(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=ag(t,o);return HC(e,r*(i-o))}function UC(e){if(Gh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Vi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(OC))return zC(r)}let t=new Date(e);if(!Gh(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function zC(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Gh(e){return e instanceof Date&&!isNaN(e.valueOf())}var GC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,qh=22,Bi=".",br="0",qC=";",WC=",",iu="#",Wh="\xA4",ZC="%";function yu(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Te(n,Q.Infinity);else{let u=XC(e);s&&(u=JC(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(GC);if(O===null)throw new Error(`${i} is not a valid digit info`);let se=O[1],q=O[3],Ze=O[5];se!=null&&(l=su(se)),q!=null&&(d=su(q)),Ze!=null?p=su(Ze):q!=null&&d>p&&(p=d)}eb(u,d,p);let f=u.digits,h=u.integerLen,g=u.exponent,b=[];for(c=f.every(O=>!O);h0?b=f.splice(h,f.length):(b=f,f=[0]);let E=[];for(f.length>=t.lgSize&&E.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)E.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(Te(n,r)),b.length&&(a+=Te(n,o)+b.join("")),g&&(a+=Te(n,Q.Exponential)+"+"+g)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function YC(e,t,n,r,o){let i=mu(t,Ui.Currency),s=vu(i,Te(t,Q.MinusSign));return s.minFrac=AC(r),s.maxFrac=s.minFrac,yu(e,s,t,Q.CurrencyGroup,Q.CurrencyDecimal,o).replace(Wh,n).replace(Wh,"").trim()}function QC(e,t,n){let r=mu(t,Ui.Percent),o=vu(r,Te(t,Q.MinusSign));return yu(e,o,t,Q.Group,Q.Decimal,n,!0).replace(new RegExp(ZC,"g"),Te(t,Q.PercentSign))}function KC(e,t,n){let r=mu(t,Ui.Decimal),o=vu(r,Te(t,Q.MinusSign));return yu(e,o,t,Q.Group,Q.Decimal,n)}function vu(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(qC),o=r[0],i=r[1],s=o.indexOf(Bi)!==-1?o.split(Bi):[o.substring(0,o.lastIndexOf(br)+1),o.substring(o.lastIndexOf(br)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(iu));for(let l=0;l-1&&(t=t.replace(Bi,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===br;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===br;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>qh&&(r=r.splice(0,qh-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function eb(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function su(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Du=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:function(r){let o=null;return r?o=new r:o=(i=>new tb(i))(X(ut)),o},providedIn:"root"})}return e})();function cg(e,t,n,r){let o=`=${e}`;if(t.indexOf(o)>-1||(o=n.getPluralCategory(e,r),t.indexOf(o)>-1))return o;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}var tb=(()=>{class e extends Du{locale;constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(MC(r||this.locale)(n)){case Hn.Zero:return"zero";case Hn.One:return"one";case Hn.Two:return"two";case Hn.Few:return"few";case Hn.Many:return"many";default:return"other"}}static \u0275fac=function(r){return new(r||e)(X(ut))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();function QR(e,t,n){return xh(e,t,n)}function KR(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var au=/\s+/,Zh=[],JR=(()=>{class e{_ngEl;_renderer;initialClasses=Zh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(au):Zh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(au):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(au).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(N(at),N(Er))};static \u0275dir=_e({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),XR=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;constructor(n){this._viewContainerRef=n}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=zp(this.ngComponentOutletNgModule,Yh(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Yh(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(N(Pe))};static \u0275dir=_e({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[si]})}return e})();function Yh(e){return e.get(ot).injector}var cu=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},eF=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new cu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Qh(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);Qh(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(Jc))};static \u0275dir=_e({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Qh(e,t){e.context.$implicit=t.item}var tF=(()=>{class e{_viewContainer;_context=new uu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Kh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Kh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe))};static \u0275dir=_e({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),uu=class{$implicit=null;ngIf=null};function Kh(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${de(t)}'.`)}var _r=class{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},ug=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=_e({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),nF=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new _r(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(ug,9))};static \u0275dir=_e({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),rF=(()=>{class e{constructor(n,r,o){o._addDefault(new _r(n,r))}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(ug,9))};static \u0275dir=_e({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var nb=(()=>{class e{_localization;_activeView;_caseViews={};constructor(n){this._localization=n}set ngPlural(n){this._updateView(n)}addCase(n,r){this._caseViews[n]=r}_updateView(n){this._clearViews();let r=Object.keys(this._caseViews),o=cg(n,r,this._localization);this._activateView(this._caseViews[o])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(n){n&&(this._activeView=n,this._activeView.create())}static \u0275fac=function(r){return new(r||e)(N(Du))};static \u0275dir=_e({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),oF=(()=>{class e{value;constructor(n,r,o,i){this.value=n;let s=!isNaN(Number(n));i.addCase(s?`=${n}`:n,new _r(o,r))}static \u0275fac=function(r){return new(r||e)(gc("ngPluralCase"),N(qe),N(Pe),N(nb,1))};static \u0275dir=_e({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),iF=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:dr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(N(at),N(Ni),N(Er))};static \u0275dir=_e({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),sF=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(N(Pe))};static \u0275dir=_e({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[si]})}return e})();function je(e,t){return new _(2100,!1)}var lu=class{createSubscription(t,n){return eu(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){eu(()=>t.unsubscribe())}},du=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},rb=new du,ob=new lu,aF=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Si(n))return rb;if(Vc(n))return ob;throw je(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(N(wr,16))};static \u0275pipe=De({name:"async",type:e,pure:!1})}return e})(),cF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.toLowerCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"lowercase",type:e,pure:!0})}return e})(),ib=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,uF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.replace(ib,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"titlecase",type:e,pure:!0})}return e})(),lF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"uppercase",type:e,pure:!0})}return e})(),sb="mediumDate",ab=new x(""),cb=new x(""),dF=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??sb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return FC(n,s,i||this.locale,a)}catch(s){throw je(e,s.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16),N(ab,24),N(cb,24))};static \u0275pipe=De({name:"date",type:e,pure:!0})}return e})(),ub=/#/g,fF=(()=>{class e{_localization;constructor(n){this._localization=n}transform(n,r,o){if(n==null)return"";if(typeof r!="object"||r===null)throw je(e,r);let i=cg(n,Object.keys(r),this._localization,o);return r[i].replace(ub,n.toString())}static \u0275fac=function(r){return new(r||e)(N(Du,16))};static \u0275pipe=De({name:"i18nPlural",type:e,pure:!0})}return e})(),pF=(()=>{class e{transform(n,r){if(n==null)return"";if(typeof r!="object"||typeof n!="string")throw je(e,r);return r.hasOwnProperty(n)?r[n]:r.hasOwnProperty("other")?r.other:""}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"i18nSelect",type:e,pure:!0})}return e})(),hF=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"json",type:e,pure:!1})}return e})();function lb(e,t){return{key:e,value:t}}var gF=(()=>{class e{differs;constructor(n){this.differs=n}differ;keyValues=[];compareFn=Jh;transform(n,r=Jh){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(lb(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||e)(N(Ni,16))};static \u0275pipe=De({name:"keyvalue",type:e,pure:!1})}return e})();function Jh(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(n===null)return 1;if(r===null)return-1;if(typeof n=="string"&&typeof r=="string")return n{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Iu(n))return null;o||=this._locale;try{let i=Eu(n);return KC(i,o,r)}catch(i){throw je(e,i.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16))};static \u0275pipe=De({name:"number",type:e,pure:!0})}return e})(),yF=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Iu(n))return null;o||=this._locale;try{let i=Eu(n);return QC(i,o,r)}catch(i){throw je(e,i.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16))};static \u0275pipe=De({name:"percent",type:e,pure:!0})}return e})(),vF=(()=>{class e{_locale;_defaultCurrencyCode;constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!Iu(n))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=xC(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=Eu(n);return YC(c,s,a,r,i)}catch(c){throw je(e,c.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16),N(Vh,16))};static \u0275pipe=De({name:"currency",type:e,pure:!0})}return e})();function Iu(e){return!(e==null||e===""||e!==e)}function Eu(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var DF=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw je(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"slice",type:e,pure:!1})}return e})();var IF=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=qp({type:e});static \u0275inj=Ld({})}return e})(),db="browser",fb="server";function pb(e){return e===db}function hb(e){return e===fb}var EF=new Zo("19.0.0"),wF=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>pb(D(Dc))?new fu(D(Hi),window):new pu})}return e})(),fu=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=gb(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function gb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var pu=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Xh=class{},zi="20";function lg(e){return/^https?:\/\//.test(e)}function dg(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let n=new URL(e);return!0}catch{return!1}}function mb(e){return e.endsWith("/")?e.slice(0,-1):e}function yb(e){return e.startsWith("/")?e.slice(1):e}var fg=e=>e.src,wu=new x("",{providedIn:"root",factory:()=>fg});function Gi(e,t){return function(r){return dg(r)||vb(r,t||[]),r=mb(r),[{provide:wu,useValue:s=>(lg(s.src)&&Db(r,s.src),e(r,ce(ae({},s),{src:yb(s.src)})))}]}}function vb(e,t){throw new _(2959,!1)}function Db(e,t){throw new _(2959,!1)}var CF=Gi(Ib,void 0);function Ib(e,t){let n="format=auto";return t.width&&(n+=`,width=${t.width}`),t.isPlaceholder&&(n+=`,quality=${zi}`),`${e}/cdn-cgi/image/${n}/${t.src}`}var bF=Gi(Eb,void 0);function Eb(e,t){let r=`f_auto,${t.isPlaceholder?"q_auto:low":"q_auto"}`;return t.width&&(r+=`,w_${t.width}`),t.loaderParams?.rounded&&(r+=",r_max"),`${e}/image/upload/${r}/${t.src}`}var _F=Gi(wb,void 0);function wb(e,t){let{src:n,width:r}=t,o=[];r&&o.push(`w-${r}`),t.isPlaceholder&&o.push(`q-${zi}`);let i=o.length?[e,`tr:${o.join(",")}`,n]:[e,n];return new URL(i.join("/")).href}var MF=Gi(Cb,void 0);function Cb(e,t){let n=new URL(`${e}/${t.src}`);return n.searchParams.set("auto","format"),t.width&&n.searchParams.set("w",t.width.toString()),t.isPlaceholder&&n.searchParams.set("q",zi),n.href}function SF(e){if(e&&!dg(e))throw new _(2959,!1);return e&&(e=new URL(e).origin),[{provide:wu,useValue:r=>bb(r,e)}]}var eg=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function bb(e,t){let n=new URL(t??"https://a/");n.pathname="/.netlify/images",!lg(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),n.searchParams.set("url",e.src),e.width&&n.searchParams.set("w",e.width.toString());let r=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!r&&n.searchParams.set("q",zi);for(let[o,i]of Object.entries(e.loaderParams??{}))eg.has(o)&&n.searchParams.set(eg.get(o),i.toString());return n.hostname==="a"?n.href.replace(n.origin,""):n.href}var TF=new x("");var _b=new x("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),Mb=(()=>{class e{preloadedImages=D(_b);document=D(Hi);createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tg=/^((\s*\d+w\s*(,|$)){1,})$/;var Sb=[1,2],Tb=640;var xb=1920,Nb=1080;var xF=(()=>{class e{imageLoader=D(wu);config=Ab(D(Ec));renderer=D(Er);imgElement=D(at).nativeElement;injector=D(ke);isServer=hb(D(Dc));preloadLinkCreator=D(Mb);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){Ce("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&tg.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&r&&o&&r!==o&&this.injector.get(re).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,o)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=tg.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=Tb)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return Sb.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>xb||this.height>Nb),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==fg&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(wr);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);Ob(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=_e({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Zc("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Rb],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Xc],height:[2,"height","height",Xc],loading:"loading",priority:[2,"priority","priority",Cr],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Cr],fill:[2,"fill","fill",Cr],placeholder:[2,"placeholder","placeholder",Fb],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ph,si]})}return e})();function Ab(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Ic,e,t)}function Ob(e,t){e.complete&&e.naturalWidth&&t()}function Rb(e){return typeof e=="string"?e:en(e)}function Fb(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Cr(e)}export{ae as a,ce as b,kb as c,Mu as d,z as e,Sg as f,T as g,ls as h,Zn as i,J as j,Yn as k,Kn as l,Ng as m,Nt as n,Be as o,jg as p,Vg as q,Bg as r,Ot as s,He as t,Zg as u,Ae as v,Xn as w,mn as x,Qg as y,Kg as z,fs as A,Rt as B,om as C,im as D,sm as E,pt as F,am as G,fl as H,hl as I,ml as J,er as K,Ft as L,ps as M,um as N,vl as O,Dl as P,Il as Q,gs as R,fm as S,pm as T,hm as U,gm as V,ys as W,mm as X,wl as Y,ym as Z,Cl as _,bl as $,vm as aa,_l as ba,_ as ca,kd as da,F as ea,Ld as fa,aO as ga,x as ha,A as ia,X as ja,D as ka,zd as la,Gd as ma,zm as na,Xd as oa,Xe as pa,tf as qa,ni as ra,si as sa,cO as ta,uO as ua,lO as va,dO as wa,fO as xa,gc as ya,ke as za,Vl as Aa,Pn as Ba,Wt as Ca,Ln as Da,mt as Ea,re as Fa,It as Ga,pO as Ha,hO as Ia,at as Ja,Xs as Ka,gO as La,mO as Ma,rv as Na,Dc as Oa,yO as Pa,vO as Qa,Ec as Ra,Ce as Sa,wn as Ta,dv as Ua,ra as Va,lr as Wa,en as Xa,_c as Ya,DO as Za,IO as _a,EO as $a,wO as ab,CO as bb,np as cb,Wv as db,yi as eb,bO as fb,Yv as gb,Qv as hb,_O as ib,MO as jb,dr as kb,SO as lb,N as mb,TO as nb,qe as ob,ot as pb,va as qb,Lo as rb,Er as sb,Gp as tb,NO as ub,qp as vb,_e as wb,De as xb,AO as yb,PI as zb,Si as Ab,jI as Bb,VI as Cb,Ti as Db,Pe as Eb,oE as Fb,FO as Gb,kO as Hb,PO as Ib,LO as Jb,dE as Kb,jO as Lb,ph as Mb,CE as Nb,VO as Ob,BO as Pb,HO as Qb,$O as Rb,jE as Sb,QE as Tb,Zc as Ub,KE as Vb,UO as Wb,zO as Xb,GO as Yb,qO as Zb,WO as _b,ZO as $b,YO as ac,_h as bc,Mh as cc,lw as dc,Sh as ec,Th as fc,pw as gc,QO as hc,gw as ic,mw as jc,bw as kc,_w as lc,KO as mc,JO as nc,XO as oc,eR as pc,tR as qc,nR as rc,rR as sc,oR as tc,iR as uc,sR as vc,aR as wc,cR as xc,Nw as yc,Rh as zc,Aw as Ac,Ow as Bc,uR as Cc,Rw as Dc,kw as Ec,lR as Fc,dR as Gc,fR as Hc,pR as Ic,hR as Jc,gR as Kc,mR as Lc,yR as Mc,vR as Nc,DR as Oc,IR as Pc,ut as Qc,ER as Rc,wr as Sc,Jc as Tc,wR as Uc,Cr as Vc,Xc as Wc,CR as Xc,eu as Yc,aC as Zc,bR as _c,_R as $c,tu as ad,BR as bd,$h as cd,HR as dd,Hi as ed,hu as fd,$R as gd,pC as hd,dt as id,$i as jd,rg as kd,hC as ld,UR as md,gC as nd,Ui as od,Hn as pd,pe as qd,B as rd,Me as sd,Q as td,DC as ud,IC as vd,EC as wd,wC as xd,CC as yd,bC as zd,zR as Ad,GR as Bd,Ai as Cd,Oi as Dd,Ri as Ed,Te as Fd,mu as Gd,qR as Hd,WR as Id,ZR as Jd,MC as Kd,SC as Ld,TC as Md,YR as Nd,xC as Od,AC as Pd,FC as Qd,YC as Rd,QC as Sd,KC as Td,Du as Ud,tb as Vd,QR as Wd,KR as Xd,JR as Yd,XR as Zd,cu as _d,eF as $d,tF as ae,uu as be,ug as ce,nF as de,rF as ee,nb as fe,oF as ge,iF as he,sF as ie,aF as je,cF as ke,uF as le,lF as me,ab as ne,cb as oe,dF as pe,fF as qe,pF as re,hF as se,gF as te,mF as ue,yF as ve,vF as we,DF as xe,IF as ye,db as ze,fb as Ae,pb as Be,hb as Ce,EF as De,wF as Ee,pu as Fe,Xh as Ge,wu as He,CF as Ie,bF as Je,_F as Ke,MF as Le,SF as Me,TF as Ne,xF as Oe}; + `)}`}var Gd=zd(kd("Optional"),8);var qd=zd(kd("SkipSelf"),4);function Vt(e,t){let n=e.hasOwnProperty(yo);return n?e[yo]:null}function Vm(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ka(n,t):t(n))}function Wd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Do(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hm(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Xo(e,t,n){let r=mr(e,t);return r>=0?e[r|1]=n:(r=~r,Zd(e,r,t,n)),r}function vs(e,t){let n=mr(e,t);if(n>=0)return e[n|1]}function mr(e,t){return $m(e,t,1)}function $m(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Ka(t,s=>{let a=s;Ls(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Jd(o,i),n}function Jd(e,t){for(let n=0;n{t(i,r)})}}function Ls(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=Tl(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Tl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ls(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ka(i.imports,l=>{Ls(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Jd(u,t)}if(!a){let u=Vt(o)||(()=>new o);t({provide:o,useFactory:u,deps:le},o),t({provide:Qd,useValue:o,multi:!0},o),t({provide:Io,useValue:()=>X(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ec(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ec(e,t){for(let n of e)Hd(n)&&(n=n.\u0275providers),Array.isArray(n)?ec(n,t):t(n)}var qm=j({provide:String,useValue:j});function Xd(e){return e!==null&&typeof e=="object"&&qm in e}function Wm(e){return!!(e&&e.useExisting)}function Zm(e){return!!(e&&e.useFactory)}function Tn(e){return typeof e=="function"}function Ym(e){return!!e.useClass}var ef=new x(""),co={},Qm={},Ds;function ti(){return Ds===void 0&&(Ds=new Eo),Ds}var Xe=class{},sr=class extends Xe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Vs(t,s=>this.processProvider(s)),this.records.set(Yd,In(void 0,this)),o.has("environment")&&this.records.set(Xe,In(void 0,this));let i=this.records.get(ef);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qd,le,A.Self))}destroy(){tr(this),this._destroyed=!0;let t=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return tr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){tr(this);let n=ht(this),r=ge(void 0),o;try{return t()}finally{ht(n),ge(r)}}get(t,n=ir,r=A.Default){if(tr(this),t.hasOwnProperty(Nl))return t[Nl](this);r=Jo(r);let o,i=ht(this),s=ge(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=ty(t)&&Ko(t);u&&this.injectableDefInScope(u)?c=In(js(t),co):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&A.Self?ti():this.parent;return n=r&A.Optional&&n===ir?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[vo]=a[vo]||[]).unshift(de(t)),i)throw a;return Lm(a,t,"R3InjectorError",this.source)}else throw a}finally{ge(s),ht(i)}}resolveInjectorInitializers(){let t=S(null),n=ht(this),r=ge(void 0),o;try{let i=this.get(Io,le,A.Self);for(let s of i)s()}finally{ht(n),ge(r),S(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=te(t);let n=Tn(t)?t:te(t&&t.provide),r=Jm(t);if(!Tn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=In(void 0,co,!0),o.factory=()=>Ps(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=S(null);try{return n.value===co&&(n.value=Qm,n.value=n.factory()),typeof n.value=="object"&&n.value&&ey(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function js(e){let t=Ko(e),n=t!==null?t.factory:Vt(e);if(n!==null)return n;if(e instanceof x)throw new _(204,!1);if(e instanceof Function)return Km(e);throw new _(204,!1)}function Km(e){if(e.length>0)throw new _(204,!1);let n=wm(e);return n!==null?()=>n.factory(e):()=>new e}function Jm(e){if(Xd(e))return In(void 0,e.useValue);{let t=tf(e);return In(t,co)}}function tf(e,t,n){let r;if(Tn(e)){let o=te(e);return Vt(o)||js(o)}else if(Xd(e))r=()=>te(e.useValue);else if(Zm(e))r=()=>e.useFactory(...Ps(e.deps||[]));else if(Wm(e))r=()=>X(te(e.useExisting));else{let o=te(e&&(e.useClass||e.provide));if(Xm(e))r=()=>new o(...Ps(e.deps));else return Vt(o)||js(o)}return r}function tr(e){if(e.destroyed)throw new _(205,!1)}function In(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xm(e){return!!e.deps}function ey(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ty(e){return typeof e=="function"||typeof e=="object"&&e instanceof x}function Vs(e,t){for(let n of e)Array.isArray(n)?Vs(n,t):n&&Hd(n)?Vs(n.\u0275providers,t):t(n)}function nf(e,t){e instanceof sr&&tr(e);let n,r=ht(e),o=ge(void 0);try{return t()}finally{ht(r),ge(o)}}function rf(){return $d()!==void 0||Fm()!=null}function ni(e){if(!rf())throw new _(-203,!1)}function ny(e){return typeof e=="function"}var We=0,y=1,I=2,oe=3,Fe=4,ve=5,xn=6,wo=7,ie=8,fe=9,et=10,$=11,ar=12,Rl=13,Fn=14,we=15,Bt=16,En=17,tt=18,ri=19,of=20,yt=21,uo=22,Ht=23,Ee=24,U=25,tc=1,_n=6,$t=7,Co=8,Nn=9,ne=10,bo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(bo||{});function vt(e){return Array.isArray(e)&&typeof e[tc]=="object"}function it(e){return Array.isArray(e)&&e[tc]===!0}function nc(e){return(e.flags&4)!==0}function oi(e){return e.componentOffset>-1}function ii(e){return(e.flags&1)===1}function nt(e){return!!e.template}function Bs(e){return(e[I]&512)!==0}function Hs(e){return(e[I]&256)===256}var $s=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function sf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var si=(()=>{let e=()=>af;return e.ngInherit=!0,e})();function af(e){return e.type.prototype.ngOnChanges&&(e.setInput=oy),ry}function ry(){let e=uf(this),t=e?.current;if(t){let n=e.previous;if(n===Je)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function oy(e,t,n,r,o){let i=this.declaredInputs[r],s=uf(e)||iy(e,{previous:Je,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $s(u&&u.currentValue,n,c===Je),sf(e,t,o,n)}var cf="__ngSimpleChanges__";function uf(e){return e[cf]||null}function iy(e,t){return e[cf]=t}var Fl=null;var $e=function(e,t,n){Fl?.(e,t,n)},lf="svg",sy="math";function Ge(e){for(;Array.isArray(e);)e=e[We];return e}function ay(e){for(;Array.isArray(e);){if(typeof e[tc]=="object")return e;e=e[We]}return null}function rc(e,t){return Ge(t[e])}function Se(e,t){return Ge(t[e.index])}function yr(e,t){return e.data[t]}function ai(e,t){return e[t]}function Ct(e,t){let n=t[e];return vt(n)?n:n[We]}function cy(e){return(e[I]&4)===4}function oc(e){return(e[I]&128)===128}function uy(e){return it(e[oe])}function Dt(e,t){return t==null?null:e[t]}function df(e){e[En]=0}function ic(e){e[I]&1024||(e[I]|=1024,oc(e)&&vr(e))}function ff(e,t){for(;e>0;)t=t[Fn],e--;return t}function ci(e){return!!(e[I]&9216||e[Ee]?.dirty)}function Us(e){e[et].changeDetectionScheduler?.notify(9),e[I]&64&&(e[I]|=1024),ci(e)&&vr(e)}function vr(e){e[et].changeDetectionScheduler?.notify(0);let t=Ut(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!oc(t)));)t=Ut(t)}function ui(e,t){if((e[I]&256)===256)throw new _(911,!1);e[yt]===null&&(e[yt]=[]),e[yt].push(t)}function sc(e,t){if(e[yt]===null)return;let n=e[yt].indexOf(t);n!==-1&&e[yt].splice(n,1)}function Ut(e){let t=e[oe];return it(t)?t[oe]:t}var M={lFrame:Df(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zs=!1;function ly(){return M.lFrame.elementDepthCount}function dy(){M.lFrame.elementDepthCount++}function fy(){M.lFrame.elementDepthCount--}function pf(){return M.bindingsEnabled}function hf(){return M.skipHydrationRootTNode!==null}function py(e){return M.skipHydrationRootTNode===e}function hy(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function V(){return M.lFrame.tView}function uO(e){return M.lFrame.contextLView=e,e[ie]}function lO(e){return M.lFrame.contextLView=null,e}function G(){let e=gf();for(;e!==null&&e.type===64;)e=e.parent;return e}function gf(){return M.lFrame.currentTNode}function gy(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ac(){return M.lFrame.isParent}function cc(){M.lFrame.isParent=!1}function my(){return M.lFrame.contextLView}function mf(){return zs}function _o(e){let t=zs;return zs=e,t}function kn(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yy(){return M.lFrame.bindingIndex}function vy(e){return M.lFrame.bindingIndex=e}function _t(){return M.lFrame.bindingIndex++}function uc(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Dy(){return M.lFrame.inI18n}function Iy(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gs(t)}function Ey(){return M.lFrame.currentDirectiveIndex}function Gs(e){M.lFrame.currentDirectiveIndex=e}function lc(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function dc(){return M.lFrame.currentQueryIndex}function li(e){M.lFrame.currentQueryIndex=e}function wy(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[ve]:null}function yf(e,t,n){if(n&A.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=wy(i),o===null||(i=i[Fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=vf();return r.currentTNode=t,r.lView=e,!0}function fc(e){let t=vf(),n=e[y];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vf(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Df(e):t}function Df(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function If(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ef=If;function pc(){let e=If();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Cy(e){return(M.lFrame.contextLView=ff(e,M.lFrame.contextLView))[ie]}function st(){return M.lFrame.selectedIndex}function zt(e){M.lFrame.selectedIndex=e}function Dr(){let e=M.lFrame;return yr(e.tView,e.selectedIndex)}function dO(){M.lFrame.currentNamespace=lf}function fO(){by()}function by(){M.lFrame.currentNamespace=null}function _y(){return M.lFrame.currentNamespace}var wf=!0;function di(){return wf}function fi(e){wf=e}function My(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=af(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function pi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[En]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,kl(a,i)):kl(a,i)}var Mn=-1,Gt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ty(e){return e instanceof Gt}function xy(e){return(e.flags&8)!==0}function Ny(e){return(e.flags&16)!==0}function qs(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function So(e,t){let n=Oy(e),r=t;for(;n>0;)r=r[Fn],n--;return r}var Ws=!0;function To(e){let t=Ws;return Ws=e,t}var Ry=256,Mf=Ry-1,Sf=5,Fy=0,Ue={};function ky(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(rr)&&(r=n[rr]),r==null&&(r=n[rr]=Fy++);let o=r&Mf,i=1<>Sf)]|=i}function xo(e,t){let n=Tf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,ws(r.data,e),ws(t,null),ws(r.blueprint,null));let o=hc(e,t),i=e.injectorIndex;if(_f(o)){let s=Mo(o),a=So(o,t),c=a[y].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ws(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Rf(o),r===null)return Mn;if(n++,o=o[Fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Mn}function Zs(e,t,n){ky(e,t,n)}function Py(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&nt(f)&&f.type===n)return c}return null}function qt(e,t,n,r){let o=e[n],i=t.data;if(Ty(o)){let s=o;s.resolving&&xm(Tm(i[n]));let a=To(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ge(s.injectImpl):null,l=yf(e,r,A.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&My(n,i[n],t)}finally{u!==null&&ge(u),To(a),s.resolving=!1,Ef()}}return o}function jy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(rr)?e[rr]:void 0;return typeof t=="number"?t>=0?t&Mf:Vy:t}function Ll(e,t,n){let r=1<>Sf)]&r)}function jl(e,t){return!(e&A.Self)&&!(e&A.Host&&t)}var Lt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Af(this._tNode,this._lView,t,Jo(r),n)}};function Vy(){return new Lt(G(),m())}function pO(e){return gr(()=>{let t=e.prototype.constructor,n=t[yo]||Ys(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[yo]||Ys(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ys(e){return Ld(e)?()=>{let t=Ys(te(e));return t&&t()}:Vt(e)}function By(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Of(i,s,n,r|A.Self,Ue);if(a!==Ue)return a;let c=i.parent;if(!c){let u=s[of];if(u){let l=u.get(n,Ue,r);if(l!==Ue)return l}c=Rf(s),s=s[Fn]}i=c}return o}function Rf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[ve]:null}function gc(e){return Py(G(),e)}function Vl(e,t=null,n=null,r){let o=Ff(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ff(e,t=null,n=null,r,o=new Set){let i=[n||le,Gm(e)];return r=r||(typeof e=="object"?void 0:de(e)),new sr(i,t||ti(),r||null,o)}var ke=class e{static THROW_IF_NOT_FOUND=ir;static NULL=new Eo;static create(t,n){if(Array.isArray(t))return Vl({name:""},n,t,"");{let r=t.name??"";return Vl({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>X(Yd)});static __NG_ELEMENT_ID__=-1};var Bl=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>gc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Hy=new x("");Hy.__NG_ELEMENT_ID__=e=>{let t=G();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&A.Optional)return null;throw new _(204,!1)};var kf=!1,Pn=(()=>{class e{static __NG_ELEMENT_ID__=$y;static __NG_ENV_ID__=n=>n}return e})(),No=class extends Pn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ui(this._lView,t),()=>sc(this._lView,t)}};function $y(){return new No(m())}var Wt=class{},mc=new x("",{providedIn:"root",factory:()=>!1});var Pf=new x(""),Lf=new x(""),Ln=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Yn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Qs=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,rf()&&(this.destroyRef=D(Pn,{optional:!0})??void 0,this.pendingTasks=D(Ln,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},mt=Qs;function ur(...e){}function jf(e){let t,n;function r(){e=ur;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Hl(e){return queueMicrotask(()=>e()),()=>{e=ur}}var yc="isAngularZone",Ao=yc+"_ID",Uy=0,re=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new mt(!1);onMicrotaskEmpty=new mt(!1);onStable=new mt(!1);onError=new mt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=kf}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,qy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,zy,ur,ur);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},zy={};function vc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){jf(()=>{e.callbackScheduled=!1,Ks(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ks(e)}function qy(e){let t=()=>{Gy(e)},n=Uy++;e._inner=e._inner.fork({name:"angular",properties:{[yc]:!0,[Ao]:n,[Ao+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wy(c))return r.invokeTask(i,s,a,c);try{return $l(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ul(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return $l(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Zy(c)&&t(),Ul(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ks(e),vc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ks(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $l(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ul(e){e._nesting--,vc(e)}var Js=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new mt;onMicrotaskEmpty=new mt;onStable=new mt;onError=new mt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Wy(e){return Vf(e,"__ignore_ng_zone__")}function Zy(e){return Vf(e,"__scheduler_tick__")}function Vf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var It=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Yy=new x("",{providedIn:"root",factory:()=>{let e=D(re),t=D(It);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Oo=class{destroyed=!1;listeners=null;errorHandler=D(It,{optional:!0});destroyRef=D(Pn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new _(953,!1);if(this.listeners===null)return;let n=S(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{S(n)}}};function hO(e){return new Oo}function zl(e,t){return Fd(e,t)}function Qy(e){return Fd(Qo,e)}var gO=(zl.required=Qy,zl);function Ky(){return jn(G(),m())}function jn(e,t){return new at(Se(e,t))}var at=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ky}return e})();function Bf(e){return e instanceof at?e.nativeElement:e}function Jy(){return this._results[Symbol.iterator]()}var Xs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Bm(t);(this._changesDetected=!Vm(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Jy};function Hf(e){return(e.flags&128)===128}var $f=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}($f||{}),Uf=new Map,Xy=0;function ev(){return Xy++}function tv(e){Uf.set(e[ri],e)}function ea(e){Uf.delete(e[ri])}var Gl="__ngContext__";function Et(e,t){vt(t)?(e[Gl]=t[ri],tv(t)):e[Gl]=t}function zf(e){return qf(e[ar])}function Gf(e){return qf(e[Fe])}function qf(e){for(;e!==null&&!it(e);)e=e[Fe];return e}var ta;function mO(e){ta=e}function Wf(){if(ta!==void 0)return ta;if(typeof document<"u")return document;throw new _(210,!1)}var yO=new x("",{providedIn:"root",factory:()=>nv}),nv="ng",rv=new x(""),Dc=new x("",{providedIn:"platform",factory:()=>"unknown"});var vO=new x(""),DO=new x("",{providedIn:"root",factory:()=>Wf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ic={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ec=new x("",{providedIn:"root",factory:()=>Ic});var ov="h",iv="b";var sv="di",Zf="s";var Yf=!1,av=new x("",{providedIn:"root",factory:()=>Yf});var cv=new x("");var ql=new Set;function Ce(e){ql.has(e)||(ql.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var wn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wn||{}),Qf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),uv=[wn.EarlyRead,wn.Write,wn.MixedReadWrite,wn.Read],lv=(()=>{class e{ngZone=D(re);scheduler=D(Wt);errorHandler=D(It,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let n of uv)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[n](r.pipelinedValue))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),na=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function dv(e,t){!t?.injector&&ni(dv);let n=t?.injector??D(ke);return Ce("NgAfterRender"),Kf(e,n,t,!1)}function ra(e,t){!t?.injector&&ni(ra);let n=t?.injector??D(ke);return Ce("NgAfterNextRender"),Kf(e,n,t,!0)}function fv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Kf(e,t,n,r){let o=t.get(Qf);o.impl??=t.get(lv);let i=n?.phase??wn.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Pn):null,a=new na(o.impl,fv(e,i),r,s);return o.impl.register(a),a}var me=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(me||{}),Wl=0,pv=1,W=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(W||{}),wc=function(e){return e[e.Initial=-1]="Initial",e}(wc||{}),hv=0,hi=1;var gv=4,mv=5;var oa=7,yn=8,yv=9,Jf=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Jf||{});function Cc(e,t,n){let r=ep(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ho(e,t){let n=ep(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Xf(e){ho(1,e),ho(0,e),ho(2,e)}function ep(e){let t=gv;return e===1?t=mv:e===2&&(t=yv),t}function gi(e){return e+1}function Jt(e,t){let n=e[y],r=gi(t.index);return e[r]}function vv(e,t,n){let r=e[y],o=gi(t);e[o]=n}function Xt(e,t){let n=gi(t.index);return e.data[n]}function Dv(e,t,n){let r=gi(t);e.data[r]=n}function Iv(e,t,n){let r=t[y],o=Xt(r,n);switch(e){case W.Complete:return o.primaryTmplIndex;case W.Loading:return o.loadingTmplIndex;case W.Error:return o.errorTmplIndex;case W.Placeholder:return o.placeholderTmplIndex;default:return null}}function Zl(e,t){return t===W.Placeholder?e.placeholderBlockConfig?.[Wl]??null:t===W.Loading?e.loadingBlockConfig?.[Wl]??null:null}function Ev(e){return e.loadingBlockConfig?.[pv]??null}function Yl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function wv(e,t){let n=t.primaryTmplIndex+U;return yr(e,n)}var Ql={passive:!0,capture:!0},Cs=new WeakMap;var vn=new WeakMap;var Kl=["mouseenter","mouseover","focusin"],Dn=null,bs=0,Ro=class{callbacks=new Set;listener=()=>{for(let t of this.callbacks)t()}};function Cv(e,t){let n=Cs.get(e);if(!n){n=new Ro,Cs.set(e,n);for(let r of Kl)e.addEventListener(r,n.listener,Ql)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:o}=n;if(r.delete(t),r.size===0){for(let i of Kl)e.removeEventListener(i,o,Ql);Cs.delete(e)}}}function bv(e,t,n){let r=n.get(re),o=vn.get(e);return Dn=Dn||r.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&vn.has(s.target)&&r.run(vn.get(s.target).listener)})),o||(o=new Ro,r.runOutsideAngular(()=>Dn.observe(e)),vn.set(e,o),bs++),o.callbacks.add(t),()=>{vn.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(Dn?.unobserve(e),vn.delete(e),bs--),bs===0&&(Dn?.disconnect(),Dn=null))}}function _v(e,t,n){return n==null?e:n>=0?ff(n,e):e[t.index][ne]??null}function Mv(e,t){return rc(U+t,e)}function tp(e,t,n,r,o,i,s){let a=e[fe],c=a.get(re);function u(){if(Hs(e))return;let l=Jt(e,t),d=l[hi];if(d!==wc.Initial&&d!==W.Placeholder)return;let p=_v(e,t,r);if(!p){ra({read:u},{injector:a});return}if(Hs(p))return;let f=Mv(p,n),h=o(f,()=>{c.run(()=>{e!==p&&sc(p,h),i()})},a);e!==p&&ui(p,h),Cc(s,l,h)}ra({read:u},{injector:a})}var Sv=new x("");var Tv=()=>null;function bc(e,t,n=!1){return Tv(e,t,n)}function xv(e){return e.get(cv,!1,{optional:!0})}var lr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(lr||{}),no;function Nv(){if(no===void 0&&(no=null,gt.trustedTypes))try{no=gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return no}function mi(e){return Nv()?.createHTML(e)||e}var ro;function np(){if(ro===void 0&&(ro=null,gt.trustedTypes))try{ro=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ro}function Jl(e){return np()?.createHTML(e)||e}function Xl(e){return np()?.createScriptURL(e)||e}var rt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ad})`}},ia=class extends rt{getTypeName(){return"HTML"}},sa=class extends rt{getTypeName(){return"Style"}},aa=class extends rt{getTypeName(){return"Script"}},ca=class extends rt{getTypeName(){return"URL"}},ua=class extends rt{getTypeName(){return"ResourceURL"}};function en(e){return e instanceof rt?e.changingThisBreaksApplicationSecurity:e}function _c(e,t){let n=Av(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ad})`)}return n===t}function Av(e){return e instanceof rt&&e.getTypeName()||null}function IO(e){return new ia(e)}function EO(e){return new sa(e)}function wO(e){return new aa(e)}function CO(e){return new ca(e)}function bO(e){return new ua(e)}function Ov(e){let t=new da(e);return Rv()?new la(t):t}var la=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(mi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},da=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mi(t),n}};function Rv(){try{return!!new window.DOMParser().parseFromString(mi(""),"text/html")}catch{return!1}}var Fv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rp(e){return e=String(e),e.match(Fv)?e:"unsafe:"+e}function ct(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ir(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var op=ct("area,br,col,hr,img,wbr"),ip=ct("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sp=ct("rp,rt"),kv=Ir(sp,ip),Pv=Ir(ip,ct("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Lv=Ir(sp,ct("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ed=Ir(op,Pv,Lv,kv),ap=ct("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jv=ct("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Vv=ct("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Bv=Ir(ap,jv,Vv),Hv=ct("script,style,template"),fa=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=zv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Uv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=td(t).toLowerCase();if(!ed.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=td(t).toLowerCase();ed.hasOwnProperty(n)&&!op.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(nd(t))}};function $v(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Uv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw cp(t);return t}function zv(e){let t=e.firstChild;if(t&&$v(e,t))throw cp(t);return t}function td(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function cp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qv=/([^\#-~ |!])/g;function nd(e){return e.replace(/&/g,"&").replace(Gv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var oo;function Wv(e,t){let n=null;try{oo=oo||Ov(e);let r=t?String(t):"";n=oo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=oo.getInertBodyElement(r)}while(r!==i);let a=new fa().sanitizeChildren(rd(n)||n);return mi(a)}finally{if(n){let r=rd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function rd(e){return"content"in e&&Zv(e)?e.content:null}function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var yi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(yi||{});function _O(e){let t=Mc();return t?Jl(t.sanitize(yi.HTML,e)||""):_c(e,"HTML")?Jl(en(e)):Wv(Wf(),jt(e))}function Yv(e){let t=Mc();return t?t.sanitize(yi.URL,e)||"":_c(e,"URL")?en(e):rp(jt(e))}function Qv(e){let t=Mc();if(t)return Xl(t.sanitize(yi.RESOURCE_URL,e)||"");if(_c(e,"ResourceURL"))return Xl(en(e));throw new _(904,!1)}function Kv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Qv:Yv}function MO(e,t,n){return Kv(t,n)(e)}function Mc(){let e=m();return e&&e[et].sanitizer}var Jv=/^>|^->||--!>|)/g,eD="\u200B$1\u200B";function tD(e){return e.replace(Jv,t=>t.replace(Xv,eD))}function SO(e){return e.ownerDocument}function up(e){return e instanceof Function?e():e}var wt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(wt||{}),dr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dr||{}),nD;function Sc(e,t){return nD(e,t)}function Cn(e,t,n,r,o){if(r!=null){let i,s=!1;it(r)?i=r:vt(r)&&(s=!0,r=r[We]);let a=Ge(r);e===0&&n!==null?o==null?hp(t,n,a):Fo(t,n,a,o||null,!0):e===1&&n!==null?Fo(t,n,a,o||null,!0):e===2?mD(t,a,s):e===3&&t.destroyNode(a),i!=null&&vD(t,e,i,n,o)}}function rD(e,t){return e.createText(t)}function oD(e,t,n){e.setValue(t,n)}function iD(e,t){return e.createComment(tD(t))}function lp(e,t,n){return e.createElement(t,n)}function sD(e,t){dp(e,t),t[We]=null,t[ve]=null}function aD(e,t,n,r,o,i){r[We]=o,r[ve]=t,Ii(e,r,n,1,o,i)}function dp(e,t){t[et].changeDetectionScheduler?.notify(10),Ii(e,t,t[$],2,null,null)}function cD(e){let t=e[ar];if(!t)return _s(e[y],e);for(;t;){let n=null;if(vt(t))n=t[ar];else{let r=t[ne];r&&(n=r)}if(!n){for(;t&&!t[Fe]&&t!==e;)vt(t)&&_s(t[y],t),t=t[oe];t===null&&(t=e),vt(t)&&_s(t[y],t),n=t&&t[Fe]}t=n}}function uD(e,t,n,r){let o=ne+r,i=n.length;r>0&&(n[o-1][Fe]=t),r0&&(e[n-1][Fe]=r[Fe]);let i=Do(e,ne+t);sD(r[y],r);let s=i[tt];s!==null&&s.detachView(i[y]),r[oe]=null,r[Fe]=null,r[I]&=-129}return r}function vi(e,t){if(!(t[I]&256)){let n=t[$];n.destroyNode&&Ii(e,t,n,3,null,null),cD(t)}}function _s(e,t){if(t[I]&256)return;let n=S(null);try{t[I]&=-129,t[I]|=256,t[Ee]&&on(t[Ee]),dD(e,t),lD(e,t),t[y].type===1&&t[$].destroy();let r=t[Bt];if(r!==null&&it(t[oe])){r!==t[oe]&&Tc(r,t);let o=t[tt];o!==null&&o.detachView(e)}ea(t)}finally{S(n)}}function lD(e,t){let n=e.cleanup,r=t[wo];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[wo]=null);let o=t[yt];if(o!==null){t[yt]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===lr.None||i===lr.Emulated)return null}return Se(r,n)}}function Fo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hp(e,t,n){e.appendChild(t,n)}function od(e,t,n,r,o){r!==null?Fo(e,t,n,r,o):hp(e,t,n)}function gp(e,t){return e.parentNode(t)}function pD(e,t){return e.nextSibling(t)}function mp(e,t,n){return gD(e,t,n)}function hD(e,t,n){return e.type&40?Se(e,n):null}var gD=hD,id;function Di(e,t,n,r){let o=pp(e,r,t),i=t[$],s=r.parent||t[ve],a=mp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(e){return(e&1)===0}function _D(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(t+=sd(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(t+=sd(i,o)),t}function AD(e){return e.map(ND).join(",")}function OD(e){let t=[],n=[],r=1,o=2;for(;rU&&Cp(e,t,U,!1),$e(s?2:0,o),n(r,o)}finally{zt(i),$e(s?3:1,o)}}function Ac(e,t,n){if(nc(t)){let r=S(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function VD(e,t,n,r){let o=Rp(t);o.push(n),e.firstCreatePass&&Fp(e).push(r,o.length-1)}function BD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return hf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ad(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=wt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?cd(r,n,u,a,c):cd(r,n,u,a)}return r}function cd(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function HD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qD(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;oi(n)&&XD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||xo(n,t),Et(r,t);let s=n.initialInputs;for(let a=o;a{vr(e.lView)},consumerOnSignalRead(){this.lView[Ee]=this}});function fI(e){let t=e[Ee]??Object.create(pI);return t.lView=e,t}var pI=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Ut(e.lView);for(;t&&!Vp(t[y]);)t=Ut(t);t&&ic(t)},consumerOnSignalRead(){this.lView[Ee]=this}});function Vp(e){return e.type!==2}function Bp(e){if(e[Ht]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ht])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var hI=100;function Hp(e,t=!0,n=0){let o=e[et].rendererFactory,i=!1;i||o.begin?.();try{gI(e,n)}catch(s){throw t&&bi(e,s),s}finally{i||o.end?.()}}function gI(e,t){let n=mf();try{_o(!0),ma(e,t);let r=0;for(;ci(e);){if(r===hI)throw new _(103,!1);r++,ma(e,1)}}finally{_o(n)}}function mI(e,t,n,r){let o=t[I];if((o&256)===256)return;let i=!1,s=!1;fc(t);let a=!0,c=null,u=null;i||(Vp(e)?(u=cI(t),c=rn(u)):Su()===null?(a=!1,u=fI(t),c=rn(u)):t[Ee]&&(on(t[Ee]),t[Ee]=null));try{df(t),vy(e.bindingStartIndex),n!==null&&Mp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&lo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&fo(t,f,0,null),Is(t,0)}if(s||yI(t),Bp(t),$p(t,0),e.contentQueries!==null&&Op(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&lo(t,f)}else{let f=e.contentHooks;f!==null&&fo(t,f,1),Is(t,1)}RD(e,t);let d=e.components;d!==null&&zp(t,d,0);let p=e.viewQuery;if(p!==null&&ga(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&lo(t,f)}else{let f=e.viewHooks;f!==null&&fo(t,f,2),Is(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[uo]){for(let f of t[uo])f();t[uo]=null}i||(t[I]&=-73)}catch(l){throw i||vr(t),l}finally{u!==null&&(Gn(u,c),a&&lI(u)),pc()}}function $p(e,t){for(let n=zf(e);n!==null;n=Gf(n))for(let r=ne;r-1&&(fr(t,r),Do(n,r))}this._attachedToViewContainer=!1}vi(this._lView[y],this._lView)}onDestroy(t){ui(this._lView,t)}markForCheck(){_i(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[I]&=-129}reattach(){Us(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Hp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Bs(this._lView),n=this._lView[Bt];n!==null&&!t&&Tc(n,this._lView),dp(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Bs(this._lView),r=this._lView[Bt];r!==null&&!n&&fp(r,this._lView),Us(this._lView)}},qe=(()=>{class e{static __NG_ELEMENT_ID__=EI}return e})(),DI=qe,II=class extends DI{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Yt(o)}};function EI(){return Mi(G(),m())}function Mi(e,t){return e.type&4?new II(t,e,jn(e,t)):null}var ya=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},An=class{static NULL=new ya},ot=class{},va=class{},Da=class{},Po=class{},Lo=class{},Er=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>wI()}return e})();function wI(){let e=m(),t=G(),n=Ct(t.index,e);return(vt(n)?n:e)[$]}var CI=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function jo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Dp(e,n,i.join(" "))}}function NI(e,t,n){let r=e.projection=[];for(let o=0;on()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ea=class extends va{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Bo(this.moduleType,t,[])}};var Ho=class extends ot{injector;componentFactoryResolver=new Vo(this);instance=null;constructor(t){super();let n=new sr([...t.providers,{provide:ot,useValue:this},{provide:An,useValue:this.componentFactoryResolver}],t.parent||ti(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qp(e,t,n=null){return new Ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var OI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xa(!1,n.type),o=r.length>0?qp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(X(Xe))})}return e})();function AO(e){return gr(()=>{let t=Zp(e),n=ce(ae({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$f.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(OI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lr.Emulated,styles:e.styles||le,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ce("NgStandalone"),Yp(n);let r=e.dependencies;return n.directiveDefs=dd(r,!1),n.pipeDefs=dd(r,!0),n.id=kI(n),n})}function RI(e){return ze(e)||ei(e)}function FI(e){return e!==null}function Wp(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ld(e,t){if(e==null)return Je;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=wt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==wt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function _e(e){return gr(()=>{let t=Zp(e);return Yp(t),t})}function De(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Zp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Je,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ld(e.inputs,t),outputs:ld(e.outputs),debugInfo:null}}function Yp(e){e.features?.forEach(t=>t(e))}function dd(e,t){if(!e)return null;let n=t?Ja:RI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(FI)}function kI(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var OO=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function PI(e){return typeof e=="function"&&e[ee]!==void 0}var LI=new x("");function Si(e){return!!e&&typeof e.then=="function"}function Vc(e){return!!e&&typeof e.subscribe=="function"}var jI=new x("");var Qp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(jI,{optional:!0})??[];injector=D(ke);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=nf(this.injector,o);if(Si(i))n.push(i);else if(Vc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kp=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new $o})}return e})(),$o=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},VI=new x("");function BI(){Pu(()=>{throw new _(600,!1)})}function HI(e){return e.isBoundToModule}var $I=10;function UI(e,t,n){try{let r=n();return Si(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ti=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(Yy);afterRenderManager=D(Qf);zonelessEnabled=D(mc);rootEffectScheduler=D(Kp);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new J;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(Ln).hasPendingTasks.pipe(He(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(Xe);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Po;if(!this._injector.get(Qp).done){let p=!o&&Um(n),f=!1;throw new _(405,f)}let s;o?s=n:s=this._injector.get(An).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=HI(s)?void 0:this._injector.get(ot),c=r||s.selector,u=s.create(ke.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(LI,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),go(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new _(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,S(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Lo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<$I;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o,notifyErrorHandler:i}of this.allViews)zI(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ci(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;go(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(VI,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>go(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function go(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zI(e,t,n,r){if(!n&&!ci(e))return;Hp(e,t,n&&!r?0:1)}var RO=new RegExp(`^(\\d+)*(${iv}|${ov})*(.*)`);var GI=()=>null;function On(e,t){return GI(e,t)}var Pe=(()=>{class e{static __NG_ELEMENT_ID__=qI}return e})();function qI(){let e=G();return Xp(e,m())}var WI=Pe,Jp=class extends WI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return jn(this._hostTNode,this._hostLView)}get injector(){return new Lt(this._hostTNode,this._hostLView)}get parentInjector(){let t=hc(this._hostTNode,this._hostLView);if(_f(t)){let n=So(t,this._hostLView),r=Mo(t),o=n[y].data[r+8];return new Lt(o,n)}else return new Lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=fd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ne}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=On(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!ny(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Qt(ze(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Xe,null);g&&(i=g)}let l=ze(c.componentType??{}),d=On(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,Zt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(uy(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[oe],u=new Jp(c,c[ve],c[oe]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Bn(s,o,i,r),t.attachToViewContainerRef(),Wd(Ms(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=fd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);r&&(Do(Ms(this._lContainer),n),vi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);return r&&Do(Ms(this._lContainer),n)!=null?new Yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function fd(e){return e[Co]}function Ms(e){return e[Co]||(e[Co]=[])}function Xp(e,t){let n,r=t[e.index];return it(r)?n=r:(n=Ap(r,t,null,e),t[e.index]=n,Ci(t,n)),YI(n,t,e,r),new Jp(n,e,t)}function ZI(e,t){let n=e[$],r=n.createComment(""),o=Se(t,e),i=gp(n,o);return Fo(n,i,r,pD(n,o),!1),r}var YI=KI,QI=()=>!1;function eh(e,t,n){return QI(e,t,n)}function KI(e,t,n,r){if(e[$t])return;let o;n.type&8?o=Ge(r):o=ZI(t,n),e[$t]=o}var wa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ca=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ne;dt.trim())}function ih(e,t,n){e.queries===null&&(e.queries=new ba),e.queries.track(new _a(t,n))}function rE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Hc(e,t){return e.queries.getByIndex(t)}function sh(e,t){let n=e[y],r=Hc(n,t);return r.crossesNgTemplate?Ma(n,e,t,[]):th(n,e,r,t)}function oE(e,t){Ce("NgSignals");let n=Lu(e),r=n[ee];return t?.equal&&(r.equal=t.equal),n.set=o=>Wn(r,o),n.update=o=>ju(r,o),n.asReadonly=ah.bind(n),n}function ah(){let e=this[ee];if(e.readonlyFn===void 0){let t=()=>this();t[ee]=e,e.readonlyFn=t}return e.readonlyFn}function ch(e){return PI(e)&&typeof e.set=="function"}function $c(e,t,n){let r,o=es(()=>{r._dirtyCounter();let i=sE(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[ee],r._dirtyCounter=oE(0),r._flatValue=void 0,o}function uh(e){return $c(!0,!1,e)}function lh(e){return $c(!0,!0,e)}function iE(e){return $c(!1,!1,e)}function dh(e,t){let n=e[ee];n._lView=m(),n._queryIndex=t,n._queryList=Bc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function sE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:le;let o=Bc(n,r),i=sh(n,r);return o.reset(i,Bf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function pd(e,t){return uh(t)}function aE(e,t){return lh(t)}var kO=(pd.required=aE,pd);function PO(e,t){return iE(t)}function hd(e,t){return uh(t)}function cE(e,t){return lh(t)}var LO=(hd.required=cE,hd);function fh(e,t){let n=Object.create(Rd),r=new Oo;n.value=e;function o(){return zn(n),gd(n.value),n.value}return o[ee]=n,o.asReadonly=ah.bind(o),o.set=i=>{n.equal(n.value,i)||(Wn(n,i),r.emit(i))},o.update=i=>{gd(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function gd(e){if(e===Qo)throw new _(952,!1)}function md(e,t){return fh(e,t)}function uE(e){return fh(Qo,e)}var jO=(md.required=uE,md);function lE(e){return Object.getPrototypeOf(e.prototype).constructor}function dE(e){let t=lE(e.type),n=!0,r=[e];for(;t;){let o;if(nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=io(e.inputs),s.inputTransforms=io(e.inputTransforms),s.declaredInputs=io(e.declaredInputs),s.outputs=io(e.outputs);let a=o.hostBindings;a&&mE(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&hE(e,c),u&&gE(e,u),fE(e,o),Im(e.outputs,o.outputs),nt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cr(o.hostAttrs,n=cr(n,o.hostAttrs))}}function io(e){return e===Je?{}:e===le?[]:e}function hE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function gE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function mE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function VO(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=ph,n.hostDirectives=r?e.map(Sa):[e]):r?n.hostDirectives.unshift(...e.map(Sa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function ph(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)yd(Sa(i),t,n)}else yd(r,t,n)}function yd(e,t,n){let r=ei(e.directive);yE(r.declaredInputs,e.inputs),ph(r,t,n),n.set(r,e),t.push(r)}function Sa(e){return typeof e=="function"?{directive:te(e),inputs:Je,outputs:Je}:{directive:te(e.directive),inputs:vd(e.inputs),outputs:vd(e.outputs)}}function vd(e){if(e===void 0||e.length===0)return Je;let t={};for(let n=0;nSE(e,t,n)}function SE(e,t,n){let r=n.get(TE),o=()=>r.remove(t);return r.add(e,t),o}var TE=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r){let o=this.executingCallbacks?this.deferred:this.current;this.addToQueue(o,Date.now()+n,r),this.scheduleTimer()}remove(n){let{current:r,deferred:o}=this;this.removeFromQueue(r,n)===-1&&this.removeFromQueue(o,n),r.length===0&&o.length===0&&this.clearTimeout()}addToQueue(n,r,o){let i=n.length;for(let s=0;sr){i=s;break}Zd(n,i,r,o)}removeFromQueue(n,r){let o=-1;for(let i=0;i-1&&Ol(n,o,2),o}scheduleTimer(){let n=()=>{this.clearTimeout(),this.executingCallbacks=!0;let o=[...this.current],i=Date.now();for(let a=0;a=0&&Ol(this.current,0,s+1),this.executingCallbacks=!1,this.deferred.length>0){for(let a=0;a0){let o=Date.now(),i=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-i>16){this.clearTimeout();let s=Math.max(i-o,16);this.invokeTimerAt=i,this.timeoutId=setTimeout(n,s)}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),xE=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?qp(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e})}return e})();var NE=new x("");function Ss(e,t,n){return e.get(xE).getOrCreateInjector(t,e,n,"")}function AE(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=Ss(i,t,n);return new Sn(o,s)}let r=e.get(Xe);if(r!==e){let o=Ss(r,t,n);return new Sn(e,o)}return Ss(e,t,n)}function Pt(e,t,n,r=!1){let o=n[oe],i=o[y];if(Hs(o))return;let s=Jt(o,t),a=s[hi],c=s[oa];if(!(c!==null&&er.data[Zf]===t[hi])??null}function RE(e,t,n,r,o){let i=Iv(e,o,r);if(i!==null){t[hi]=e;let s=o[y],a=i+U,c=yr(s,a),u=0;jc(n,u);let l;if(e===W.Complete){let f=Xt(s,r),h=f.providers;h&&h.length>0&&(l=AE(o[fe],f,h))}let d=OE(n,t);if(n[_n]===null||n[_n].length===0||d){n[_n]=null;let f=Vn(o,c,null,{injector:l,dehydratedView:d});Bn(n,f,u,Zt(c,d)),_i(f,2)}if(e===W.Complete&&Array.isArray(t[yn])){for(let f of t[yn])f();t[yn]=null}}if(e===W.Complete&&Array.isArray(t[yn])){for(let s of t[yn])s();t[yn]=null}}function Dd(e,t){return e{e.loadingState===me.COMPLETE?Pt(W.Complete,t,n):e.loadingState===me.FAILED&&Pt(W.Error,t,n)})}var FE=null;function kE(e){let t=m(),n=G(),r=t[fe],o=Jt(t,n),i=Xt(t[y],n);if(Gc(t,n),Wc(t[fe],o,i)){let s=e(()=>qc(t,n),r);Cc(0,o,s)}}function PE(e,t,n){let r=t[fe],o=t[y];if(e.loadingState!==me.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Jt(t,n),s=wv(o,e);e.loadingState=me.IN_PROGRESS,ho(1,i);let a=e.dependencyResolverFn,c=r.get(Ln),u=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let d=!1,p=[],f=[];for(let h of l)if(h.status==="fulfilled"){let g=h.value,b=ze(g)||ei(g);if(b)p.push(b);else{let E=Ja(g);E&&f.push(E)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(u),d){if(e.loadingState=me.FAILED,e.errorTmplIndex===null){let h="",g=new _(750,!1);bi(t,g)}}else{e.loadingState=me.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Yl(h.directiveRegistry,p);let g=p.map(E=>E.type),b=Xa(!1,...g);e.providers=b}f.length>0&&(h.pipeRegistry=Yl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=me.COMPLETE,c.remove(u)}),e.loadingPromise)}function qc(e,t){let n=e[y],r=e[t.index],o=e[fe],i=Jt(e,t),s=Xt(n,t);if(LE(o,s))switch(Xf(i),s.loadingState){case me.NOT_STARTED:Pt(W.Loading,t,r),PE(s,e,t),s.loadingState===me.IN_PROGRESS&&Id(s,t,r);break;case me.IN_PROGRESS:Pt(W.Loading,t,r),Id(s,t,r);break;case me.COMPLETE:Pt(W.Complete,t,r);break;case me.FAILED:Pt(W.Error,t,r);break;default:}}function Wc(e,t,n){let r=t[oa]&&t[oa]===W.Complete;return!(n.hydrateTriggers&&n.hydrateTriggers.size>0&&r&&xv(e))}function LE(e,t){return e.get(NE,null,{optional:!0})?.behavior!==Jf.Manual}function BO(e,t,n,r,o,i,s,a,c){let u=m(),l=V(),d=e+U,p=pr(u,l,e,null,0,0),f=u[fe];if(l.firstCreatePass){Ce("NgDefer");let q={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:me.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null};c?.(l,q,a,s),Dv(l,d,q)}let h=u[d];eh(h,p,u);let g=null,b=null;if(h[_n]?.length>0){let q=h[_n][0].data;b=q[sv]??null,g=q[Zf]}let E=[null,wc.Initial,null,null,null,null,b,g,null,null];vv(u,d,E);let O=null;b!==null&&(O=f.get(Sv),O.add(b,{lView:u,tNode:p,lContainer:h}));let se=()=>{Xf(E),b!==null&&O?.cleanup([b])};Cc(0,E,()=>sc(u,se)),ui(u,se)}function HO(e){kE(ME(e))}function $O(e,t){let n=m(),r=G(),o=Jt(n,r),i=Xt(n[y],r);Gc(n,r),Wc(n[fe],o,i)&&tp(n,r,e,t,Cv,()=>qc(n,r),0)}function UO(e,t){let n=m(),r=G(),o=Jt(n,r),i=Xt(n[y],r);Gc(n,r),Wc(n[fe],o,i)&&tp(n,r,e,t,bv,()=>qc(n,r),0)}function jE(e,t,n,r){let o=m(),i=_t();if(ye(o,i,t)){let s=V(),a=Dr();eI(a,o,e,t,n,r)}return jE}function mh(e,t,n,r){return ye(e,_t(),n)?t+jt(n)+r:be}function VE(e,t,n,r,o,i){let s=yy(),a=zc(e,s,n,o);return uc(2),a?t+jt(n)+r+jt(o)+i:be}function so(e,t){return e<<17|t<<2}function Kt(e){return e>>17&32767}function BE(e){return(e&2)==2}function HE(e,t){return e&131071|t<<17}function Ta(e){return e|2}function Rn(e){return(e&131068)>>2}function Ts(e,t){return e&-131069|t<<2}function $E(e){return(e&1)===1}function xa(e){return e|1}function UE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Kt(s),c=Rn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Kt(e[a+1]);e[r+1]=so(p,a),p!==0&&(e[p+1]=Ts(e[p+1],r)),e[a+1]=HE(e[a+1],r)}else e[r+1]=so(a,0),a!==0&&(e[a+1]=Ts(e[a+1],r)),a=r;else e[r+1]=so(c,0),a===0?a=r:e[c+1]=Ts(e[c+1],r),c=r;u&&(e[r+1]=Ta(e[r+1])),Ed(e,l,r,!0),Ed(e,l,r,!1),zE(t,l,e,r,i),s=so(a,c),i?t.classBindings=s:t.styleBindings=s}function zE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mr(i,t)>=0&&(n[r+1]=xa(n[r+1]))}function Ed(e,t,n,r){let o=e[n+1],i=t===null,s=r?Kt(o):Rn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];GE(c,t)&&(a=!0,e[s+1]=r?xa(u):Ta(u)),s=r?Kt(u):Rn(u)}a&&(e[n+1]=r?Ta(o):xa(o))}function GE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mr(e,t)>=0:!1}var Re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qE(e){return e.substring(Re.key,Re.keyEnd)}function WE(e){return ZE(e),yh(e,vh(e,0,Re.textEnd))}function yh(e,t){let n=Re.textEnd;return n===t?-1:(t=Re.keyEnd=YE(e,Re.key=t,n),vh(e,t,n))}function ZE(e){Re.key=0,Re.keyEnd=0,Re.value=0,Re.valueEnd=0,Re.textEnd=e.length}function vh(e,t,n){for(;t32;)t++;return t}function QE(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!1)}return QE}function Na(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Pc(e,n,i[s],s,r)}function Zc(e,t,n){return Ih(e,t,n,!1),Zc}function KE(e,t){return Ih(e,t,null,!0),KE}function zO(e){Eh(rw,Dh,e,!0)}function Dh(e,t){for(let n=WE(t);n>=0;n=yh(t,n))Xo(e,qE(t),!0)}function Ih(e,t,n,r){let o=m(),i=V(),s=uc(2);if(i.firstUpdatePass&&Ch(i,e,s,r),t!==be&&ye(o,s,t)){let a=i.data[st()];bh(i,a,o,o[$],e,o[s+1]=iw(t,n),r,s)}}function Eh(e,t,n,r){let o=V(),i=uc(2);o.firstUpdatePass&&Ch(o,null,i,r);let s=m();if(n!==be&&ye(s,i,n)){let a=o.data[st()];if(_h(a,r)&&!wh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Rs(c,n||"")),Na(o,a,s,n,r)}else ow(o,a,s,s[$],s[i+1],s[i+1]=nw(e,t,n),r,i)}}function wh(e,t){return t>=e.expandoStartIndex}function Ch(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[st()],s=wh(e,n);_h(i,r)&&t===null&&!s&&(t=!1),t=JE(o,i,t,r),UE(o,i,t,n,s,r)}}function JE(e,t,n,r){let o=lc(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xs(null,e,t,n,r),n=hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xs(o,e,t,n,r),i===null){let c=XE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xs(null,e,t,c[1],r),c=hr(c,t.attrs,r),ew(e,t,r,c))}else i=tw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function XE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Rn(r)!==0)return e[Kt(r)]}function ew(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Kt(o)]=r}function tw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===be&&(p=d?le:void 0);let f=d?vs(p,r):l===r?p:void 0;if(u&&!zo(f)&&(f=vs(c,r)),zo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Kt(h):Rn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=vs(c,r))}return a}function zo(e){return e!==void 0}function iw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(en(e)))),e}function _h(e,t){return(e.flags&(t?8:16))!==0}function GO(e,t,n){let r=m(),o=mh(r,e,t,n);Eh(Xo,Dh,o,!0)}var Aa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ns(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sw(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Ns(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=Ns(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),b=n(s,p),E=n(i,l);if(Object.is(E,b)){let O=n(c,f);Object.is(O,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Go,o??=bd(e,i,s,n),Oa(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=c;)Cd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Ns(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Go,o??=bd(e,i,s,n);let f=n(i,d);if(Oa(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Cd(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Oa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cd(e,t,n,r,o){if(Oa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function bd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Go=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function qO(e,t){Ce("NgControlFlow");let n=m(),r=_t(),o=n[r]!==be?n[r]:-1,i=o!==-1?qo(n,U+o):void 0,s=0;if(ye(n,r,e)){let a=S(null);try{if(i!==void 0&&jc(i,s),e!==-1){let c=U+e,u=qo(n,c),l=Pa(n[y],c),d=On(u,l.tView.ssrId),p=Vn(n,l,t,{dehydratedView:d});Bn(u,p,s,Zt(l,d))}}finally{S(a)}}else if(i!==void 0){let a=Lp(i,s);a!==void 0&&(a[ie]=t)}}var Ra=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ne}};function WO(e){return e}function ZO(e,t){return t}var Fa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function YO(e,t,n,r,o,i,s,a,c,u,l,d,p){Ce("NgControlFlow");let f=m(),h=V(),g=c!==void 0,b=m(),E=a?s.bind(b[we][ie]):s,O=new Fa(g,E);b[U+e]=O,pr(f,h,e+1,t,n,r,o,Dt(h.consts,i)),g&&pr(f,h,e+2,c,u,l,d,Dt(h.consts,p))}var ka=class extends Aa{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ne}at(t){return this.getLView(t)[ie].$implicit}attach(t,n){let r=n[xn];this.needsIndexUpdate||=t!==this.length,Bn(this.lContainer,n,t,Zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aw(this.lContainer,t)}create(t,n){let r=On(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ra(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){vi(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ie].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(fi(!0),lp(r,o,_y()));function fw(e,t,n,r,o){let i=t.consts,s=Dt(i,r),a=tn(t,e,8,"ng-container",s);s!==null&&jo(a,s,!0);let c=Dt(i,o);return kc(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Th(e,t,n){let r=m(),o=V(),i=e+U,s=o.firstCreatePass?fw(i,o,r,t,n):o.data[i];bt(s,!0);let a=hw(o,r,s,e);return r[i]=a,di()&&Di(o,r,a,s),Et(a,r),ii(s)&&(Oc(o,r,s),Ac(o,s,r)),n!=null&&Rc(r,s),Th}function xh(){let e=G(),t=V();return ac()?cc():(e=e.parent,bt(e,!1)),t.firstCreatePass&&(pi(t,e),nc(e)&&t.queries.elementEnd(e)),xh}function pw(e,t,n){return Th(e,t,n),xh(),pw}var hw=(e,t,n,r)=>(fi(!0),iD(t[$],""));function KO(){return m()}function gw(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!0)}return gw}function mw(e,t,n){let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr(),a=lc(i.data),c=kp(a,s,r);wi(i,s,r,e,t,c,n,!0)}return mw}var kt=void 0;function yw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var vw=["en",[["a","p"],["AM","PM"],kt],[["AM","PM"],kt,kt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],kt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",kt,"{1} 'at' {0}",kt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",yw],or={};function Nh(e,t,n){typeof t!="string"&&(n=t,t=e[k.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),or[t]=e,n&&(or[t][k.ExtraData]=n)}function Z(e){let t=Dw(e),n=_d(t);if(n)return n;let r=t.split("-")[0];if(n=_d(r),n)return n;if(r==="en")return vw;throw new _(701,!1)}function Ah(e){return Z(e)[k.CurrencyCode]||null}function Oh(e){return Z(e)[k.PluralCase]}function _d(e){return e in or||(or[e]=gt.ng&>.ng.common&>.ng.common.locales&>.ng.common.locales[e]),or[e]}var k=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(k||{});function Dw(e){return e.toLowerCase().replace(/_/g,"-")}var Wo="en-US",Iw="USD";var Ew=Wo;function ww(e){typeof e=="string"&&(Ew=e.toLowerCase().replace(/_/g,"-"))}var Cw=(e,t,n)=>{};function bw(e,t,n,r){let o=m(),i=V(),s=G();return Yc(i,o,o[$],s,e,t,r),bw}function _w(e,t){let n=G(),r=m(),o=V(),i=lc(o.data),s=kp(i,n,r);return Yc(o,r,s,n,e,t),_w}function Mw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yc(e,t,n,r,o,i,s){let a=ii(r),u=e.firstCreatePass&&Fp(e),l=t[ie],d=Rp(t),p=!0;if(r.type&3||s){let g=Se(r,t),b=s?s(g):g,E=d.length,O=s?q=>s(Ge(q[r.index])):r.index,se=null;if(!s&&a&&(se=Mw(e,t,o,r.index)),se!==null){let q=se.__ngLastListenerFn__||se;q.__ngNextListenerFn__=i,se.__ngLastListenerFn__=i,p=!1}else{i=Sd(r,t,l,i),Cw(g,o,i);let q=n.listen(b,o,i);d.push(i,q),u&&u.push(o,O,E,E+1)}}else i=Sd(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let b=0;b-1?Ct(e.index,t):t;_i(s,5);let a=Md(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Md(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function JO(e=1){return Cy(e)}function Sw(e,t){let n=null,r=MD(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function cR(e){let t=my();return ai(t,U+e)}function uR(e,t=""){let n=m(),r=V(),o=e+U,i=r.firstCreatePass?tn(r,o,1,t,null):r.data[o],s=xw(r,n,i,t,e);n[o]=s,di()&&Di(r,n,s,i),bt(i,!1)}var xw=(e,t,n,r,o)=>(fi(!0),rD(t[$],r));function Nw(e){return Fh("",e,""),Nw}function Fh(e,t,n){let r=m(),o=mh(r,e,t,n);return o!==be&&Pp(r,st(),o),Fh}function Aw(e,t,n,r,o){let i=m(),s=VE(i,e,t,n,r,o);return s!==be&&Pp(i,st(),s),Aw}function Ow(e,t,n){ch(t)&&(t=t());let r=m(),o=_t();if(ye(r,o,t)){let i=V(),s=Dr();wi(i,s,r,e,t,r[$],n,!1)}return Ow}function lR(e,t){let n=ch(e);return n&&e.set(t),n}function Rw(e,t){let n=m(),r=V(),o=G();return Yc(r,n,n[$],o,e,t),Rw}var Fw={};function kw(e){let t=V(),n=m(),r=e+U,o=tn(t,r,128,null,null);return bt(o,!1),Rh(t,n,r,Fw),kw}function Pw(e,t,n){let r=V();if(r.firstCreatePass){let o=nt(e);La(n,r.data,r.blueprint,o,!0),La(t,r.data,r.blueprint,o,!1)}}function La(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i>20;if(Tn(e)||!e.multi){let f=new Gt(u,o,N),h=Os(c,t,o?l:l+p,d);h===-1?(Zs(xo(a,s),i,c),As(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Os(c,t,l+p,d),h=Os(c,t,l,l+p),g=f>=0&&n[f],b=h>=0&&n[h];if(o&&!b||!o&&!g){Zs(xo(a,s),i,c);let E=Vw(o?jw:Lw,n.length,o,r,u);!o&&b&&(n[h].providerFactory=E),As(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=kh(n[o?h:f],u,!o&&r);As(i,e,f>-1?f:h,E)}!o&&r&&b&&n[h].componentProviders++}}}function As(e,t,n,r){let o=Tn(t),i=Ym(t);if(o||i){let c=(i?te(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function kh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Os(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Pw(r,o?o(e):e,t)}}function fR(e,t,n){let r=kn()+e,o=m();return o[r]===be?xi(o,r,n?t.call(n):t()):DE(o,r)}function pR(e,t,n,r){return Ph(m(),kn(),e,t,n,r)}function hR(e,t,n,r,o){return Lh(m(),kn(),e,t,n,r,o)}function Qc(e,t){let n=e[t];return n===be?void 0:n}function Ph(e,t,n,r,o,i){let s=t+n;return ye(e,s,o)?xi(e,s+1,i?r.call(i,o):r(o)):Qc(e,s+1)}function Lh(e,t,n,r,o,i,s){let a=t+n;return zc(e,a,o,i)?xi(e,a+2,s?r.call(s,o,i):r(o,i)):Qc(e,a+2)}function Bw(e,t,n,r,o,i,s,a){let c=t+n;return IE(e,c,o,i,s)?xi(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Qc(e,c+3)}function gR(e,t){let n=V(),r,o=e+U;n.firstCreatePass?(r=Hw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Vt(r.type,!0)),s,a=ge(N);try{let c=To(!1),u=i();return To(c),Rh(n,m(),o,u),u}finally{ge(a)}}function Hw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function mR(e,t,n){let r=e+U,o=m(),i=ai(o,r);return Kc(o,r)?Ph(o,kn(),t,i.transform,n,i):i.transform(n)}function yR(e,t,n,r){let o=e+U,i=m(),s=ai(i,o);return Kc(i,o)?Lh(i,kn(),t,s.transform,n,r,s):s.transform(n,r)}function vR(e,t,n,r,o){let i=e+U,s=m(),a=ai(s,i);return Kc(s,i)?Bw(s,kn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Kc(e,t){return e[y].data[t].pure}function DR(e,t){return Mi(e,t)}var Zo=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Va=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},IR=(()=>{class e{compileModuleSync(n){return new Ea(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Kd(n),i=up(o.declarations).reduce((s,a)=>{let c=ze(a);return c&&s.push(new Qt(c)),s},[]);return new Va(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $w=(()=>{class e{zone=D(re);changeDetectionScheduler=D(Wt);applicationRef=D(Ti);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Uw=new x("",{factory:()=>!1});function jh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(ce(ae({},Vh()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:Io,multi:!0,useFactory:()=>{let r=D($w,{optional:!0});return()=>r.initialize()}},{provide:Io,multi:!0,useFactory:()=>{let r=D(zw);return()=>{r.initialize()}}},t===!0?{provide:Pf,useValue:!0}:[],{provide:Lf,useValue:n??kf}]}function ER(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=jh({ngZoneFactory:()=>{let o=Vh(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ce("NgZone_CoalesceEvent"),new re(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return zm([{provide:Uw,useValue:!0},{provide:mc,useValue:!1},r])}function Vh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zw=(()=>{class e{subscription=new z;initialized=!1;zone=D(re);pendingTasks=D(Ln);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gw=(()=>{class e{appRef=D(Ti);taskService=D(Ln);ngZone=D(re);zonelessEnabled=D(mc);disableScheduling=D(Pf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ao):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Lf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Js||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Hl:jf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ao+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Hl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qw(){return typeof $localize<"u"&&$localize.locale||Wo}var ut=new x("",{providedIn:"root",factory:()=>D(ut,A.Optional|A.SkipSelf)||qw()}),Bh=new x("",{providedIn:"root",factory:()=>Iw});var Ba=new x("");function ao(e){return!e.moduleRef}function Ww(e){let t=ao(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{ao(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(It,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ao(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ba);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ba);s.add(i),e.moduleRef.onDestroy(()=>{go(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return UI(r,n,()=>{let i=t.get(Qp);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ut,Wo);if(ww(s||Wo),ao(e)){let a=t.get(Ti);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Zw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Zw(e,t){let n=e.injector.get(Ti);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new _(-403,!1);t.push(e)}var mo=null;function Yw(e=[],t){return ke.create({name:t,providers:[{provide:ef,useValue:"platform"},{provide:Ba,useValue:new Set([()=>mo=null])},...e]})}function Qw(e=[]){if(mo)return mo;let t=Yw(e);return mo=t,BI(),Kw(t),t}function Kw(e){let t=e.get(rv,null);nf(e,()=>{t?.forEach(n=>n())})}function wR(){return!1}var wr=(()=>{class e{static __NG_ELEMENT_ID__=Jw}return e})();function Jw(e){return Xw(G(),m(),(e&16)===16)}function Xw(e,t,n){if(oi(e)&&!n){let r=Ct(e.index,t);return new Yt(r,r)}else if(e.type&175){let r=t[we];return new Yt(r,t)}return null}var Ha=class{constructor(){}supports(t){return gh(t)}create(t){return new $a(t)}},eC=(e,t)=>t,$a=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||eC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ua(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Yo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Yo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ua=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},za=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Yo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new za,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Td(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Wa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Wa=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function xd(){return new Jc([new Ha])}var Jc=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:xd});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xd()),deps:[[e,new qd,new Gd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function Nd(){return new Ni([new Ga])}var Ni=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:Nd});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Nd()),deps:[[e,new qd,new Gd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new _(901,!1)}}return e})();function CR(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qw(r),i=[jh({}),{provide:Wt,useExisting:Gw},...n||[]],s=new Ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Ww({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Cr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Xc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function bR(e,t){Ce("NgSignals");let n=es(e);return t?.equal&&(n[ee].equal=t.equal),n}function eu(e){let t=S(null);try{return e()}finally{S(t)}}var Hh=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tC}return e})();function tC(){return new Hh(m(),G())}var nC=!1,rC=(()=>{class e extends $o{pendingTasks=D(Ln);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Za=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Vu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(It,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function oC(){}function iC(e,t){Ce("NgSignals"),!t?.injector&&ni(oC);let n=t?.injector??D(ke),r=t?.manualCleanup!==!0?n.get(Pn):null,o=new Za(n.get(rC),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(wr,null,{optional:!0});return!i||!(i._lView[I]&8)?o.watcher.notify():(i._lView[uo]??=[]).push(o.watcher.notify),o}var sC=nC;var Ya=class{[ee];constructor(t){this[ee]=t}destroy(){this[ee].destroy()}};function aC(e,t){if(sC)return iC(e,t);Ce("NgSignals"),!t?.injector&&ni(aC);let n=t?.injector??D(ke),r=t?.manualCleanup!==!0?n.get(Pn):null,o,i=n.get(Hh,null,{optional:!0}),s=n.get(Wt);return i!==null&&!t?.forceRoot?(o=lC(i.view,s,e),r instanceof No&&r._lView===i.view&&(r=null)):o=dC(e,n.get(Kp),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ya(o)}var $h=ce(ae({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:ur,run(){if(this.dirty=!1,this.hasRun&&!qn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=rn(this),n=_o(!1);try{this.maybeCleanup(),this.fn(e)}finally{_o(n),Gn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),cC=ce(ae({},$h),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){on(this),this.onDestroyFn(),this.maybeCleanup()}}),uC=ce(ae({},$h),{consumerMarkedDirty(){this.view[I]|=8192,vr(this.view),this.notifier.notify(14)},destroy(){on(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ht]?.delete(this)}});function lC(e,t,n){let r=Object.create(uC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ht]??=new Set,e[Ht].add(r),r.consumerMarkedDirty(r),r}function dC(e,t,n){let r=Object.create(cC);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function _R(e,t){let n=ze(e),r=t.elementInjector||ti();return new Qt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function MR(e){let t=ze(e);if(!t)return null;let n=new Qt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var rg=null;function tu(){return rg}function HR(e){rg??=e}var Uh=class{},$R=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})(),Hi=new x(""),hu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>D(pC),providedIn:"platform"})}return e})(),UR=new x(""),pC=(()=>{class e extends hu{_location;_history;_doc=D(Hi);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tu().getBaseHref(this._doc)}onPopState(n){let r=tu().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=tu().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function gu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function zh(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function dt(e){return e&&e[0]!=="?"?"?"+e:e}var $i=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>D(hC),providedIn:"root"})}return e})(),og=new x(""),hC=(()=>{class e extends $i{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(Hi).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return gu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(X(hu),X(og,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zR=(()=>{class e extends $i{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=gu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(X(hu),X(og,8))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),gC=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=vC(zh(Gh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+dt(r))}normalize(n){return e.stripTrailingSlash(yC(this._basePath,Gh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=dt;static joinWithSlash=gu;static stripTrailingSlash=zh;static \u0275fac=function(r){return new(r||e)(X($i))};static \u0275prov=F({token:e,factory:()=>mC(),providedIn:"root"})}return e})();function mC(){return new gC(X($i))}function yC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Gh(e){return e.replace(/\/index.html$/,"")}function vC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ig={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Ui=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ui||{}),Hn=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(Hn||{}),pe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(pe||{}),B=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(B||{}),Me=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Me||{}),Q={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},DC=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(DC||{});function IC(e){return Z(e)[k.LocaleId]}function EC(e,t,n){let r=Z(e),o=[r[k.DayPeriodsFormat],r[k.DayPeriodsStandalone]],i=xe(o,t);return xe(i,n)}function wC(e,t,n){let r=Z(e),o=[r[k.DaysFormat],r[k.DaysStandalone]],i=xe(o,t);return xe(i,n)}function CC(e,t,n){let r=Z(e),o=[r[k.MonthsFormat],r[k.MonthsStandalone]],i=xe(o,t);return xe(i,n)}function bC(e,t){let r=Z(e)[k.Eras];return xe(r,t)}function GR(e){return Z(e)[k.FirstDayOfWeek]}function qR(e){return Z(e)[k.WeekendRange]}function Ai(e,t){let n=Z(e);return xe(n[k.DateFormat],t)}function Oi(e,t){let n=Z(e);return xe(n[k.TimeFormat],t)}function Ri(e,t){let r=Z(e)[k.DateTimeFormat];return xe(r,t)}function Te(e,t){let n=Z(e),r=n[k.NumberSymbols][t];if(typeof r>"u"){if(t===Q.CurrencyDecimal)return n[k.NumberSymbols][Q.Decimal];if(t===Q.CurrencyGroup)return n[k.NumberSymbols][Q.Group]}return r}function mu(e,t){return Z(e)[k.NumberFormats][t]}function WR(e){return Z(e)[k.CurrencySymbol]||null}function ZR(e){return Z(e)[k.CurrencyName]||null}function YR(e){return Ah(e)}function _C(e){return Z(e)[k.Currencies]}var MC=Oh;function sg(e){if(!e[k.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[k.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SC(e){let t=Z(e);return sg(t),(t[k.ExtraData][2]||[]).map(r=>typeof r=="string"?nu(r):[nu(r[0]),nu(r[1])])}function TC(e,t,n){let r=Z(e);sg(r);let o=[r[k.ExtraData][0],r[k.ExtraData][1]],i=xe(o,t)||[];return xe(i,n)||[]}function QR(e){return Z(e)[k.Directionality]}function xe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function nu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function xC(e,t,n="en"){let r=_C(n)[e]||ig[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var NC=2;function AC(e){let t,n=ig[e];return n&&(t=n[2]),typeof t=="number"?t:NC}var OC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fi={},RC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ft=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ft||{}),L=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(L||{}),P=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(P||{});function FC(e,t,n,r){let o=UC(e);t=lt(n,t)||t;let s=[],a;for(;t;)if(a=RC.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=cg(r,c),o=$C(o,r,!0));let u="";return s.forEach(l=>{let d=BC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Vi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function lt(e,t){let n=IC(e);if(Fi[n]??={},Fi[n][t])return Fi[n][t];let r="";switch(t){case"shortDate":r=Ai(e,Me.Short);break;case"mediumDate":r=Ai(e,Me.Medium);break;case"longDate":r=Ai(e,Me.Long);break;case"fullDate":r=Ai(e,Me.Full);break;case"shortTime":r=Oi(e,Me.Short);break;case"mediumTime":r=Oi(e,Me.Medium);break;case"longTime":r=Oi(e,Me.Long);break;case"fullTime":r=Oi(e,Me.Full);break;case"short":let o=lt(e,"shortTime"),i=lt(e,"shortDate");r=ki(Ri(e,Me.Short),[o,i]);break;case"medium":let s=lt(e,"mediumTime"),a=lt(e,"mediumDate");r=ki(Ri(e,Me.Medium),[s,a]);break;case"long":let c=lt(e,"longTime"),u=lt(e,"longDate");r=ki(Ri(e,Me.Long),[c,u]);break;case"full":let l=lt(e,"fullTime"),d=lt(e,"fullDate");r=ki(Ri(e,Me.Full),[l,d]);break}return r&&(Fi[n][t]=r),r}function ki(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Le(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===L.Hours)a===0&&n===-12&&(a=12);else if(e===L.FractionalSeconds)return kC(a,t);let c=Te(s,Q.MinusSign);return Le(a,t,c,r,o)}}function PC(e,t){switch(e){case L.FullYear:return t.getFullYear();case L.Month:return t.getMonth();case L.Date:return t.getDate();case L.Hours:return t.getHours();case L.Minutes:return t.getMinutes();case L.Seconds:return t.getSeconds();case L.FractionalSeconds:return t.getMilliseconds();case L.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function H(e,t,n=pe.Format,r=!1){return function(o,i){return LC(o,i,e,t,n,r)}}function LC(e,t,n,r,o,i){switch(n){case P.Months:return CC(t,o,r)[e.getMonth()];case P.Days:return wC(t,o,r)[e.getDay()];case P.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=SC(t),l=TC(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,b=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ft.Short:return(o>=0?"+":"")+Le(s,2,i)+Le(Math.abs(o%60),2,i);case ft.ShortGMT:return"GMT"+(o>=0?"+":"")+Le(s,1,i);case ft.Long:return"GMT"+(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);case ft.Extended:return r===0?"Z":(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var jC=0,ji=4;function VC(e){let t=Vi(e,jC,1).getDay();return Vi(e,0,1+(t<=ji?ji:ji+7)-t)}function ag(e){let t=e.getDay(),n=t===0?-3:ji-t;return Vi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ru(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=ag(n),s=VC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Le(o,e,Te(r,Q.MinusSign))}}function Li(e,t=!1){return function(n,r){let i=ag(n).getFullYear();return Le(i,e,Te(r,Q.MinusSign),t)}}var ou={};function BC(e){if(ou[e])return ou[e];let t;switch(e){case"G":case"GG":case"GGG":t=H(P.Eras,B.Abbreviated);break;case"GGGG":t=H(P.Eras,B.Wide);break;case"GGGGG":t=H(P.Eras,B.Narrow);break;case"y":t=Y(L.FullYear,1,0,!1,!0);break;case"yy":t=Y(L.FullYear,2,0,!0,!0);break;case"yyy":t=Y(L.FullYear,3,0,!1,!0);break;case"yyyy":t=Y(L.FullYear,4,0,!1,!0);break;case"Y":t=Li(1);break;case"YY":t=Li(2,!0);break;case"YYY":t=Li(3);break;case"YYYY":t=Li(4);break;case"M":case"L":t=Y(L.Month,1,1);break;case"MM":case"LL":t=Y(L.Month,2,1);break;case"MMM":t=H(P.Months,B.Abbreviated);break;case"MMMM":t=H(P.Months,B.Wide);break;case"MMMMM":t=H(P.Months,B.Narrow);break;case"LLL":t=H(P.Months,B.Abbreviated,pe.Standalone);break;case"LLLL":t=H(P.Months,B.Wide,pe.Standalone);break;case"LLLLL":t=H(P.Months,B.Narrow,pe.Standalone);break;case"w":t=ru(1);break;case"ww":t=ru(2);break;case"W":t=ru(1,!0);break;case"d":t=Y(L.Date,1);break;case"dd":t=Y(L.Date,2);break;case"c":case"cc":t=Y(L.Day,1);break;case"ccc":t=H(P.Days,B.Abbreviated,pe.Standalone);break;case"cccc":t=H(P.Days,B.Wide,pe.Standalone);break;case"ccccc":t=H(P.Days,B.Narrow,pe.Standalone);break;case"cccccc":t=H(P.Days,B.Short,pe.Standalone);break;case"E":case"EE":case"EEE":t=H(P.Days,B.Abbreviated);break;case"EEEE":t=H(P.Days,B.Wide);break;case"EEEEE":t=H(P.Days,B.Narrow);break;case"EEEEEE":t=H(P.Days,B.Short);break;case"a":case"aa":case"aaa":t=H(P.DayPeriods,B.Abbreviated);break;case"aaaa":t=H(P.DayPeriods,B.Wide);break;case"aaaaa":t=H(P.DayPeriods,B.Narrow);break;case"b":case"bb":case"bbb":t=H(P.DayPeriods,B.Abbreviated,pe.Standalone,!0);break;case"bbbb":t=H(P.DayPeriods,B.Wide,pe.Standalone,!0);break;case"bbbbb":t=H(P.DayPeriods,B.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":t=H(P.DayPeriods,B.Abbreviated,pe.Format,!0);break;case"BBBB":t=H(P.DayPeriods,B.Wide,pe.Format,!0);break;case"BBBBB":t=H(P.DayPeriods,B.Narrow,pe.Format,!0);break;case"h":t=Y(L.Hours,1,-12);break;case"hh":t=Y(L.Hours,2,-12);break;case"H":t=Y(L.Hours,1);break;case"HH":t=Y(L.Hours,2);break;case"m":t=Y(L.Minutes,1);break;case"mm":t=Y(L.Minutes,2);break;case"s":t=Y(L.Seconds,1);break;case"ss":t=Y(L.Seconds,2);break;case"S":t=Y(L.FractionalSeconds,1);break;case"SS":t=Y(L.FractionalSeconds,2);break;case"SSS":t=Y(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Pi(ft.Short);break;case"ZZZZZ":t=Pi(ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Pi(ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Pi(ft.Long);break;default:return null}return ou[e]=t,t}function cg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function HC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function $C(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=cg(t,o);return HC(e,r*(i-o))}function UC(e){if(qh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Vi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(OC))return zC(r)}let t=new Date(e);if(!qh(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function zC(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function qh(e){return e instanceof Date&&!isNaN(e.valueOf())}var GC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Wh=22,Bi=".",br="0",qC=";",WC=",",iu="#",Zh="\xA4",ZC="%";function yu(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Te(n,Q.Infinity);else{let u=XC(e);s&&(u=JC(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(GC);if(O===null)throw new Error(`${i} is not a valid digit info`);let se=O[1],q=O[3],Ze=O[5];se!=null&&(l=su(se)),q!=null&&(d=su(q)),Ze!=null?p=su(Ze):q!=null&&d>p&&(p=d)}eb(u,d,p);let f=u.digits,h=u.integerLen,g=u.exponent,b=[];for(c=f.every(O=>!O);h0?b=f.splice(h,f.length):(b=f,f=[0]);let E=[];for(f.length>=t.lgSize&&E.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)E.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(Te(n,r)),b.length&&(a+=Te(n,o)+b.join("")),g&&(a+=Te(n,Q.Exponential)+"+"+g)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function YC(e,t,n,r,o){let i=mu(t,Ui.Currency),s=vu(i,Te(t,Q.MinusSign));return s.minFrac=AC(r),s.maxFrac=s.minFrac,yu(e,s,t,Q.CurrencyGroup,Q.CurrencyDecimal,o).replace(Zh,n).replace(Zh,"").trim()}function QC(e,t,n){let r=mu(t,Ui.Percent),o=vu(r,Te(t,Q.MinusSign));return yu(e,o,t,Q.Group,Q.Decimal,n,!0).replace(new RegExp(ZC,"g"),Te(t,Q.PercentSign))}function KC(e,t,n){let r=mu(t,Ui.Decimal),o=vu(r,Te(t,Q.MinusSign));return yu(e,o,t,Q.Group,Q.Decimal,n)}function vu(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(qC),o=r[0],i=r[1],s=o.indexOf(Bi)!==-1?o.split(Bi):[o.substring(0,o.lastIndexOf(br)+1),o.substring(o.lastIndexOf(br)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(iu));for(let l=0;l-1&&(t=t.replace(Bi,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===br;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===br;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Wh&&(r=r.splice(0,Wh-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function eb(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function su(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Du=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:function(r){let o=null;return r?o=new r:o=(i=>new tb(i))(X(ut)),o},providedIn:"root"})}return e})();function ug(e,t,n,r){let o=`=${e}`;if(t.indexOf(o)>-1||(o=n.getPluralCategory(e,r),t.indexOf(o)>-1))return o;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}var tb=(()=>{class e extends Du{locale;constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(MC(r||this.locale)(n)){case Hn.Zero:return"zero";case Hn.One:return"one";case Hn.Two:return"two";case Hn.Few:return"few";case Hn.Many:return"many";default:return"other"}}static \u0275fac=function(r){return new(r||e)(X(ut))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();function KR(e,t,n){return Nh(e,t,n)}function JR(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var au=/\s+/,Yh=[],XR=(()=>{class e{_ngEl;_renderer;initialClasses=Yh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(au):Yh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(au):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(au).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(N(at),N(Er))};static \u0275dir=_e({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),eF=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;constructor(n){this._viewContainerRef=n}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Gp(this.ngComponentOutletNgModule,Qh(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Qh(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(N(Pe))};static \u0275dir=_e({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[si]})}return e})();function Qh(e){return e.get(ot).injector}var cu=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},tF=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new cu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Kh(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);Kh(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(Jc))};static \u0275dir=_e({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Kh(e,t){e.context.$implicit=t.item}var nF=(()=>{class e{_viewContainer;_context=new uu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Jh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Jh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe))};static \u0275dir=_e({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),uu=class{$implicit=null;ngIf=null};function Jh(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${de(t)}'.`)}var _r=class{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},lg=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=_e({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),rF=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new _r(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(lg,9))};static \u0275dir=_e({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),oF=(()=>{class e{constructor(n,r,o){o._addDefault(new _r(n,r))}static \u0275fac=function(r){return new(r||e)(N(Pe),N(qe),N(lg,9))};static \u0275dir=_e({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var nb=(()=>{class e{_localization;_activeView;_caseViews={};constructor(n){this._localization=n}set ngPlural(n){this._updateView(n)}addCase(n,r){this._caseViews[n]=r}_updateView(n){this._clearViews();let r=Object.keys(this._caseViews),o=ug(n,r,this._localization);this._activateView(this._caseViews[o])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(n){n&&(this._activeView=n,this._activeView.create())}static \u0275fac=function(r){return new(r||e)(N(Du))};static \u0275dir=_e({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),iF=(()=>{class e{value;constructor(n,r,o,i){this.value=n;let s=!isNaN(Number(n));i.addCase(s?`=${n}`:n,new _r(o,r))}static \u0275fac=function(r){return new(r||e)(gc("ngPluralCase"),N(qe),N(Pe),N(nb,1))};static \u0275dir=_e({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),sF=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:dr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(N(at),N(Ni),N(Er))};static \u0275dir=_e({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),aF=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(N(Pe))};static \u0275dir=_e({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[si]})}return e})();function je(e,t){return new _(2100,!1)}var lu=class{createSubscription(t,n){return eu(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){eu(()=>t.unsubscribe())}},du=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},rb=new du,ob=new lu,cF=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Si(n))return rb;if(Vc(n))return ob;throw je(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(N(wr,16))};static \u0275pipe=De({name:"async",type:e,pure:!1})}return e})(),uF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.toLowerCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"lowercase",type:e,pure:!0})}return e})(),ib=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,lF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.replace(ib,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"titlecase",type:e,pure:!0})}return e})(),dF=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw je(e,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"uppercase",type:e,pure:!0})}return e})(),sb="mediumDate",ab=new x(""),cb=new x(""),fF=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??sb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return FC(n,s,i||this.locale,a)}catch(s){throw je(e,s.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16),N(ab,24),N(cb,24))};static \u0275pipe=De({name:"date",type:e,pure:!0})}return e})(),ub=/#/g,pF=(()=>{class e{_localization;constructor(n){this._localization=n}transform(n,r,o){if(n==null)return"";if(typeof r!="object"||r===null)throw je(e,r);let i=ug(n,Object.keys(r),this._localization,o);return r[i].replace(ub,n.toString())}static \u0275fac=function(r){return new(r||e)(N(Du,16))};static \u0275pipe=De({name:"i18nPlural",type:e,pure:!0})}return e})(),hF=(()=>{class e{transform(n,r){if(n==null)return"";if(typeof r!="object"||typeof n!="string")throw je(e,r);return r.hasOwnProperty(n)?r[n]:r.hasOwnProperty("other")?r.other:""}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"i18nSelect",type:e,pure:!0})}return e})(),gF=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"json",type:e,pure:!1})}return e})();function lb(e,t){return{key:e,value:t}}var mF=(()=>{class e{differs;constructor(n){this.differs=n}differ;keyValues=[];compareFn=Xh;transform(n,r=Xh){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(lb(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||e)(N(Ni,16))};static \u0275pipe=De({name:"keyvalue",type:e,pure:!1})}return e})();function Xh(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(n===null)return 1;if(r===null)return-1;if(typeof n=="string"&&typeof r=="string")return n{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Iu(n))return null;o||=this._locale;try{let i=Eu(n);return KC(i,o,r)}catch(i){throw je(e,i.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16))};static \u0275pipe=De({name:"number",type:e,pure:!0})}return e})(),vF=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Iu(n))return null;o||=this._locale;try{let i=Eu(n);return QC(i,o,r)}catch(i){throw je(e,i.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16))};static \u0275pipe=De({name:"percent",type:e,pure:!0})}return e})(),DF=(()=>{class e{_locale;_defaultCurrencyCode;constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!Iu(n))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=xC(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=Eu(n);return YC(c,s,a,r,i)}catch(c){throw je(e,c.message)}}static \u0275fac=function(r){return new(r||e)(N(ut,16),N(Bh,16))};static \u0275pipe=De({name:"currency",type:e,pure:!0})}return e})();function Iu(e){return!(e==null||e===""||e!==e)}function Eu(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var IF=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw je(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=De({name:"slice",type:e,pure:!1})}return e})();var EF=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Wp({type:e});static \u0275inj=jd({})}return e})(),db="browser",fb="server";function pb(e){return e===db}function hb(e){return e===fb}var wF=new Zo("19.0.0"),CF=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>pb(D(Dc))?new fu(D(Hi),window):new pu})}return e})(),fu=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=gb(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function gb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var pu=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},eg=class{},zi="20";function dg(e){return/^https?:\/\//.test(e)}function fg(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let n=new URL(e);return!0}catch{return!1}}function mb(e){return e.endsWith("/")?e.slice(0,-1):e}function yb(e){return e.startsWith("/")?e.slice(1):e}var pg=e=>e.src,wu=new x("",{providedIn:"root",factory:()=>pg});function Gi(e,t){return function(r){return fg(r)||vb(r,t||[]),r=mb(r),[{provide:wu,useValue:s=>(dg(s.src)&&Db(r,s.src),e(r,ce(ae({},s),{src:yb(s.src)})))}]}}function vb(e,t){throw new _(2959,!1)}function Db(e,t){throw new _(2959,!1)}var bF=Gi(Ib,void 0);function Ib(e,t){let n="format=auto";return t.width&&(n+=`,width=${t.width}`),t.isPlaceholder&&(n+=`,quality=${zi}`),`${e}/cdn-cgi/image/${n}/${t.src}`}var _F=Gi(Eb,void 0);function Eb(e,t){let r=`f_auto,${t.isPlaceholder?"q_auto:low":"q_auto"}`;return t.width&&(r+=`,w_${t.width}`),t.loaderParams?.rounded&&(r+=",r_max"),`${e}/image/upload/${r}/${t.src}`}var MF=Gi(wb,void 0);function wb(e,t){let{src:n,width:r}=t,o=[];r&&o.push(`w-${r}`),t.isPlaceholder&&o.push(`q-${zi}`);let i=o.length?[e,`tr:${o.join(",")}`,n]:[e,n];return new URL(i.join("/")).href}var SF=Gi(Cb,void 0);function Cb(e,t){let n=new URL(`${e}/${t.src}`);return n.searchParams.set("auto","format"),t.width&&n.searchParams.set("w",t.width.toString()),t.isPlaceholder&&n.searchParams.set("q",zi),n.href}function TF(e){if(e&&!fg(e))throw new _(2959,!1);return e&&(e=new URL(e).origin),[{provide:wu,useValue:r=>bb(r,e)}]}var tg=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function bb(e,t){let n=new URL(t??"https://a/");n.pathname="/.netlify/images",!dg(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),n.searchParams.set("url",e.src),e.width&&n.searchParams.set("w",e.width.toString());let r=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!r&&n.searchParams.set("q",zi);for(let[o,i]of Object.entries(e.loaderParams??{}))tg.has(o)&&n.searchParams.set(tg.get(o),i.toString());return n.hostname==="a"?n.href.replace(n.origin,""):n.href}var xF=new x("");var _b=new x("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),Mb=(()=>{class e{preloadedImages=D(_b);document=D(Hi);createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ng=/^((\s*\d+w\s*(,|$)){1,})$/;var Sb=[1,2],Tb=640;var xb=1920,Nb=1080;var NF=(()=>{class e{imageLoader=D(wu);config=Ab(D(Ec));renderer=D(Er);imgElement=D(at).nativeElement;injector=D(ke);isServer=hb(D(Dc));preloadLinkCreator=D(Mb);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){Ce("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&ng.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&r&&o&&r!==o&&this.injector.get(re).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,o)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=ng.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=Tb)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return Sb.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>xb||this.height>Nb),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==pg&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(wr);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);Ob(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=_e({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Zc("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Rb],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Xc],height:[2,"height","height",Xc],loading:"loading",priority:[2,"priority","priority",Cr],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Cr],fill:[2,"fill","fill",Cr],placeholder:[2,"placeholder","placeholder",Fb],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[hh,si]})}return e})();function Ab(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Ic,e,t)}function Ob(e,t){e.complete&&e.naturalWidth&&t()}function Rb(e){return typeof e=="string"?e:en(e)}function Fb(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Cr(e)}export{ae as a,ce as b,kb as c,Mu as d,z as e,Tg as f,T as g,ls as h,Zn as i,J as j,Yn as k,Kn as l,Ag as m,Nt as n,Be as o,Vg as p,Bg as q,Hg as r,Ot as s,He as t,Yg as u,Ae as v,Xn as w,mn as x,Kg as y,Jg as z,fs as A,Rt as B,im as C,sm as D,am as E,pt as F,cm as G,fl as H,hl as I,ml as J,er as K,Ft as L,ps as M,lm as N,vl as O,Dl as P,Il as Q,gs as R,pm as S,hm as T,gm as U,mm as V,ys as W,ym as X,wl as Y,Cl as Z,bl as _,_l as $,vm as aa,Ml as ba,_ as ca,Pd as da,F as ea,jd as fa,cO as ga,x as ha,A as ia,X as ja,D as ka,Gd as la,qd as ma,zm as na,ef as oa,Xe as pa,nf as qa,ni as ra,si as sa,uO as ta,lO as ua,dO as va,fO as wa,pO as xa,gc as ya,ke as za,Bl as Aa,Pn as Ba,Wt as Ca,Ln as Da,mt as Ea,re as Fa,It as Ga,hO as Ha,gO as Ia,at as Ja,Xs as Ka,mO as La,yO as Ma,rv as Na,Dc as Oa,vO as Pa,DO as Qa,Ec as Ra,Ce as Sa,wn as Ta,dv as Ua,ra as Va,lr as Wa,en as Xa,_c as Ya,IO as Za,EO as _a,wO as $a,CO as ab,bO as bb,rp as cb,Wv as db,yi as eb,_O as fb,Yv as gb,Qv as hb,MO as ib,SO as jb,dr as kb,TO as lb,N as mb,xO as nb,qe as ob,ot as pb,va as qb,Lo as rb,Er as sb,qp as tb,AO as ub,Wp as vb,_e as wb,De as xb,OO as yb,PI as zb,Si as Ab,jI as Bb,VI as Cb,Ti as Db,Pe as Eb,oE as Fb,kO as Gb,PO as Hb,LO as Ib,jO as Jb,dE as Kb,VO as Lb,hh as Mb,CE as Nb,BO as Ob,HO as Pb,$O as Qb,UO as Rb,jE as Sb,QE as Tb,Zc as Ub,KE as Vb,zO as Wb,GO as Xb,qO as Yb,WO as Zb,ZO as _b,YO as $b,QO as ac,Mh as bc,Sh as cc,lw as dc,Th as ec,xh as fc,pw as gc,KO as hc,gw as ic,mw as jc,bw as kc,_w as lc,JO as mc,XO as nc,eR as oc,tR as pc,nR as qc,rR as rc,oR as sc,iR as tc,sR as uc,aR as vc,cR as wc,uR as xc,Nw as yc,Fh as zc,Aw as Ac,Ow as Bc,lR as Cc,Rw as Dc,kw as Ec,dR as Fc,fR as Gc,pR as Hc,hR as Ic,gR as Jc,mR as Kc,yR as Lc,vR as Mc,DR as Nc,IR as Oc,ER as Pc,ut as Qc,wR as Rc,wr as Sc,Jc as Tc,CR as Uc,Cr as Vc,Xc as Wc,bR as Xc,eu as Yc,aC as Zc,_R as _c,MR as $c,tu as ad,HR as bd,Uh as cd,$R as dd,Hi as ed,hu as fd,UR as gd,pC as hd,dt as id,$i as jd,og as kd,hC as ld,zR as md,gC as nd,Ui as od,Hn as pd,pe as qd,B as rd,Me as sd,Q as td,DC as ud,IC as vd,EC as wd,wC as xd,CC as yd,bC as zd,GR as Ad,qR as Bd,Ai as Cd,Oi as Dd,Ri as Ed,Te as Fd,mu as Gd,WR as Hd,ZR as Id,YR as Jd,MC as Kd,SC as Ld,TC as Md,QR as Nd,xC as Od,AC as Pd,FC as Qd,YC as Rd,QC as Sd,KC as Td,Du as Ud,tb as Vd,KR as Wd,JR as Xd,XR as Yd,eF as Zd,cu as _d,tF as $d,nF as ae,uu as be,lg as ce,rF as de,oF as ee,nb as fe,iF as ge,sF as he,aF as ie,cF as je,uF as ke,lF as le,dF as me,ab as ne,cb as oe,fF as pe,pF as qe,hF as re,gF as se,mF as te,yF as ue,vF as ve,DF as we,IF as xe,EF as ye,db as ze,fb as Ae,pb as Be,hb as Ce,wF as De,CF as Ee,pu as Fe,eg as Ge,wu as He,bF as Ie,_F as Je,MF as Ke,SF as Le,TF as Me,xF as Ne,NF as Oe}; diff --git a/chunk-TPJZ2OYR.js b/chunk-5MUU2WLY.js similarity index 98% rename from chunk-TPJZ2OYR.js rename to chunk-5MUU2WLY.js index 1694f97a..6437417e 100644 --- a/chunk-TPJZ2OYR.js +++ b/chunk-5MUU2WLY.js @@ -1 +1 @@ -import{A as z,a as L,b as B,c as F,d as w,f as s,p as T,t as E,u as W}from"./chunk-XYJHVZQT.js";import{F as n,L as a,O as d,_ as H,a as k,b as q,c as I,t as N}from"./chunk-TEKHUYWQ.js";var p=class{};var o=class extends L{};var h=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.createUser(e)}};var l=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.delete(e)}};var U=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.findOne(e)}};var x=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.findOneByName(e)}};var m=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.find(e)}};var f=class{authenticationService;constructor(e){this.authenticationService=e}execute(){return this.authenticationService.load()}};var v=class{authenticationService;constructor(e){this.authenticationService=e}execute({name:e}){return this.authenticationService.sendUserCode(e)}};var C=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updatePassword(e)}};var S=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updatePhoto(e)}};var g=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateProfile(e)}};var P=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateRoles(e)}};var b=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateSocial(e)}};var y=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.update(e.id,e)}};var $=class{authenticationService;constructor(e){this.authenticationService=e}execute(e){return this.authenticationService.validateUserCode(e).pipe(H(({accessToken:t})=>(localStorage.setItem("accessToken",t),this.authenticationService.load())))}};var V=T({auth:null,loading:!1,message:null,sended:!1}),O=class extends E{createUserUseCase;sendUserCodeUseCase;validateUserCodeUseCase;loadAuthenticationUseCase;auth$=this.select(e=>e.auth);message$=this.select(e=>e.message);loading$=this.select(e=>e.loading);connected$=this.select(()=>!!this.accessToken);get accessToken(){return localStorage.getItem("accessToken")}constructor(e,t,i,c){super(V),this.createUserUseCase=e,this.sendUserCodeUseCase=t,this.validateUserCodeUseCase=i,this.loadAuthenticationUseCase=c}load(){this.loadAuthenticationUseCase.execute().pipe(a(1)).subscribe(t=>this.setState({auth:t}))}sendUserCode(e){this.setState({loading:!0}),this.sendUserCodeUseCase.execute(e).pipe(a(1)).subscribe(({message:i})=>{this.setState({sended:!0,loading:!1,message:i})})}validateUserCode(e){this.setState({loading:!0}),this.validateUserCodeUseCase.execute(e).pipe(a(1)).subscribe(()=>this.setState({loading:!1}))}createUser(e){return this.setState({loading:!0}),this.createUserUseCase.execute(e).pipe(a(1))}signOut(){this.setState(V),localStorage.removeItem("accessToken")}};function M(){return w(O,[h,v,$,f])}function G(r){return{"@context":"https://schema.org","@type":"Person",name:r.displayName,email:`mailto:${r.contact.email}`,url:`https://devparana.mx/#/sobre/${r.name}`}}var R=class extends z{findUsersUseCase;findUserByIDUseCase;updateProfileUseCase;updateUserUseCase;updatePhotoUseCase;updatePasswordUseCase;updateSocialUseCase;updateRolesUseCase;deleteUserUseCase;findUserByNameUseCase;profile$=this.select(e=>{if(e.selected){let{profile:t,id:i}=e.selected;return q(k({},t),{id:i})}return null});social$=this.selected$.pipe(n(e=>!!e),N(({id:e,social:t})=>({id:e,social:t})));schema$=this.selected$.pipe(n(e=>!!e),N(e=>G(e)));constructor(e,t,i,c,u,A,_,ee,te,re){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.findUsersUseCase=e,this.findUserByIDUseCase=t,this.updateProfileUseCase=i,this.updateUserUseCase=c,this.updatePhotoUseCase=u,this.updatePasswordUseCase=A,this.updateSocialUseCase=_,this.updateRolesUseCase=ee,this.deleteUserUseCase=te,this.findUserByNameUseCase=re}load(){this.onLoad(this.findUsersUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findUserByIDUseCase.execute(e))}loadOneByName(e){this.onLoadOne(this.findUserByNameUseCase.execute(e))}update(e){this.updateUserUseCase.execute(e).pipe(a(1)).subscribe()}updateProfile(e){this.updateProfileUseCase.execute(e).pipe(a(1)).subscribe()}updatePhoto(e){this.updatePhotoUseCase.execute(e).pipe(a(1)).subscribe()}updatePassword(e){this.onUpdate(this.updatePasswordUseCase.execute(e))}updateSocial(e){this.updateSocialUseCase.execute(e).pipe(a(1)).subscribe()}updateRoles(e){this.onUpdate(this.updateRolesUseCase.execute(e))}delete(e){this.onDelete(this.deleteUserUseCase.execute(e))}};function J(){return w(R,[m,U,g,y,S,C,b,P,l,x])}function K(){return[M(),J()]}var D=class{http;env;endpoint;get url(){return`${this.env.api.url}/${this.endpoint}`}constructor(e,t,i){this.http=e,this.env=t,this.endpoint=i}load(){return this.http.get(this.url)}createUser(e){let t=[this.url,"create-user"];return this.http.post(t.join("/"),e)}sendUserCode(e){return this.http.post(this.url,{name:e})}validateUserCode(e){let t=[this.url,"validate"];return this.http.post(t.join("/"),e)}};function Q(){return{provide:p,useFactory(r,e){return new D(r,e,"authentication")},deps:[F,B]}}var j=class extends W{findOneByName(e){let t=[this.url,"about",e];return this.http.get(t.join("/"))}updatePassword(e){let t=[this.url,e.id,"password"];return this.http.patch(t.join("/"),e)}updateProfile(e){let t=[this.url,e.id,"profile"];return this.http.patch(t.join("/"),e)}updatePhoto(i){var c=i,{id:e}=c,t=I(c,["id"]);let u=new FormData;u.append("photo",t.photo),u.append("gender",t.gender??""),u.append("minibio",t.minibio??""),u.append("birthday",t.birthday?.toString()??"");let A=[this.url,e,"photo"];return this.http.post(A.join("/"),u)}updateSocial(e){let t=[this.url,e.id,"social"];return this.http.patch(t.join("/"),e)}updateRoles(e){let t=[this.url,e.id,"roles"];return this.http.patch(t.join("/"),e)}};function X(){return{provide:o,useFactory(r,e){return new j(r,e,"users")},deps:[F,B]}}function Y(){return[Q(),X()]}function se(){return s(h,[p])}function oe(){return s(l,[o])}function ie(){return s(U,[o])}function ae(){return s(x,[o])}function ne(){return s(m,[o])}function pe(){return s(f,[p])}function ue(){return s(v,[p])}function ce(){return s(C,[o])}function de(){return s(g,[o])}function he(){return s(y,[o])}function le(){return s(S,[o])}function Ue(){return s(b,[o])}function xe(){return s(P,[o])}function me(){return s($,[p])}function Z(){return[se(),oe(),ie(),ae(),ne(),pe(),ue(),ce(),le(),de(),he(),Ue(),xe(),me()]}function Mt(){return[...Y(),...Z(),...K()]}var Kt=(r,e)=>(r.loadOneByName(e.name),r.selected$.pipe(d(),n(t=>!!t)));var Yt=(r,e)=>(r.loadOneByName(e.name),r.schema$.pipe(d(),n(t=>!!t)));var er=(r,e)=>(r.loadOne(e.id),r.selected$.pipe(d(),n(t=>!!t)));export{O as a,R as b,Mt as c,Kt as d,Yt as e,er as f}; +import{A as z,a as L,b as B,c as F,d as w,f as s,p as T,t as E,u as W}from"./chunk-7BKB7KKA.js";import{F as n,L as a,O as d,_ as H,a as k,b as q,c as I,t as N}from"./chunk-5L47ZUSK.js";var p=class{};var o=class extends L{};var h=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.createUser(e)}};var l=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.delete(e)}};var U=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.findOne(e)}};var x=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.findOneByName(e)}};var m=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.find(e)}};var f=class{authenticationService;constructor(e){this.authenticationService=e}execute(){return this.authenticationService.load()}};var v=class{authenticationService;constructor(e){this.authenticationService=e}execute({name:e}){return this.authenticationService.sendUserCode(e)}};var C=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updatePassword(e)}};var S=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updatePhoto(e)}};var g=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateProfile(e)}};var P=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateRoles(e)}};var b=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.updateSocial(e)}};var y=class{userService;constructor(e){this.userService=e}execute(e){return this.userService.update(e.id,e)}};var $=class{authenticationService;constructor(e){this.authenticationService=e}execute(e){return this.authenticationService.validateUserCode(e).pipe(H(({accessToken:t})=>(localStorage.setItem("accessToken",t),this.authenticationService.load())))}};var V=T({auth:null,loading:!1,message:null,sended:!1}),O=class extends E{createUserUseCase;sendUserCodeUseCase;validateUserCodeUseCase;loadAuthenticationUseCase;auth$=this.select(e=>e.auth);message$=this.select(e=>e.message);loading$=this.select(e=>e.loading);connected$=this.select(()=>!!this.accessToken);get accessToken(){return localStorage.getItem("accessToken")}constructor(e,t,i,c){super(V),this.createUserUseCase=e,this.sendUserCodeUseCase=t,this.validateUserCodeUseCase=i,this.loadAuthenticationUseCase=c}load(){this.loadAuthenticationUseCase.execute().pipe(a(1)).subscribe(t=>this.setState({auth:t}))}sendUserCode(e){this.setState({loading:!0}),this.sendUserCodeUseCase.execute(e).pipe(a(1)).subscribe(({message:i})=>{this.setState({sended:!0,loading:!1,message:i})})}validateUserCode(e){this.setState({loading:!0}),this.validateUserCodeUseCase.execute(e).pipe(a(1)).subscribe(()=>this.setState({loading:!1}))}createUser(e){return this.setState({loading:!0}),this.createUserUseCase.execute(e).pipe(a(1))}signOut(){this.setState(V),localStorage.removeItem("accessToken")}};function M(){return w(O,[h,v,$,f])}function G(r){return{"@context":"https://schema.org","@type":"Person",name:r.displayName,email:`mailto:${r.contact.email}`,url:`https://devparana.mx/#/sobre/${r.name}`}}var R=class extends z{findUsersUseCase;findUserByIDUseCase;updateProfileUseCase;updateUserUseCase;updatePhotoUseCase;updatePasswordUseCase;updateSocialUseCase;updateRolesUseCase;deleteUserUseCase;findUserByNameUseCase;profile$=this.select(e=>{if(e.selected){let{profile:t,id:i}=e.selected;return q(k({},t),{id:i})}return null});social$=this.selected$.pipe(n(e=>!!e),N(({id:e,social:t})=>({id:e,social:t})));schema$=this.selected$.pipe(n(e=>!!e),N(e=>G(e)));constructor(e,t,i,c,u,A,_,ee,te,re){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.findUsersUseCase=e,this.findUserByIDUseCase=t,this.updateProfileUseCase=i,this.updateUserUseCase=c,this.updatePhotoUseCase=u,this.updatePasswordUseCase=A,this.updateSocialUseCase=_,this.updateRolesUseCase=ee,this.deleteUserUseCase=te,this.findUserByNameUseCase=re}load(){this.onLoad(this.findUsersUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findUserByIDUseCase.execute(e))}loadOneByName(e){this.onLoadOne(this.findUserByNameUseCase.execute(e))}update(e){this.updateUserUseCase.execute(e).pipe(a(1)).subscribe()}updateProfile(e){this.updateProfileUseCase.execute(e).pipe(a(1)).subscribe()}updatePhoto(e){this.updatePhotoUseCase.execute(e).pipe(a(1)).subscribe()}updatePassword(e){this.onUpdate(this.updatePasswordUseCase.execute(e))}updateSocial(e){this.updateSocialUseCase.execute(e).pipe(a(1)).subscribe()}updateRoles(e){this.onUpdate(this.updateRolesUseCase.execute(e))}delete(e){this.onDelete(this.deleteUserUseCase.execute(e))}};function J(){return w(R,[m,U,g,y,S,C,b,P,l,x])}function K(){return[M(),J()]}var D=class{http;env;endpoint;get url(){return`${this.env.api.url}/${this.endpoint}`}constructor(e,t,i){this.http=e,this.env=t,this.endpoint=i}load(){return this.http.get(this.url)}createUser(e){let t=[this.url,"create-user"];return this.http.post(t.join("/"),e)}sendUserCode(e){return this.http.post(this.url,{name:e})}validateUserCode(e){let t=[this.url,"validate"];return this.http.post(t.join("/"),e)}};function Q(){return{provide:p,useFactory(r,e){return new D(r,e,"authentication")},deps:[F,B]}}var j=class extends W{findOneByName(e){let t=[this.url,"about",e];return this.http.get(t.join("/"))}updatePassword(e){let t=[this.url,e.id,"password"];return this.http.patch(t.join("/"),e)}updateProfile(e){let t=[this.url,e.id,"profile"];return this.http.patch(t.join("/"),e)}updatePhoto(i){var c=i,{id:e}=c,t=I(c,["id"]);let u=new FormData;u.append("photo",t.photo),u.append("gender",t.gender??""),u.append("minibio",t.minibio??""),u.append("birthday",t.birthday?.toString()??"");let A=[this.url,e,"photo"];return this.http.post(A.join("/"),u)}updateSocial(e){let t=[this.url,e.id,"social"];return this.http.patch(t.join("/"),e)}updateRoles(e){let t=[this.url,e.id,"roles"];return this.http.patch(t.join("/"),e)}};function X(){return{provide:o,useFactory(r,e){return new j(r,e,"users")},deps:[F,B]}}function Y(){return[Q(),X()]}function se(){return s(h,[p])}function oe(){return s(l,[o])}function ie(){return s(U,[o])}function ae(){return s(x,[o])}function ne(){return s(m,[o])}function pe(){return s(f,[p])}function ue(){return s(v,[p])}function ce(){return s(C,[o])}function de(){return s(g,[o])}function he(){return s(y,[o])}function le(){return s(S,[o])}function Ue(){return s(b,[o])}function xe(){return s(P,[o])}function me(){return s($,[p])}function Z(){return[se(),oe(),ie(),ae(),ne(),pe(),ue(),ce(),le(),de(),he(),Ue(),xe(),me()]}function Mt(){return[...Y(),...Z(),...K()]}var Kt=(r,e)=>(r.loadOneByName(e.name),r.selected$.pipe(d(),n(t=>!!t)));var Yt=(r,e)=>(r.loadOneByName(e.name),r.schema$.pipe(d(),n(t=>!!t)));var er=(r,e)=>(r.loadOne(e.id),r.selected$.pipe(d(),n(t=>!!t)));export{O as a,R as b,Mt as c,Kt as d,Yt as e,er as f}; diff --git a/chunk-56M6HFOE.js b/chunk-5XJFAPMG.js similarity index 66% rename from chunk-56M6HFOE.js rename to chunk-5XJFAPMG.js index 9593d8a5..41b8a1f8 100644 --- a/chunk-56M6HFOE.js +++ b/chunk-5XJFAPMG.js @@ -1 +1 @@ -import{d as D,e as S}from"./chunk-VVQ6JEVH.js";import{b as d,e as f,i as h,j as C}from"./chunk-AND6K73U.js";import{a as y}from"./chunk-A3N3AUUJ.js";import{a as g,c as M,h as b,l as v,o as F,x}from"./chunk-EDIJ2EBQ.js";import{Ha as r,Ia as a,J as i,Tb as l,bc as s,cc as n,dc as p,lb as m,ub as c,xc as u}from"./chunk-TEKHUYWQ.js";var V=(()=>{class e{control=new v("",{nonNullable:!0});debounce=a(200);searchChange=r();constructor(){this.control.valueChanges.pipe(y(),i(this.debounce())).subscribe(o=>this.searchChange.emit(o??""))}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=c({type:e,selectors:[["devmx-search-field"]],inputs:{debounce:[1,"debounce"]},outputs:{searchChange:"searchChange"},decls:5,vars:1,consts:[[1,"search-field"],["matInput","",3,"formControl"],["matIconSuffix","","name","zoom-search"]],template:function(t,I){t&1&&(s(0,"mat-form-field",0)(1,"mat-label"),u(2,"Busca"),n(),p(3,"input",1)(4,"devmx-icon",2),n()),t&2&&(m(3),l("formControl",I.control))},dependencies:[x,M,b,F,C,h,d,f,S,D,g],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"],changeDetection:0})}return e})();export{V as a}; +import{d as D,e as S}from"./chunk-A74J7Y3C.js";import{b as d,e as f,i as h,j as C}from"./chunk-TJJFEYFG.js";import{a as y}from"./chunk-366DNJGU.js";import{a as g,c as M,h as b,l as v,o as F,x}from"./chunk-E5QACR6S.js";import{Ha as r,Ia as a,J as i,Tb as l,bc as s,cc as n,dc as p,lb as m,ub as c,xc as u}from"./chunk-5L47ZUSK.js";var V=(()=>{class e{control=new v("",{nonNullable:!0});debounce=a(200);searchChange=r();constructor(){this.control.valueChanges.pipe(y(),i(this.debounce())).subscribe(o=>this.searchChange.emit(o??""))}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=c({type:e,selectors:[["devmx-search-field"]],inputs:{debounce:[1,"debounce"]},outputs:{searchChange:"searchChange"},decls:5,vars:1,consts:[[1,"search-field"],["matInput","",3,"formControl"],["matIconSuffix","","name","zoom-search"]],template:function(t,I){t&1&&(s(0,"mat-form-field",0)(1,"mat-label"),u(2,"Busca"),n(),p(3,"input",1)(4,"devmx-icon",2),n()),t&2&&(m(3),l("formControl",I.control))},dependencies:[x,M,b,F,C,h,d,f,S,D,g],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"],changeDetection:0})}return e})();export{V as a}; diff --git a/chunk-YFMYPYPE.js b/chunk-5ZT2NHQS.js similarity index 98% rename from chunk-YFMYPYPE.js rename to chunk-5ZT2NHQS.js index 6197d9d7..84c08f45 100644 --- a/chunk-YFMYPYPE.js +++ b/chunk-5ZT2NHQS.js @@ -1 +1 @@ -import{a as Gt}from"./chunk-AND6K73U.js";import{b as qt,e as Kt,f as J}from"./chunk-BJXILAOS.js";import{A as Zt,z as Yt}from"./chunk-6BGAZ7SQ.js";import{c as Vt,d as Z,g as E,h as U,j as X}from"./chunk-I7VYXJU2.js";import{J as zt,R as Wt,T as jt,U as dt,Y as lt,ca as $t,f as st,ga as ct,i as Ht,q as Nt,s as Ot,z as Qt}from"./chunk-W5KNOAKV.js";import{$ as C,$b as nt,A as N,B as vt,D as O,Ea as _,Eb as Lt,F as yt,Fa as Dt,Fc as H,Hc as At,Ic as Ft,J as kt,Ja as M,Ka as Pt,Kb as F,Mb as I,Nb as R,Pa as et,Sb as L,Sc as K,Tb as v,Ub as Bt,Va as Mt,Vb as f,Vc as p,Wb as j,Wc as Y,Y as Tt,Yb as at,Z as Q,_ as Ct,_b as it,ac as rt,bc as h,cc as y,dc as G,e as D,fa as wt,g as ut,ha as P,hc as B,j as S,ka as o,kc as k,lb as u,mc as T,n as ft,nc as $,ob as W,oc as q,p as gt,pc as V,qc as g,rc as b,sa as xt,sc as m,ta as l,ua as c,ub as A,vb as Rt,wb as x,wc as ot,xa as z,xc as Et,yc as St,za as It}from"./chunk-TEKHUYWQ.js";var pt=["*"];function re(i,d){i&1&&q(0)}var oe=["tabListContainer"],se=["tabList"],de=["tabListInner"],le=["nextPaginator"],ce=["previousPaginator"],be=i=>({animationDuration:i}),me=(i,d)=>({value:i,params:d});function he(i,d){}var pe=["tabBodyWrapper"],_e=["tabHeader"];function ue(i,d){}function fe(i,d){if(i&1&&R(0,ue,0,0,"ng-template",12),i&2){let t=T().$implicit;v("cdkPortalOutlet",t.templateLabel)}}function ge(i,d){if(i&1&&Et(0),i&2){let t=T().$implicit;St(t.textLabel)}}function ve(i,d){if(i&1){let t=B();h(0,"div",7,2),k("click",function(){let a=l(t),n=a.$implicit,r=a.$index,s=T(),w=ot(1);return c(s._handleClick(n,w,r))})("cdkFocusChange",function(a){let n=l(t).$index,r=T();return c(r._tabFocusChanged(a,n))}),G(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),R(6,fe,1,1,null,12)(7,ge,1,1),y()()()}if(i&2){let t=d.$implicit,e=d.$index,a=ot(1),n=T();j(t.labelClass),f("mdc-tab--active",n.selectedIndex===e),v("id",n._getTabLabelId(e))("disabled",t.disabled)("fitInkBarToContent",n.fitInkBarToContent),L("tabIndex",n._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(e))("aria-selected",n.selectedIndex===e)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),u(3),v("matRippleTrigger",a)("matRippleDisabled",t.disabled||n.disableRipple),u(3),at(t.templateLabel?6:7)}}function ye(i,d){i&1&&q(0)}function ke(i,d){if(i&1){let t=B();h(0,"mat-tab-body",13),k("_onCentered",function(){l(t);let a=T();return c(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){l(t);let n=T();return c(n._setTabBodyWrapperHeight(a))}),y()}if(i&2){let t=d.$implicit,e=d.$index,a=T();j(t.bodyClass),f("mat-mdc-tab-body-active",a.selectedIndex===e),v("id",a._getTabContentId(e))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),L("tabindex",a.contentTabIndex!=null&&a.selectedIndex===e?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(e))("aria-hidden",a.selectedIndex!==e)}}var Te=new P("MatTabContent"),Ce=(()=>{class i{template=o(W);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,selectors:[["","matTabContent",""]],features:[H([{provide:Te,useExisting:i}])]})}return i})(),we=new P("MatTabLabel"),Jt=new P("MAT_TAB"),xe=(()=>{class i extends Kt{_closestTab=o(Jt,{optional:!0});static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275dir=x({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[H([{provide:we,useExisting:i}]),F]})}return i})(),te=new P("MAT_TAB_GROUP"),Ie=(()=>{class i{_viewContainerRef=o(Lt);_closestTabGroup=o(te,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new S;position=null;origin=null;isActive=!1;constructor(){o(Nt).load($t)}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new qt(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab"]],contentQueries:function(e,a,n){if(e&1&&(V(n,xe,5),V(n,Ce,7,W)),e&2){let r;b(r=m())&&(a.templateLabel=r.first),b(r=m())&&(a._explicitContent=r.first)}},viewQuery:function(e,a){if(e&1&&g(W,7),e&2){let n;b(n=m())&&(a._implicitContent=n.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",p],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[H([{provide:Jt,useExisting:i}]),I,xt],ngContentSelectors:pt,decls:1,vars:0,template:function(e,a){e&1&&($(),R(0,re,1,0,"ng-template"))},encapsulation:2})}return i})(),bt="mdc-tab-indicator--active",Ut="mdc-tab-indicator--no-transition",mt=class{_items;_currentItem;constructor(d){this._items=d}hide(){this._items.forEach(d=>d.deactivateInkBar())}alignToElement(d){let t=this._items.find(a=>a.elementRef.nativeElement===d),e=this._currentItem;if(t!==e&&(e?.deactivateInkBar(),t)){let a=e?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(a),this._currentItem=t}}},De=(()=>{class i{_elementRef=o(M);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let e=this._elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement){e.classList.add(bt);return}let a=e.getBoundingClientRect(),n=t.width/a.width,r=t.left-a.left;e.classList.add(Ut),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${n})`),e.getBoundingClientRect(),e.classList.remove(Ut),e.classList.add(bt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(bt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,e=this._inkBarElement=t.createElement("span"),a=this._inkBarContentElement=t.createElement("span");e.className="mdc-tab-indicator",a.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",e.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",p]},features:[I]})}return i})();var ee=(()=>{class i extends De{elementRef=o(M);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275dir=x({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,a){e&2&&(L("aria-disabled",!!a.disabled),f("mat-mdc-tab-disabled",a.disabled))},inputs:{disabled:[2,"disabled","disabled",p]},features:[I,F]})}return i})(),Xt=Ht({passive:!0}),Pe=650,Me=100,Re=(()=>{class i{_elementRef=o(M);_changeDetectorRef=o(K);_viewportRuler=o(Zt);_dir=o(dt,{optional:!0});_ngZone=o(Dt);_platform=o(st);_animationMode=o(et,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new S;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new S;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let e=isNaN(t)?0:t;this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}_selectedIndex=0;selectFocusedIndex=new _;indexFocused=new _;_sharedResizeObserver=o(Gt);_injector=o(It);constructor(){this._ngZone.runOutsideAngular(()=>{N(this._elementRef.nativeElement,"mouseleave").pipe(C(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){N(this._previousPaginator.nativeElement,"touchstart",Xt).pipe(C(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),N(this._nextPaginator.nativeElement,"touchstart",Xt).pipe(C(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let t=this._dir?this._dir.change:gt("ltr"),e=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(kt(32),C(this._destroyed)),a=this._viewportRuler.change(150).pipe(C(this._destroyed)),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new zt(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Mt(n,{injector:this._injector}),O(t,a,e,this._items.changes,this._itemsResized()).pipe(C(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),n()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return typeof ResizeObserver!="function"?ft:this._items.changes.pipe(Q(this._items),Ct(t=>new ut(e=>this._ngZone.runOutsideAngular(()=>{let a=new ResizeObserver(n=>e.next(n));return t.forEach(n=>a.observe(n.elementRef.nativeElement)),()=>{a.disconnect()}}))),Tt(1),yt(t=>t.some(e=>e.contentRect.width>0&&e.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Ot(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let e=this._items.get(this.focusIndex);e&&!e.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let e=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?e.scrollLeft=0:e.scrollLeft=e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,e=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let e=this._tabListContainer.nativeElement.offsetWidth,a=(t=="before"?-1:1)*e/3;return this._scrollTo(this._scrollDistance+a)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let e=this._items?this._items.toArray()[t]:null;if(!e)return;let a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:r}=e.elementRef.nativeElement,s,w;this._getLayoutDirection()=="ltr"?(s=n,w=s+r):(w=this._tabListInner.nativeElement.offsetWidth-n,s=w-r);let tt=this.scrollDistance,_t=this.scrollDistance+a;s_t&&(this.scrollDistance+=Math.min(w-_t,s-tt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth,e=this._elementRef.nativeElement.offsetWidth,a=t-e>=5;a||(this.scrollDistance=0),a!==this._showPaginationControls&&(this._showPaginationControls=a,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,e=this._tabListContainer.nativeElement.offsetWidth;return t-e||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&e.button!=null&&e.button!==0||(this._stopInterval(),vt(Pe,Me).pipe(C(O(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:a,distance:n}=this._scrollHeader(t);(n===0||n>=a)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",p],selectedIndex:[2,"selectedIndex","selectedIndex",Y]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[I]})}return i})(),Le=(()=>{class i extends Re{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new mt(this._items),super.ngAfterContentInit()}_itemSelected(t){t.preventDefault()}static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275cmp=A({type:i,selectors:[["mat-tab-header"]],contentQueries:function(e,a,n){if(e&1&&V(n,ee,4),e&2){let r;b(r=m())&&(a._items=r)}},viewQuery:function(e,a){if(e&1&&(g(oe,7),g(se,7),g(de,7),g(le,5),g(ce,5)),e&2){let n;b(n=m())&&(a._tabListContainer=n.first),b(n=m())&&(a._tabList=n.first),b(n=m())&&(a._tabListInner=n.first),b(n=m())&&(a._nextPaginator=n.first),b(n=m())&&(a._previousPaginator=n.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,a){e&2&&f("mat-mdc-tab-header-pagination-controls-enabled",a._showPaginationControls)("mat-mdc-tab-header-rtl",a._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",p]},features:[I,F],ngContentSelectors:pt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(e,a){if(e&1){let n=B();$(),h(0,"div",5,0),k("click",function(){return l(n),c(a._handlePaginatorClick("before"))})("mousedown",function(s){return l(n),c(a._handlePaginatorPress("before",s))})("touchend",function(){return l(n),c(a._stopInterval())}),G(2,"div",6),y(),h(3,"div",7,1),k("keydown",function(s){return l(n),c(a._handleKeydown(s))}),h(5,"div",8,2),k("cdkObserveContent",function(){return l(n),c(a._onContentChanges())}),h(7,"div",9,3),q(9),y()()(),h(10,"div",10,4),k("mousedown",function(s){return l(n),c(a._handlePaginatorPress("after",s))})("click",function(){return l(n),c(a._handlePaginatorClick("after"))})("touchend",function(){return l(n),c(a._stopInterval())}),G(12,"div",6),y()}e&2&&(f("mat-mdc-tab-header-pagination-disabled",a._disableScrollBefore),v("matRippleDisabled",a._disableScrollBefore||a.disableRipple),u(3),f("_mat-animation-noopable",a._animationMode==="NoopAnimations"),u(2),L("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null),u(5),f("mat-mdc-tab-header-pagination-disabled",a._disableScrollAfter),v("matRippleDisabled",a._disableScrollAfter||a.disableRipple))},dependencies:[ct,Qt],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return i})(),Be=new P("MAT_TABS_CONFIG"),Ee={translateTab:Vt("translateTab",[U("center, void, left-origin-center, right-origin-center",E({transform:"none",visibility:"visible"})),U("left",E({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),U("right",E({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),X("* => left, * => right, left => center, right => center",Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),X("void => left-origin-center",[E({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),X("void => right-origin-center",[E({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Se=(()=>{class i extends J{_host=o(ae);_centeringSub=D.EMPTY;_leavingSub=D.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Q(this._host._isCenterPosition(this._host._position))).subscribe(t=>{this._host._content&&t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,selectors:[["","matTabBodyHost",""]],features:[F]})}return i})(),ae=(()=>{class i{_elementRef=o(M);_dir=o(dt,{optional:!0});_positionIndex;_dirChangeSubscription=D.EMPTY;_position;_translateTabComplete=new S;_onCentering=new _;_beforeCentering=new _;_afterLeavingCenter=new _;_onCentered=new _(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(){if(this._dir){let t=o(K);this._dirChangeSubscription=this._dir.change.subscribe(e=>{this._computePositionAnimationState(e),t.markForCheck()})}this._translateTabComplete.subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){let e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(t){return t=="center"||t=="left-origin-center"||t=="right-origin-center"}_computePositionAnimationState(t=this._getLayoutDirection()){this._positionIndex<0?this._position=t=="ltr"?"left":"right":this._positionIndex>0?this._position=t=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(t){let e=this._getLayoutDirection();return e=="ltr"&&t<=0||e=="rtl"&&t>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab-body"]],viewQuery:function(e,a){if(e&1&&g(J,5),e&2){let n;b(n=m())&&(a._portalHost=n.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(e,a){if(e&1){let n=B();h(0,"div",1,0),k("@translateTab.start",function(s){return l(n),c(a._onTranslateTabStarted(s))})("@translateTab.done",function(s){return l(n),c(a._translateTabComplete.next(s))}),R(2,he,0,0,"ng-template",2),y()}e&2&&v("@translateTab",Ft(3,me,a._position,At(1,be,a.animationDuration)))},dependencies:[Se,Yt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Ee.translateTab]}})}return i})(),Ae=!0,ma=(()=>{class i{_elementRef=o(M);_changeDetectorRef=o(K);_animationMode=o(et,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new Pt;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=D.EMPTY;_tabLabelSubscription=D.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=t,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=isNaN(t)?null:t}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(t){let e=t+"";this._animationDuration=/^\d+$/.test(e)?t+"ms":e}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=isNaN(t)?null:t}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(t){if(!Ae)throw new Error("mat-tab-group background color must be set through the Sass theming API");let e=this._elementRef.nativeElement.classList;e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&e.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new _;focusChange=new _;animationDone=new _;selectedTabChange=new _(!0);_groupId;_isServer=!o(st).isBrowser;constructor(){let t=o(Be,{optional:!0});this._groupId=o(jt).getId("mat-tab-group-"),this.animationDuration=t&&t.animationDuration?t.animationDuration:"500ms",this.disablePagination=t&&t.disablePagination!=null?t.disablePagination:!1,this.dynamicHeight=t&&t.dynamicHeight!=null?t.dynamicHeight:!1,t?.contentTabIndex!=null&&(this.contentTabIndex=t.contentTabIndex),this.preserveContent=!!t?.preserveContent,this.fitInkBarToContent=t&&t.fitInkBarToContent!=null?t.fitInkBarToContent:!1,this.stretchTabs=t&&t.stretchTabs!=null?t.stretchTabs:!0,this.alignTabs=t&&t.alignTabs!=null?t.alignTabs:null}ngAfterContentChecked(){let t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){let e=this._selectedIndex==null;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));let a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,n)=>a.isActive=n===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,a)=>{e.position=a-t,this._selectedIndex!=null&&e.position==0&&!e.origin&&(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){let e=this._tabs.toArray(),a;for(let n=0;n{e[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Q(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(e=>e._closestTabGroup===this||!e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){let e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){let e=new ht;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=O(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`${this._groupId}-label-${t}`}_getTabContentId(t){return`${this._groupId}-content-${t}`}_setTabBodyWrapperHeight(t){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){let t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,a){e.focusIndex=a,t.disabled||(this.selectedIndex=a)}_getTabIndex(t){let e=this._lastFocusedTabIndex??this.selectedIndex;return t===e?0:-1}_tabFocusChanged(t,e){t&&t!=="mouse"&&t!=="touch"&&(this._tabHeader.focusIndex=e)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab-group"]],contentQueries:function(e,a,n){if(e&1&&V(n,Ie,5),e&2){let r;b(r=m())&&(a._allTabs=r)}},viewQuery:function(e,a){if(e&1&&(g(pe,5),g(_e,5)),e&2){let n;b(n=m())&&(a._tabBodyWrapper=n.first),b(n=m())&&(a._tabHeader=n.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(e,a){e&2&&(L("mat-align-tabs",a.alignTabs),j("mat-"+(a.color||"primary")),Bt("--mat-tab-animation-duration",a.animationDuration),f("mat-mdc-tab-group-dynamic-height",a.dynamicHeight)("mat-mdc-tab-group-inverted-header",a.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",a.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",p],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",p],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",p],selectedIndex:[2,"selectedIndex","selectedIndex",Y],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Y],disablePagination:[2,"disablePagination","disablePagination",p],disableRipple:[2,"disableRipple","disableRipple",p],preserveContent:[2,"preserveContent","preserveContent",p],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[H([{provide:te,useExisting:i}]),I],ngContentSelectors:pt,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(e,a){if(e&1){let n=B();$(),h(0,"mat-tab-header",3,0),k("indexFocused",function(s){return l(n),c(a._focusChanged(s))})("selectFocusedIndex",function(s){return l(n),c(a.selectedIndex=s)}),nt(2,ve,8,17,"div",4,it),y(),R(4,ye,1,0),h(5,"div",5,1),nt(7,ke,1,13,"mat-tab-body",6,it),y()}e&2&&(v("selectedIndex",a.selectedIndex||0)("disableRipple",a.disableRipple)("disablePagination",a.disablePagination)("aria-label",a.ariaLabel)("aria-labelledby",a.ariaLabelledby),u(2),rt(a._tabs),u(2),at(a._isServer?4:-1),u(),f("_mat-animation-noopable",a._animationMode==="NoopAnimations"),u(2),rt(a._tabs))},dependencies:[Le,ee,Wt,ct,J,ae],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return i})(),ht=class{index;tab};var ha=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=Rt({type:i});static \u0275inj=wt({imports:[lt,lt]})}return i})();export{Ce as a,Ie as b,ma as c,ha as d}; +import{a as Gt}from"./chunk-TJJFEYFG.js";import{b as qt,e as Kt,f as J}from"./chunk-76QZXEBP.js";import{A as Zt,z as Yt}from"./chunk-7RMPQIRR.js";import{c as Vt,d as Z,g as E,h as U,j as X}from"./chunk-I7VYXJU2.js";import{B as Qt,L as zt,T as Wt,V as jt,W as dt,_ as lt,ea as $t,h as st,ia as ct,k as Ht,s as Nt,u as Ot}from"./chunk-CG5OOKZO.js";import{$ as C,$b as nt,A as N,B as vt,D as O,Ea as _,Eb as Lt,F as yt,Fa as Dt,Fc as H,Hc as At,Ic as Ft,J as kt,Ja as M,Ka as Pt,Kb as F,Mb as I,Nb as R,Pa as et,Sb as L,Sc as K,Tb as v,Ub as Bt,Va as Mt,Vb as f,Vc as p,Wb as j,Wc as Y,Y as Tt,Yb as at,Z as Q,_ as Ct,_b as it,ac as rt,bc as h,cc as y,dc as G,e as D,fa as wt,g as ut,ha as P,hc as B,j as S,ka as o,kc as k,lb as u,mc as T,n as ft,nc as $,ob as W,oc as q,p as gt,pc as V,qc as g,rc as b,sa as xt,sc as m,ta as l,ua as c,ub as A,vb as Rt,wb as x,wc as ot,xa as z,xc as Et,yc as St,za as It}from"./chunk-5L47ZUSK.js";var pt=["*"];function re(i,d){i&1&&q(0)}var oe=["tabListContainer"],se=["tabList"],de=["tabListInner"],le=["nextPaginator"],ce=["previousPaginator"],be=i=>({animationDuration:i}),me=(i,d)=>({value:i,params:d});function he(i,d){}var pe=["tabBodyWrapper"],_e=["tabHeader"];function ue(i,d){}function fe(i,d){if(i&1&&R(0,ue,0,0,"ng-template",12),i&2){let t=T().$implicit;v("cdkPortalOutlet",t.templateLabel)}}function ge(i,d){if(i&1&&Et(0),i&2){let t=T().$implicit;St(t.textLabel)}}function ve(i,d){if(i&1){let t=B();h(0,"div",7,2),k("click",function(){let a=l(t),n=a.$implicit,r=a.$index,s=T(),w=ot(1);return c(s._handleClick(n,w,r))})("cdkFocusChange",function(a){let n=l(t).$index,r=T();return c(r._tabFocusChanged(a,n))}),G(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),R(6,fe,1,1,null,12)(7,ge,1,1),y()()()}if(i&2){let t=d.$implicit,e=d.$index,a=ot(1),n=T();j(t.labelClass),f("mdc-tab--active",n.selectedIndex===e),v("id",n._getTabLabelId(e))("disabled",t.disabled)("fitInkBarToContent",n.fitInkBarToContent),L("tabIndex",n._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(e))("aria-selected",n.selectedIndex===e)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),u(3),v("matRippleTrigger",a)("matRippleDisabled",t.disabled||n.disableRipple),u(3),at(t.templateLabel?6:7)}}function ye(i,d){i&1&&q(0)}function ke(i,d){if(i&1){let t=B();h(0,"mat-tab-body",13),k("_onCentered",function(){l(t);let a=T();return c(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){l(t);let n=T();return c(n._setTabBodyWrapperHeight(a))}),y()}if(i&2){let t=d.$implicit,e=d.$index,a=T();j(t.bodyClass),f("mat-mdc-tab-body-active",a.selectedIndex===e),v("id",a._getTabContentId(e))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),L("tabindex",a.contentTabIndex!=null&&a.selectedIndex===e?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(e))("aria-hidden",a.selectedIndex!==e)}}var Te=new P("MatTabContent"),Ce=(()=>{class i{template=o(W);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,selectors:[["","matTabContent",""]],features:[H([{provide:Te,useExisting:i}])]})}return i})(),we=new P("MatTabLabel"),Jt=new P("MAT_TAB"),xe=(()=>{class i extends Kt{_closestTab=o(Jt,{optional:!0});static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275dir=x({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[H([{provide:we,useExisting:i}]),F]})}return i})(),te=new P("MAT_TAB_GROUP"),Ie=(()=>{class i{_viewContainerRef=o(Lt);_closestTabGroup=o(te,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new S;position=null;origin=null;isActive=!1;constructor(){o(Nt).load($t)}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new qt(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab"]],contentQueries:function(e,a,n){if(e&1&&(V(n,xe,5),V(n,Ce,7,W)),e&2){let r;b(r=m())&&(a.templateLabel=r.first),b(r=m())&&(a._explicitContent=r.first)}},viewQuery:function(e,a){if(e&1&&g(W,7),e&2){let n;b(n=m())&&(a._implicitContent=n.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",p],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[H([{provide:Jt,useExisting:i}]),I,xt],ngContentSelectors:pt,decls:1,vars:0,template:function(e,a){e&1&&($(),R(0,re,1,0,"ng-template"))},encapsulation:2})}return i})(),bt="mdc-tab-indicator--active",Ut="mdc-tab-indicator--no-transition",mt=class{_items;_currentItem;constructor(d){this._items=d}hide(){this._items.forEach(d=>d.deactivateInkBar())}alignToElement(d){let t=this._items.find(a=>a.elementRef.nativeElement===d),e=this._currentItem;if(t!==e&&(e?.deactivateInkBar(),t)){let a=e?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(a),this._currentItem=t}}},De=(()=>{class i{_elementRef=o(M);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let e=this._elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement){e.classList.add(bt);return}let a=e.getBoundingClientRect(),n=t.width/a.width,r=t.left-a.left;e.classList.add(Ut),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${n})`),e.getBoundingClientRect(),e.classList.remove(Ut),e.classList.add(bt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(bt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,e=this._inkBarElement=t.createElement("span"),a=this._inkBarContentElement=t.createElement("span");e.className="mdc-tab-indicator",a.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",e.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",p]},features:[I]})}return i})();var ee=(()=>{class i extends De{elementRef=o(M);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275dir=x({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,a){e&2&&(L("aria-disabled",!!a.disabled),f("mat-mdc-tab-disabled",a.disabled))},inputs:{disabled:[2,"disabled","disabled",p]},features:[I,F]})}return i})(),Xt=Ht({passive:!0}),Pe=650,Me=100,Re=(()=>{class i{_elementRef=o(M);_changeDetectorRef=o(K);_viewportRuler=o(Zt);_dir=o(dt,{optional:!0});_ngZone=o(Dt);_platform=o(st);_animationMode=o(et,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new S;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new S;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let e=isNaN(t)?0:t;this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}_selectedIndex=0;selectFocusedIndex=new _;indexFocused=new _;_sharedResizeObserver=o(Gt);_injector=o(It);constructor(){this._ngZone.runOutsideAngular(()=>{N(this._elementRef.nativeElement,"mouseleave").pipe(C(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){N(this._previousPaginator.nativeElement,"touchstart",Xt).pipe(C(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),N(this._nextPaginator.nativeElement,"touchstart",Xt).pipe(C(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let t=this._dir?this._dir.change:gt("ltr"),e=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(kt(32),C(this._destroyed)),a=this._viewportRuler.change(150).pipe(C(this._destroyed)),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new zt(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Mt(n,{injector:this._injector}),O(t,a,e,this._items.changes,this._itemsResized()).pipe(C(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),n()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return typeof ResizeObserver!="function"?ft:this._items.changes.pipe(Q(this._items),Ct(t=>new ut(e=>this._ngZone.runOutsideAngular(()=>{let a=new ResizeObserver(n=>e.next(n));return t.forEach(n=>a.observe(n.elementRef.nativeElement)),()=>{a.disconnect()}}))),Tt(1),yt(t=>t.some(e=>e.contentRect.width>0&&e.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Ot(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let e=this._items.get(this.focusIndex);e&&!e.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let e=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?e.scrollLeft=0:e.scrollLeft=e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,e=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let e=this._tabListContainer.nativeElement.offsetWidth,a=(t=="before"?-1:1)*e/3;return this._scrollTo(this._scrollDistance+a)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let e=this._items?this._items.toArray()[t]:null;if(!e)return;let a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:r}=e.elementRef.nativeElement,s,w;this._getLayoutDirection()=="ltr"?(s=n,w=s+r):(w=this._tabListInner.nativeElement.offsetWidth-n,s=w-r);let tt=this.scrollDistance,_t=this.scrollDistance+a;s_t&&(this.scrollDistance+=Math.min(w-_t,s-tt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth,e=this._elementRef.nativeElement.offsetWidth,a=t-e>=5;a||(this.scrollDistance=0),a!==this._showPaginationControls&&(this._showPaginationControls=a,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,e=this._tabListContainer.nativeElement.offsetWidth;return t-e||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&e.button!=null&&e.button!==0||(this._stopInterval(),vt(Pe,Me).pipe(C(O(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:a,distance:n}=this._scrollHeader(t);(n===0||n>=a)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",p],selectedIndex:[2,"selectedIndex","selectedIndex",Y]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[I]})}return i})(),Le=(()=>{class i extends Re{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new mt(this._items),super.ngAfterContentInit()}_itemSelected(t){t.preventDefault()}static \u0275fac=(()=>{let t;return function(a){return(t||(t=z(i)))(a||i)}})();static \u0275cmp=A({type:i,selectors:[["mat-tab-header"]],contentQueries:function(e,a,n){if(e&1&&V(n,ee,4),e&2){let r;b(r=m())&&(a._items=r)}},viewQuery:function(e,a){if(e&1&&(g(oe,7),g(se,7),g(de,7),g(le,5),g(ce,5)),e&2){let n;b(n=m())&&(a._tabListContainer=n.first),b(n=m())&&(a._tabList=n.first),b(n=m())&&(a._tabListInner=n.first),b(n=m())&&(a._nextPaginator=n.first),b(n=m())&&(a._previousPaginator=n.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,a){e&2&&f("mat-mdc-tab-header-pagination-controls-enabled",a._showPaginationControls)("mat-mdc-tab-header-rtl",a._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",p]},features:[I,F],ngContentSelectors:pt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(e,a){if(e&1){let n=B();$(),h(0,"div",5,0),k("click",function(){return l(n),c(a._handlePaginatorClick("before"))})("mousedown",function(s){return l(n),c(a._handlePaginatorPress("before",s))})("touchend",function(){return l(n),c(a._stopInterval())}),G(2,"div",6),y(),h(3,"div",7,1),k("keydown",function(s){return l(n),c(a._handleKeydown(s))}),h(5,"div",8,2),k("cdkObserveContent",function(){return l(n),c(a._onContentChanges())}),h(7,"div",9,3),q(9),y()()(),h(10,"div",10,4),k("mousedown",function(s){return l(n),c(a._handlePaginatorPress("after",s))})("click",function(){return l(n),c(a._handlePaginatorClick("after"))})("touchend",function(){return l(n),c(a._stopInterval())}),G(12,"div",6),y()}e&2&&(f("mat-mdc-tab-header-pagination-disabled",a._disableScrollBefore),v("matRippleDisabled",a._disableScrollBefore||a.disableRipple),u(3),f("_mat-animation-noopable",a._animationMode==="NoopAnimations"),u(2),L("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null),u(5),f("mat-mdc-tab-header-pagination-disabled",a._disableScrollAfter),v("matRippleDisabled",a._disableScrollAfter||a.disableRipple))},dependencies:[ct,Qt],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return i})(),Be=new P("MAT_TABS_CONFIG"),Ee={translateTab:Vt("translateTab",[U("center, void, left-origin-center, right-origin-center",E({transform:"none",visibility:"visible"})),U("left",E({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),U("right",E({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),X("* => left, * => right, left => center, right => center",Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),X("void => left-origin-center",[E({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),X("void => right-origin-center",[E({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Z("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Se=(()=>{class i extends J{_host=o(ae);_centeringSub=D.EMPTY;_leavingSub=D.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Q(this._host._isCenterPosition(this._host._position))).subscribe(t=>{this._host._content&&t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(e){return new(e||i)};static \u0275dir=x({type:i,selectors:[["","matTabBodyHost",""]],features:[F]})}return i})(),ae=(()=>{class i{_elementRef=o(M);_dir=o(dt,{optional:!0});_positionIndex;_dirChangeSubscription=D.EMPTY;_position;_translateTabComplete=new S;_onCentering=new _;_beforeCentering=new _;_afterLeavingCenter=new _;_onCentered=new _(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(){if(this._dir){let t=o(K);this._dirChangeSubscription=this._dir.change.subscribe(e=>{this._computePositionAnimationState(e),t.markForCheck()})}this._translateTabComplete.subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){let e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(t){return t=="center"||t=="left-origin-center"||t=="right-origin-center"}_computePositionAnimationState(t=this._getLayoutDirection()){this._positionIndex<0?this._position=t=="ltr"?"left":"right":this._positionIndex>0?this._position=t=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(t){let e=this._getLayoutDirection();return e=="ltr"&&t<=0||e=="rtl"&&t>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab-body"]],viewQuery:function(e,a){if(e&1&&g(J,5),e&2){let n;b(n=m())&&(a._portalHost=n.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(e,a){if(e&1){let n=B();h(0,"div",1,0),k("@translateTab.start",function(s){return l(n),c(a._onTranslateTabStarted(s))})("@translateTab.done",function(s){return l(n),c(a._translateTabComplete.next(s))}),R(2,he,0,0,"ng-template",2),y()}e&2&&v("@translateTab",Ft(3,me,a._position,At(1,be,a.animationDuration)))},dependencies:[Se,Yt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Ee.translateTab]}})}return i})(),Ae=!0,ma=(()=>{class i{_elementRef=o(M);_changeDetectorRef=o(K);_animationMode=o(et,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new Pt;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=D.EMPTY;_tabLabelSubscription=D.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=t,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=isNaN(t)?null:t}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(t){let e=t+"";this._animationDuration=/^\d+$/.test(e)?t+"ms":e}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=isNaN(t)?null:t}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(t){if(!Ae)throw new Error("mat-tab-group background color must be set through the Sass theming API");let e=this._elementRef.nativeElement.classList;e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&e.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new _;focusChange=new _;animationDone=new _;selectedTabChange=new _(!0);_groupId;_isServer=!o(st).isBrowser;constructor(){let t=o(Be,{optional:!0});this._groupId=o(jt).getId("mat-tab-group-"),this.animationDuration=t&&t.animationDuration?t.animationDuration:"500ms",this.disablePagination=t&&t.disablePagination!=null?t.disablePagination:!1,this.dynamicHeight=t&&t.dynamicHeight!=null?t.dynamicHeight:!1,t?.contentTabIndex!=null&&(this.contentTabIndex=t.contentTabIndex),this.preserveContent=!!t?.preserveContent,this.fitInkBarToContent=t&&t.fitInkBarToContent!=null?t.fitInkBarToContent:!1,this.stretchTabs=t&&t.stretchTabs!=null?t.stretchTabs:!0,this.alignTabs=t&&t.alignTabs!=null?t.alignTabs:null}ngAfterContentChecked(){let t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){let e=this._selectedIndex==null;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));let a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,n)=>a.isActive=n===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,a)=>{e.position=a-t,this._selectedIndex!=null&&e.position==0&&!e.origin&&(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){let e=this._tabs.toArray(),a;for(let n=0;n{e[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Q(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(e=>e._closestTabGroup===this||!e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){let e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){let e=new ht;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=O(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`${this._groupId}-label-${t}`}_getTabContentId(t){return`${this._groupId}-content-${t}`}_setTabBodyWrapperHeight(t){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){let t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,a){e.focusIndex=a,t.disabled||(this.selectedIndex=a)}_getTabIndex(t){let e=this._lastFocusedTabIndex??this.selectedIndex;return t===e?0:-1}_tabFocusChanged(t,e){t&&t!=="mouse"&&t!=="touch"&&(this._tabHeader.focusIndex=e)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["mat-tab-group"]],contentQueries:function(e,a,n){if(e&1&&V(n,Ie,5),e&2){let r;b(r=m())&&(a._allTabs=r)}},viewQuery:function(e,a){if(e&1&&(g(pe,5),g(_e,5)),e&2){let n;b(n=m())&&(a._tabBodyWrapper=n.first),b(n=m())&&(a._tabHeader=n.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(e,a){e&2&&(L("mat-align-tabs",a.alignTabs),j("mat-"+(a.color||"primary")),Bt("--mat-tab-animation-duration",a.animationDuration),f("mat-mdc-tab-group-dynamic-height",a.dynamicHeight)("mat-mdc-tab-group-inverted-header",a.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",a.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",p],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",p],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",p],selectedIndex:[2,"selectedIndex","selectedIndex",Y],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Y],disablePagination:[2,"disablePagination","disablePagination",p],disableRipple:[2,"disableRipple","disableRipple",p],preserveContent:[2,"preserveContent","preserveContent",p],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[H([{provide:te,useExisting:i}]),I],ngContentSelectors:pt,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(e,a){if(e&1){let n=B();$(),h(0,"mat-tab-header",3,0),k("indexFocused",function(s){return l(n),c(a._focusChanged(s))})("selectFocusedIndex",function(s){return l(n),c(a.selectedIndex=s)}),nt(2,ve,8,17,"div",4,it),y(),R(4,ye,1,0),h(5,"div",5,1),nt(7,ke,1,13,"mat-tab-body",6,it),y()}e&2&&(v("selectedIndex",a.selectedIndex||0)("disableRipple",a.disableRipple)("disablePagination",a.disablePagination)("aria-label",a.ariaLabel)("aria-labelledby",a.ariaLabelledby),u(2),rt(a._tabs),u(2),at(a._isServer?4:-1),u(),f("_mat-animation-noopable",a._animationMode==="NoopAnimations"),u(2),rt(a._tabs))},dependencies:[Le,ee,Wt,ct,J,ae],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return i})(),ht=class{index;tab};var ha=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=Rt({type:i});static \u0275inj=wt({imports:[lt,lt]})}return i})();export{Ce as a,Ie as b,ma as c,ha as d}; diff --git a/chunk-6GR4MAJE.js b/chunk-6GR4MAJE.js deleted file mode 100644 index ddd5e71d..00000000 --- a/chunk-6GR4MAJE.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Ao}from"./chunk-DUF4HXV7.js";import{a as Yi}from"./chunk-M5BYPXOP.js";import{b as $i,c as Bi,d as Ui,e as ji,f as zi,g as Wi}from"./chunk-ZQOXWN4S.js";import{a as Eo,b as To,c as Io,d as Lo,e as Vo,f as No}from"./chunk-7O2H2TAM.js";import{a as yo,b as bo,c as Mo,e as Do}from"./chunk-WPU27ID5.js";import{a as ro,b as mo}from"./chunk-VHE4TYFV.js";import{a as so,b as co}from"./chunk-AFH22WZE.js";import{a as St}from"./chunk-Q33OVU5J.js";import{a as xo,b as Oo,c as wo,d as So,f as Po,g as ko,h as Fo}from"./chunk-73QBZNVE.js";import{c as go,d as _o,e as vo,f as Co}from"./chunk-Q2N7RZTH.js";import{a as Xi}from"./chunk-L2JQY5SP.js";import{a as Xe}from"./chunk-GXQHMTZK.js";import{b as Qe}from"./chunk-WKFJTKSD.js";import{a as no}from"./chunk-WK53HQNR.js";import{a as to}from"./chunk-ZHS65JNW.js";import{a as Ze,b as et}from"./chunk-2XST3EDK.js";import{a as Qi}from"./chunk-2GNIBV4J.js";import{b as Ri}from"./chunk-MLNPCJDD.js";import{a as Ei}from"./chunk-JNB3NYAZ.js";import"./chunk-YFMYPYPE.js";import"./chunk-UOTKRQ63.js";import{a as lo}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{c as Ji}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as se,b as tt,f as ao}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import{b as ki,g as Fi,r as wt,v as Di,w as Ai}from"./chunk-XYJHVZQT.js";import{a as po,b as uo,c as fo,h as ho}from"./chunk-O3T3UZHL.js";import{d as Q,e as j}from"./chunk-VVQ6JEVH.js";import{a as io,b as oo}from"./chunk-HGOTYYGI.js";import{b as te,c as ye,e as Si,g as Pi,i as q,j as $,k as Zi,o as Je,r as eo}from"./chunk-AND6K73U.js";import{b as Gi}from"./chunk-BJXILAOS.js";import{a as de}from"./chunk-A3N3AUUJ.js";import{A as qi,B as Ki,i as si,j as Ce,p as ci,q as Ye,r as Hi,v as le,x as N}from"./chunk-6BGAZ7SQ.js";import{c as mi,d as Be,e as pi,g as Ee,h as di,j as bt}from"./chunk-I7VYXJU2.js";import{a as ie,b as be,c as Ke,e as oe,f as ne,g as ae,l as re}from"./chunk-PAP2P7QR.js";import{a as Me,b as xe,f as Oe,i as Y}from"./chunk-EC6LD5KM.js";import{a as D,b as Ti,c as B,e as M,f as v,g as Ii,h as A,i as U,j as L,l as h,m as ze,o as Li,p as We,q as K,r as Vi,s as V,v as Ni,w as qe,x as O}from"./chunk-EDIJ2EBQ.js";import{D as hi,E as gi,F as Mt,G as je,I as _i,T as vi,U as Ci,Y as xt,aa as yi,f as ui,ka as bi,la as Mi,ma as xi,na as ee,o as fi,oa as Oi,pa as wi,qa as Ot,s as Ue}from"./chunk-W5KNOAKV.js";import{$b as y,A as Re,B as Vt,Ba as Ge,D as Se,Ea as fe,Eb as Xt,F as R,Fa as Wt,Fb as ke,Fc as S,Gb as Jt,Ha as $e,Hc as X,Ia as x,J as He,Ja as Pe,Jc as G,Kc as z,L as W,Lc as ai,Mb as vt,N as Nt,Nb as _,Ob as _e,Pb as ve,Sb as Fe,Sc as me,Tb as d,Va as qt,Vb as Zt,Vc as pe,Wb as ei,Y as Rt,Yb as F,Z as Ht,_ as ue,a as At,ac as b,b as Et,ba as Gt,bc as a,cc as r,d as ht,da as $t,dc as c,e as Ve,ed as ri,fa as Bt,g as Tt,gb as he,ha as _t,hc as T,j as gt,je as J,ka as s,kc as g,lb as p,mb as Kt,mc as w,nc as ti,ob as Yt,oc as ii,p as It,pc as Ct,pe as li,qc as yt,rc as De,sa as Ut,sc as Ae,t as Ne,ta as P,ua as k,ub as f,uc as oi,va as jt,vb as Qt,vc as ni,wb as ge,wc as Z,xc as m,y as Lt,yc as H,za as zt,zc as I}from"./chunk-TEKHUYWQ.js";var Ro=(()=>{class t{router=s(si);destroyRef=s(Ge);authFacade=s(se);layoutFacade=s(Qe);ngOnInit(){this.authFacade.auth$.pipe(de(this.destroyRef)).subscribe(e=>{e&&(this.layoutFacade.loadNavLinks(e.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(de(this.destroyRef)).subscribe(e=>{e||(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-feature-shell"]],decls:1,vars:0,template:function(i,o){i&1&&c(0,"devmx-layout")},dependencies:[ci,Yi],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();function Ho(t){return n=>!n.value||n.value.trim()===""||t.test(n.value)?null:{invalidPhone:{value:n.value}}}var it=(()=>{class t{ngControl;previousValue="";constructor(e){this.ngControl=e}onInput(e){let i=e.value.replace(/\D/g,""),o="";if(i.length>10?o=i.replace(/(\d{2})(\d{5})(\d{4})/,"($1) $2-$3"):i.length>6?o=i.replace(/(\d{2})(\d{4})(\d{0,4})/,"($1) $2-$3"):i.length>2?o=i.replace(/(\d{2})(\d{0,4})/,"($1) $2"):i.length>0&&(o=i.replace(/(\d*)/,"($1")),e.value.length()=>{let n=s(se),e=n.auth$.pipe(R(i=>!!i),Ne(i=>i.roles[t]));return n.load(),e};var Bo=(()=>{class t{authFacade=s(se);layoutFacade=s(Qe);ngOnInit(){this.authFacade.signOut(),this.layoutFacade.resetNavLinks()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-sign-out"]],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})();var Uo=(()=>{class t{container=s(v);get form(){return this.container.control}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-visibility"]],features:[S([],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:19,vars:0,consts:[["formGroupName","visibility"],["formControlName","email"],["formControlName","phone"],["formControlName","gender"],["formControlName","birthday"],["formControlName","roles"],["formControlName","events"],["formControlName","presentations"],["formControlName","skills"],["formControlName","photos"]],template:function(i,o){i&1&&(a(0,"div",0)(1,"mat-checkbox",1),m(2,"Endere\xE7o de e-mail"),r(),a(3,"mat-checkbox",2),m(4,"Telefone"),r(),a(5,"mat-checkbox",3),m(6,"G\xEAnero"),r(),a(7,"mat-checkbox",4),m(8,"Data de nascimento"),r(),a(9,"mat-checkbox",5),m(10,"Permiss\xF5es"),r(),a(11,"mat-checkbox",6),m(12,"Eventos"),r(),a(13,"mat-checkbox",7),m(14,"Apresenta\xE7\xF5es"),r(),a(15,"mat-checkbox",8),m(16,"Habilidades"),r(),a(17,"mat-checkbox",9),m(18,"Fotos"),r()())},dependencies:[O,A,U,V,K,co,so],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1278px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}"],changeDetection:0})}return t})();var jo=(()=>{class t{icon=x("tech/folder-opened");accept=x(["image/png","image/jpeg","image/svg+xml","image/webp"]);selectChange=$e();onFilesChange(e){let[i]=Array.from(e??[]);i&&this.selectChange.emit(i)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-select-file"]],inputs:{icon:[1,"icon"],accept:[1,"accept"]},outputs:{selectChange:"selectChange"},decls:4,vars:1,consts:[["input",""],["hidden","","type","file","name","file",3,"change","accept"],["type","button","mat-icon-button","",3,"click"],["name","tech/folder-opened"]],template:function(i,o){if(i&1){let l=T();a(0,"input",1,0),g("change",function(){P(l);let E=Z(1);return k(o.onFilesChange(E.files))}),r(),a(2,"button",2),g("click",function(){P(l);let E=Z(1);return k(E.click())}),c(3,"devmx-icon",3),r()}i&2&&d("accept",o.accept())},dependencies:[N,le,D],encapsulation:2,changeDetection:0})}return t})();var ot=(()=>{class t{ref=s(Pe);destroy=s(Ge);get context(){return this.ref.nativeElement.getContext("2d")}image=new Image;position=new wt;mouse=new wt;isDragging=!1;scale=1;ngAfterViewInit(){this.ref.nativeElement.addEventListener("mousemove",this.dragImage),this.ref.nativeElement.addEventListener("mousedown",this.startDrag),this.ref.nativeElement.addEventListener("mouseleave",this.stopDrag),this.ref.nativeElement.addEventListener("mouseup",this.stopDrag),this.image.addEventListener("load",this.drawImage),this.destroy.onDestroy(()=>{this.ref.nativeElement.removeEventListener("mousemove",this.dragImage),this.ref.nativeElement.removeEventListener("mousedown",this.startDrag),this.ref.nativeElement.removeEventListener("mouseleave",this.stopDrag),this.ref.nativeElement.removeEventListener("mouseup",this.stopDrag),this.image.removeEventListener("load",this.drawImage)})}drawImage=()=>{if(!this.image||!this.context)return;let{width:e,height:i}=this.context.canvas;this.context.clearRect(0,0,e,i);let{x:o,y:l}=this.position,u=this.image.width*this.scale,E=this.image.height*this.scale;this.context.drawImage(this.image,o,l,u,E)};zoomIn(){this.scale*=1.1,this.drawImage()}zoomOut(){this.scale/=1.1,this.drawImage()}startDrag=({clientX:e,clientY:i})=>{this.isDragging=!0,this.mouse.set(e,i)};stopDrag=()=>{this.isDragging=!1};dragImage=({clientX:e,clientY:i})=>{if(this.isDragging){let o=e-this.mouse.x,l=i-this.mouse.y;this.position.add({x:o,y:l}),this.mouse.set(e,i),this.drawImage()}};static \u0275fac=function(i){return new(i||t)};static \u0275dir=ge({type:t,selectors:[["canvas","devmxCropPhoto",""]]})}return t})();var zo=(()=>{class t{ref=s(go);data=s(_o);cropPhoto=Jt(ot);ngAfterViewInit(){let e=this.cropPhoto();e&&(e.image.src=URL.createObjectURL(this.data.file))}zoomIn(){this.cropPhoto()?.zoomIn()}zoomOut(){this.cropPhoto()?.zoomOut()}crop(){let e=document.createElement("canvas"),i=e.getContext("2d"),o=this.cropPhoto();if(!o||!o.context||!i)return;e.width=o.context.canvas.width,e.height=o.context.canvas.height;let{x:l,y:u}=o.position,E=o.image.width*o.scale,Cn=o.image.height*o.scale;i.drawImage(o.image,l,u,E,Cn),e.toBlob(Dt=>{Dt&&this.ref.close(Dt)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-user-photo"]],viewQuery:function(i,o){i&1&&oi(o.cropPhoto,ot,5),i&2&&ni()},decls:11,vars:0,consts:[[1,"canvas-wrapper"],["devmxCropPhoto","","width","400","height","400"],[1,"canvas-overlay"],["type","button","mat-icon-button","",3,"click"],["name","zoom-plus"],["name","zoom-minus"],["mat-icon-button","",3,"click"],["name","menu/crop"]],template:function(i,o){i&1&&(a(0,"div",0),c(1,"canvas",1)(2,"div",2),r(),a(3,"footer")(4,"div")(5,"button",3),g("click",function(){return o.zoomIn()}),c(6,"devmx-icon",4),r(),a(7,"button",3),g("click",function(){return o.zoomOut()}),c(8,"devmx-icon",5),r()(),a(9,"button",6),g("click",function(){return o.crop()}),c(10,"devmx-icon",7),r()())},dependencies:[Co,N,le,ot,D],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;border-radius:1em;overflow:hidden;background-color:#fff}[_nghost-%COMP%] .canvas-wrapper[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .canvas-overlay[_ngcontent-%COMP%]{top:0;left:0;width:400px;height:400px;position:absolute;pointer-events:none;overflow:hidden}[_nghost-%COMP%] .canvas-overlay[_ngcontent-%COMP%]:before{content:"";position:absolute;top:1em;left:1em;width:calc(100% - 2em);height:calc(100% - 2em);background:transparent;border:1px dashed rgba(255,255,255,.8);border-radius:50%;box-shadow:0 0 0 100vmax #0009}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{padding:1em;display:flex;align-items:center;justify-content:space-between}'],changeDetection:0})}return t})();var Ie=class{dialog;constructor(n){this.dialog=n}open(n){return this.dialog.open(zo,{data:n})}};function nt(){return{provide:Ie,deps:[vo]}}var at=class extends L{constructor(){super({email:new h("",{nonNullable:!0,validators:[M.required,M.email]}),phone:new h("",{nonNullable:!0,validators:[M.maxLength(15),Ho(/^\(\d{2}\) \d{4,5}-\d{4}$/)]})})}};var rt=class extends L{genders=[{value:"female",viewValue:"Feminino"},{value:"male",viewValue:"Masculino"},{value:"non-binary",viewValue:"N\xE3o bin\xE1rio"},{value:"gender-fluid",viewValue:"G\xEAnero flu\xEDdo"},{value:"agender",viewValue:"Ag\xEAnero"},{value:"prefer-not-to-say",viewValue:"Prefiro n\xE3o dizer"},{value:"",viewValue:"Outro"}];get gender(){return this.controls.gender}constructor(){super({minibio:new h("",{nonNullable:!0,validators:[M.maxLength(102400)]}),birthday:new h,gender:new h,photo:new h})}};var lt=class extends L{constructor(){super({academic:new h(!1,{nonNullable:!0}),director:new h({value:!1,disabled:!0},{nonNullable:!0}),donor:new h({value:!1,disabled:!0},{nonNullable:!0}),fellow:new h({value:!1,disabled:!0},{nonNullable:!0}),leader:new h({value:!1,disabled:!0},{nonNullable:!0}),manager:new h({value:!1,disabled:!0},{nonNullable:!0}),member:new h(!1,{nonNullable:!0,validators:[M.requiredTrue]}),neighbor:new h({value:!1,disabled:!0},{nonNullable:!0}),recruiter:new h(!1,{nonNullable:!0}),speaker:new h(!1,{nonNullable:!0}),staff:new h({value:!1,disabled:!0},{nonNullable:!0})})}};var xn=["panel"],On=["*"];function wn(t,n){if(t&1){let e=T();a(0,"div",1,0),g("@panelAnimation.done",function(o){P(e);let l=w();return k(l._animationDone.next(o))}),ii(2),r()}if(t&2){let e=n.id,i=w();ei(i._classList),Zt("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-primary",i._color==="primary")("mat-accent",i._color==="accent")("mat-warn",i._color==="warn"),d("id",i.id)("@panelAnimation",i.isOpen?"visible":"hidden"),Fe("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}var Sn=mi("panelAnimation",[di("void, hidden",Ee({opacity:0,transform:"scaleY(0.8)"})),bt(":enter, hidden => visible",[pi([Be("0.03s linear",Ee({opacity:1})),Be("0.12s cubic-bezier(0, 0, 0.2, 1)",Ee({transform:"scaleY(1)"}))])]),bt(":leave, visible => hidden",[Be("0.075s linear",Ee({opacity:0}))])]),Pt=class{source;option;constructor(n,e){this.source=n,this.option=e}},Ko=new _t("mat-autocomplete-default-options",{providedIn:"root",factory:Pn});function Pn(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Yo=(()=>{class t{_changeDetectorRef=s(me);_elementRef=s(Pe);_defaults=s(Ko);_activeOptionChanges=Ve.EMPTY;_animationDone=new fe;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new fe;opened=new fe;closed=new fe;optionActivated=new fe;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=s(vi).getId("mat-autocomplete-");inertGroups;constructor(){let e=s(ui);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new _i(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Pt(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,l){if(i&1&&(Ct(l,ee,5),Ct(l,Mi,5)),i&2){let u;De(u=Ae())&&(o.options=u),De(u=Ae())&&(o.optionGroups=u)}},viewQuery:function(i,o){if(i&1&&(yt(Yt,7),yt(xn,5)),i&2){let l;De(l=Ae())&&(o.template=l.first),De(l=Ae())&&(o.panel=l.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",pe],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",pe],requireSelection:[2,"requireSelection","requireSelection",pe],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",pe],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",pe]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[S([{provide:bi,useExisting:t}]),vt],ngContentSelectors:On,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(ti(),_(0,wn,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-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: 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:[Sn]},changeDetection:0})}return t})();var kn={provide:Ti,useExisting:$t(()=>kt),multi:!0};var Qo=new _t("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=s(Je);return()=>t.scrollStrategies.reposition()}});function Fn(t){return()=>t.scrollStrategies.reposition()}var Dn={provide:Qo,deps:[Je],useFactory:Fn},kt=(()=>{class t{_element=s(Pe);_overlay=s(Je);_viewContainerRef=s(Xt);_zone=s(Wt);_changeDetectorRef=s(me);_dir=s(Ci,{optional:!0});_formField=s(Pi,{optional:!0,host:!0});_document=s(ri);_viewportRuler=s(qi);_defaults=s(Ko,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_scrollStrategy=s(Qo);_keydownSubscription;_outsideClickSubscription;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Ve.EMPTY;_breakpointObserver=s(hi);_handsetLandscapeSubscription=Ve.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new gt;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;_initialized=new gt;_injector=s(zt);constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.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}_overlayAttached=!1;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&&je(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Se(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(R(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(R(()=>this._overlayAttached)):It()).pipe(Ne(e=>e instanceof xi?e:null))}optionSelections=Lt(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Ht(e),ue(()=>Se(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(ue(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Se(Re(this._document,"click"),Re(this._document,"auxclick"),Re(this._document,"touchend")).pipe(R(e=>{let i=fi(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!l||!l.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Ue(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let l=this.autocomplete._keyManager.activeItem,u=i===38||i===40;i===9||u&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):u&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(u||this.autocomplete._keyManager.activeItem!==l)&&(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(e){let i=e.target,o=i.value;if(i.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 l=this.autocomplete.options?.find(u=>u.selected);if(l){let u=this._getDisplayValue(l.value);o!==u&&l.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let l=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(l)}}}_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(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Tt(o=>{qt(()=>{o.next()},{injector:this._injector})}),i=this.autocomplete.options.changes.pipe(Gt(()=>this._positionStrategy.reapplyLastPosition()),Nt(0));return Se(e,i).pipe(ue(()=>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})),W(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(W(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Mt(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new Gi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(gi.HandsetLandscape).subscribe(l=>{l.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,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()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Ue(e)||e.keyCode===38&&Ue(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Zi({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],u;this.position==="above"?u=l:this.position==="below"?u=i:u=[...i,...l],e.withPositions(u)}_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 e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&je(this._trackedModal,"aria-owns",i),Mt(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;je(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ge({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&g("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(u){return o._handleInput(u)})("keydown",function(u){return o._handleKeydown(u)})("click",function(){return o._handleClick()}),i&2&&Fe("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",pe]},exportAs:["matAutocompleteTrigger"],features:[S([kn]),vt,Ut]})}return t})(),Xo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Qt({type:t});static \u0275inj=Bt({providers:[Dn],imports:[eo,Ot,xt,Ki,Ot,xt]})}return t})();var En=(t,n)=>n.id;function Tn(t,n){if(t&1&&(a(0,"mat-option",3),m(1),r()),t&2){let e=n.$implicit;d("value",e),p(),H(e.name)}}function In(t,n){t&1&&y(0,Tn,2,2,"mat-option",3,En),t&2&&b(n.data)}var Zo=(()=>{class t{skillFacade=s(Xe);selected=$e();label=x("Habilidade");control=new h("");constructor(){this.control.valueChanges.pipe(R(e=>typeof e=="string"),R(e=>e.length>0),de(),He(400)).subscribe(e=>{this.skillFacade.setFilter({name:e}),this.skillFacade.load()})}displayFn(e){return e&&e.name?e.name:""}onOptionSelected(e){this.selected.emit(e),this.control.setValue("")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-search-skill"]],inputs:{label:[1,"label"]},outputs:{selected:"selected"},decls:8,vars:7,consts:[["auto","matAutocomplete"],["matInput","",3,"formControl","matAutocomplete"],[3,"optionSelected","displayWith"],[3,"value"]],template:function(i,o){if(i&1){let l=T();a(0,"mat-form-field")(1,"mat-label"),m(2),r(),c(3,"input",1),a(4,"mat-autocomplete",2,0),g("optionSelected",function(E){return P(l),k(o.onOptionSelected(E.option.value))}),_(6,In,2,0),G(7,"async"),r()()}if(i&2){let l,u=Z(5);p(2),H(o.label()),p(),d("formControl",o.control)("matAutocomplete",u),p(),d("displayWith",o.displayFn),p(2),F((l=z(7,5,o.skillFacade.response$))?6:-1,l)}},dependencies:[O,B,A,Li,Xo,Yo,ee,kt,$,q,te,j,Q,J],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();function Ln(t,n){if(t&1&&(jt(),a(0,"svg",0),c(1,"path",2),r()),t&2){let e=w();p(),Fe("fill",e.color())}}function Vn(t,n){if(t&1&&c(0,"img",1),t&2){let e=w();d("src",e.path,he)}}var en=(()=>{class t{env=s(ki);color=x("#333");src=x();get path(){return`${this.env.photos.url}/${this.src()}`}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-avatar"]],inputs:{color:[1,"color"],src:[1,"src"]},decls:2,vars:1,consts:[["fill","none","viewBox","0 0 48 48","xmlns","http://www.w3.org/2000/svg"],["alt","Avatar",3,"src"],["d","M11.7 34.2C13.4 32.9 15.3 31.875 17.4 31.125C19.5 30.375 21.7 30 24 30C26.3 30 28.5 30.375 30.6 31.125C32.7 31.875 34.6 32.9 36.3 34.2C37.4667 32.8333 38.375 31.2833 39.025 29.55C39.675 27.8167 40 25.9667 40 24C40 19.5667 38.4417 15.7917 35.325 12.675C32.2083 9.55833 28.4333 8 24 8C19.5667 8 15.7917 9.55833 12.675 12.675C9.55833 15.7917 8 19.5667 8 24C8 25.9667 8.325 27.8167 8.975 29.55C9.625 31.2833 10.5333 32.8333 11.7 34.2ZM24 26C22.0333 26 20.375 25.325 19.025 23.975C17.675 22.625 17 20.9667 17 19C17 17.0333 17.675 15.375 19.025 14.025C20.375 12.675 22.0333 12 24 12C25.9667 12 27.625 12.675 28.975 14.025C30.325 15.375 31 17.0333 31 19C31 20.9667 30.325 22.625 28.975 23.975C27.625 25.325 25.9667 26 24 26ZM24 44C21.2333 44 18.6333 43.475 16.2 42.425C13.7667 41.375 11.65 39.95 9.85 38.15C8.05 36.35 6.625 34.2333 5.575 31.8C4.525 29.3667 4 26.7667 4 24C4 21.2333 4.525 18.6333 5.575 16.2C6.625 13.7667 8.05 11.65 9.85 9.85C11.65 8.05 13.7667 6.625 16.2 5.575C18.6333 4.525 21.2333 4 24 4C26.7667 4 29.3667 4.525 31.8 5.575C34.2333 6.625 36.35 8.05 38.15 9.85C39.95 11.65 41.375 13.7667 42.425 16.2C43.475 18.6333 44 21.2333 44 24C44 26.7667 43.475 29.3667 42.425 31.8C41.375 34.2333 39.95 36.35 38.15 38.15C36.35 39.95 34.2333 41.375 31.8 42.425C29.3667 43.475 26.7667 44 24 44ZM24 40C25.7667 40 27.4333 39.7417 29 39.225C30.5667 38.7083 32 37.9667 33.3 37C32 36.0333 30.5667 35.2917 29 34.775C27.4333 34.2583 25.7667 34 24 34C22.2333 34 20.5667 34.2583 19 34.775C17.4333 35.2917 16 36.0333 14.7 37C16 37.9667 17.4333 38.7083 19 39.225C20.5667 39.7417 22.2333 40 24 40ZM24 22C24.8667 22 25.5833 21.7167 26.15 21.15C26.7167 20.5833 27 19.8667 27 19C27 18.1333 26.7167 17.4167 26.15 16.85C25.5833 16.2833 24.8667 16 24 16C23.1333 16 22.4167 16.2833 21.85 16.85C21.2833 17.4167 21 18.1333 21 19C21 19.8667 21.2833 20.5833 21.85 21.15C22.4167 21.7167 23.1333 22 24 22Z"]],template:function(i,o){i&1&&_(0,Ln,2,1,":svg:svg",0)(1,Vn,1,1,"img",1),i&2&&F(o.src()===""?0:1)},styles:["[_nghost-%COMP%]{display:inline-flex;border-radius:50%;overflow:hidden;width:inherit;height:auto}[_nghost-%COMP%] img[_ngcontent-%COMP%]{width:inherit;height:auto}"],changeDetection:0})}return t})();var mt=class extends L{constructor(n){super({skill:new Ao,weight:new h(0,{nonNullable:!0,validators:[M.min(0),M.max(100)]})}),n&&this.patchValue(n)}},pt=class extends qe{constructor(){super([])}add(n){this.push(new mt(n))}has(n){return this.value.some(e=>e.skill===n)}patchValue(n,e){for(let i of n)this.has(i.skill)||this.push(new mt(i),e)}};var we=class extends L{constructor(n){super({type:new h("website",{nonNullable:!0,validators:[M.required]}),username:new h("",{nonNullable:!0,validators:[M.required]})}),n&&this.patchValue(n)}},dt=class extends qe{constructor(){super([])}add(n){this.push(new we(n))}has(n){return this.value.some(e=>e.type===n)}patchValue(n,e){for(let i of n)this.has(i.type)||this.push(new we(i),e)}};var ut=class extends L{constructor(){super({email:new h(!1,{nonNullable:!0}),phone:new h(!1,{nonNullable:!0}),birthday:new h(!1,{nonNullable:!0}),gender:new h(!1,{nonNullable:!0}),roles:new h(!1,{nonNullable:!0}),events:new h(!1,{nonNullable:!0}),photos:new h(!1,{nonNullable:!0}),presentations:new h(!1,{nonNullable:!0}),skills:new h(!1,{nonNullable:!0})})}};var ft=class extends L{constructor(){super({id:new h("",{nonNullable:!0,validators:[M.required]}),name:new h("",{nonNullable:!0,validators:[M.required,M.pattern(/^[a-z0-9]+$/)]}),displayName:new h("",{nonNullable:!0,validators:[M.required]}),profile:new rt,contact:new at,social:new dt,active:new h,roles:new lt,skills:new pt,visibility:new ut})}get profile(){return this.controls.profile}get contact(){return this.controls.contact}get social(){return this.controls.social}get roles(){return this.controls.roles}get skills(){return this.controls.skills}patch(n){this.patchValue(n),n.social&&n.social.length&&this.social.patchValue(n.social)}};var Rn=(t,n)=>n.value;function Hn(t,n){if(t&1&&(a(0,"mat-option",3),m(1),r()),t&2){let e=n.$implicit;d("value",e.value),p(),I(" ",e.viewValue," ")}}function Gn(t,n){t&1&&(a(0,"mat-form-field"),c(1,"input",7),a(2,"mat-error"),m(3,"Inv\xE1lido"),r()())}function $n(t,n){t&1&&(a(0,"mat-form-field"),c(1,"input",8),a(2,"mat-error"),m(3,"Inv\xE1lido"),r()())}var tn=(()=>{class t{ref=s(xo);data=s(Oo);allOptions=[{value:"website",viewValue:"Website"},{value:"github",viewValue:"Github"},{value:"linkedIn",viewValue:"Linked In"},{value:"whatsApp",viewValue:"WhatsApp"},{value:"notion",viewValue:"Notion"},{value:"instagram",viewValue:"Instagram"}];options=ke([]);form=new we;ngOnInit(){if(this.data){let e=this.allOptions.filter(i=>this.data.items.every(o=>i.value!==o.type));this.options.set(e)}}onSubmit(){return this.form.valid?this.ref.close(this.form.getRawValue()):this.form.markAllAsTouched()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-user-social"]],decls:13,vars:2,consts:[[3,"submit","formGroup"],[1,"user-social-dialog-content"],["formControlName","type"],[3,"value"],[1,"user-social-dialog-actions"],["type","button","mat-button","","mat-dialog-close",""],["mat-flat-button",""],["matInput","","formControlName","username","devmxPhone","","maxlength","15"],["matInput","","formControlName","username"]],template:function(i,o){i&1&&(a(0,"form",0),g("submit",function(){return o.onSubmit()}),a(1,"mat-dialog-content",1)(2,"mat-form-field")(3,"mat-select",2),y(4,Hn,2,2,"mat-option",3,Rn),r()(),_(6,Gn,4,0,"mat-form-field")(7,$n,4,0,"mat-form-field"),r(),a(8,"mat-dialog-actions",4)(9,"button",5),m(10,"Cancelar"),r(),a(11,"button",6),m(12,"Salvar"),r()()()),i&2&&(d("formGroup",o.form),p(4),b(o.options()),p(2),F(o.form.value.type==="whatsApp"?6:7))},dependencies:[O,ze,B,A,U,Ni,We,V,Fo,So,ko,Po,N,Ye,et,q,ye,Ze,ee,$,j,Q,it],styles:["[_nghost-%COMP%] .user-social-dialog-content[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .user-social-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})}return t})();var Le=class{dialog;constructor(n){this.dialog=n}open(n){return this.dialog.open(tn,{data:n})}};function on(){return{provide:Le,deps:[wo]}}var Bn=(t,n)=>n.value;function Un(t,n){if(t&1&&(a(0,"mat-option",3),m(1),r()),t&2){let e=n.$implicit;d("value",e.value),p(),I(" ",e.viewValue," ")}}var nn=(()=>{class t{container=s(v);get form(){return this.container.control}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-profile"]],features:[S([yi(),nt()],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:15,vars:2,consts:[["picker",""],["formGroupName","profile"],["formControlName","gender"],[3,"value"],["matInput","","formControlName","birthday","readonly","",3,"focus","matDatepicker"],["matIconSuffix","",3,"for"]],template:function(i,o){if(i&1){let l=T();a(0,"div",1)(1,"div")(2,"mat-form-field")(3,"mat-label"),m(4,"G\xEAnero"),r(),a(5,"mat-select",2),y(6,Un,2,2,"mat-option",3,Bn),r()(),a(8,"mat-form-field")(9,"mat-label"),m(10,"Data de nascimento"),r(),a(11,"input",4),g("focus",function(){P(l);let E=Z(14);return k(E.open())}),r(),c(12,"mat-datepicker-toggle",5)(13,"mat-datepicker",null,0),r()()()}if(i&2){let l=Z(14);p(6),b(o.form.profile.genders),p(5),d("matDatepicker",l),p(),d("for",l)}},dependencies:[O,B,A,U,V,K,ho,po,uo,fo,$,q,te,Si,et,Ze,ee,j,Q],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return t})();var an=(()=>{class t{container=s(v);get form(){return this.container.control}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-contact"]],features:[S([],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:13,vars:0,consts:[["formGroupName","contact"],["matInput","","type","email","formControlName","email","autocomplete","email"],["matInput","","formControlName","phone","autocomplete","mobile","devmxPhone",""]],template:function(i,o){i&1&&(a(0,"div",0)(1,"mat-form-field")(2,"mat-label"),m(3,"E-mail"),r(),c(4,"input",1),a(5,"mat-error"),m(6,"Inv\xE1lido"),r()(),a(7,"mat-form-field")(8,"mat-label"),m(9,"Telefone"),r(),c(10,"input",2),a(11,"mat-error"),m(12,"Inv\xE1lido"),r()()())},dependencies:[O,B,A,U,V,K,it,$,q,te,ye,j,Q],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return t})();var jn=(t,n)=>n.value;function zn(t,n){t&1&&c(0,"div",12)}function Wn(t,n){if(t&1){let e=T();a(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",3),_(2,zn,1,0,"div",4),a(3,"mat-panel-title",5),c(4,"devmx-icon",6),a(5,"span"),m(6),r()(),a(7,"mat-panel-description",7),m(8),r(),a(9,"button",8),g("click",function(){let o=P(e).$index,l=w();return k(l.form.skills.removeAt(o))}),c(10,"devmx-icon",9),r()(),a(11,"div")(12,"mat-slider",10),c(13,"input",11),r()()()}if(t&2){let e=n.$implicit,i=n.$index,o=w();d("cdkDragData",e)("formGroupName",i),p(6),I(" ",e.value.skill==null?null:e.value.skill.name," "),p(2),I(" ",e.value.weight,"% "),p(4),d("displayWith",o.formatLabel)}}var rn=(()=>{class t{container=s(v);skillFacade=s(Xe);cdr=s(me);get form(){return this.container.control}onNewSkill(e){this.form.skills.add({skill:e,weight:0})}formatLabel(e){return`${e}%`}drop(e){Eo(this.form.skills.controls,e.previousIndex,e.currentIndex)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-skills"]],features:[S([],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:4,vars:0,consts:[["hideToggle","","cdkDropList","","formArrayName","skills",1,"skills-list",3,"cdkDropListDropped"],["cdkDrag","",1,"skill-item",3,"cdkDragData","formGroupName"],[3,"selected"],[1,"skill-header"],["class","drag-placeholder",4,"cdkDragPlaceholder"],[1,"skill-title"],["name","drag/indicator","cdkDragHandle",""],[1,"skill-weight"],["type","button","mat-icon-button","",3,"click"],["name","trash"],["min","0","max","100","step","10","discrete","","showTickMarks","",3,"displayWith"],["matSliderThumb","","formControlName","weight"],[1,"drag-placeholder"]],template:function(i,o){i&1&&(a(0,"mat-accordion",0),g("cdkDropListDropped",function(u){return o.drop(u)}),y(1,Wn,14,5,"mat-expansion-panel",1,jn),r(),a(3,"devmx-search-skill",2),g("selected",function(u){return o.onNewSkill(u)}),r()),i&2&&(p(),b(o.form.skills.controls))},dependencies:[Ri,Zo,O,B,A,U,V,K,Vi,Wi,zi,$i,Bi,ji,Ui,N,le,No,Lo,Io,To,Vo,Y,D,Mo,yo,bo],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .cdk-drag-preview[_ngcontent-%COMP%]{border:none;box-sizing:border-box}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%]{flex:1;display:flex;justify-content:space-between;align-items:center}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .skill-title[_ngcontent-%COMP%]{gap:.4em;display:flex}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .skill-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.4}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .drag-placeholder[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1);background-color:#666;min-height:60px}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]{cursor:grab}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]:active{cursor:grabbing}[_nghost-%COMP%] .skill-weight[_ngcontent-%COMP%]{max-width:3em}[_nghost-%COMP%] .cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}[_nghost-%COMP%] .skills-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:first-of-type{border-top-right-radius:none;border-top-left-radius:none}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:none}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{background:transparent}"]})}return t})();var qn=(t,n)=>n.id,Kn=t=>[t],Yn=t=>({right:t}),Qn=t=>({outlets:t}),Xn=t=>["/","carreiras",t];function Jn(t,n){if(t&1&&(a(0,"a",1),c(1,"devmx-icon",2),a(2,"div",3),m(3),r(),a(4,"div",4),m(5),G(6,"jobMode"),r()()),t&2){let e=n.$implicit;d("routerLink",X(11,Xn,X(9,Qn,X(7,Yn,X(5,Kn,e.id))))),p(3),H(e.title),p(2),H(z(6,3,e.mode))}}var sn=(()=>{class t{data=x([]);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-job-opening-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"job-openings-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","finance/bullseye"],["matListItemTitle",""],["matListItemLine",""]],template:function(i,o){i&1&&(a(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Vagas"),r()(),a(4,"mat-list"),y(5,Jn,7,13,"a",1,qn),r()()),i&2&&(p(5),b(o.data()))},dependencies:[Y,Me,Oe,xe,re,ne,ae,oe,be,ie,D,Ce,no],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return t})();var cn=(t,n)=>n.id;function Zn(t,n){if(t&1&&(a(0,"label"),m(1),r()),t&2){let e=n.$implicit;p(),I("#",e.name,"")}}function ea(t,n){if(t&1&&(a(0,"a",1),c(1,"devmx-icon",2),a(2,"div",3),m(3),r(),a(4,"div",4),y(5,Zn,2,1,"label",null,cn),r(),a(7,"var",5),m(8),r()()),t&2){let e=n.$implicit;d("href",e.html_url,he),p(3),H(e.title),p(2),b(e.labels),p(3),I("#",e.number,"")}}var mn=(()=>{class t{data=x([]);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-issue-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"contributors-card"],["mat-list-item","","target","_blank","rel","noopener noreferrer",3,"href"],["matListItemIcon","","name","transport/swap-locations"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta",""]],template:function(i,o){i&1&&(a(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Contribua"),r()(),a(4,"mat-list"),y(5,ea,9,3,"a",1,cn),r()()),i&2&&(p(5),b(o.data()))},dependencies:[Y,Me,Oe,xe,re,ne,ae,oe,be,ie,Ke,D],styles:["[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return t})();var ta=(t,n)=>n.id,ia=t=>["/","albuns",t];function oa(t,n){if(t&1&&(a(0,"a",1),c(1,"devmx-icon",2),a(2,"div",3),m(3),r(),a(4,"div",4),m(5),G(6,"date"),r()()),t&2){let e=n.$implicit;d("routerLink",X(6,ia,e.id)),p(3),H(e.title),p(2),H(ai(6,3,e.createdAt,"longDate"))}}var pn=(()=>{class t{data=x([]);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-album-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"albums-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","photo"],["matListItemTitle",""],["matListItemLine",""]],template:function(i,o){i&1&&(a(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Fotos"),r()(),a(4,"mat-list"),y(5,oa,7,8,"a",1,ta),r()()),i&2&&(p(5),b(o.data()))},dependencies:[Y,Me,Oe,xe,re,ne,ae,oe,be,ie,D,li,Ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return t})();var na=(t,n)=>n.id;function aa(t,n){if(t&1&&(a(0,"mat-chip"),c(1,"img",0),m(2),r()),t&2){let e=n.$implicit;p(),d("src",e.avatar_url,he)("alt",e.login),p(),I(" ",e.login," ")}}var dn=(()=>{class t{data=x([]);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-contributors"]],inputs:{data:[1,"data"]},decls:3,vars:0,consts:[["matChipAvatar","",3,"src","alt"]],template:function(i,o){i&1&&(a(0,"marquee"),y(1,aa,3,3,"mat-chip",null,na),r()),i&2&&(p(),b(o.data()))},dependencies:[oo,io],styles:["[_nghost-%COMP%] mat-chip[_ngcontent-%COMP%]{margin-right:1em}"],changeDetection:0})}return t})();var un=(()=>{class t{type=x.required();get icon(){switch(this.type()){case"github":return"social/github";case"linkedIn":return"social/linkedin";case"instagram":return"social/instagram";case"notion":return"social/notion";case"website":return"software/web-info";case"whatsApp":return"social/whatsapp"}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-social-icon"]],inputs:{type:[1,"type"]},decls:1,vars:1,consts:[[3,"name"]],template:function(i,o){i&1&&c(0,"devmx-icon",0),i&2&&d("name",o.icon)},dependencies:[D],encapsulation:2,changeDetection:0})}return t})();var ra=(t,n)=>n.value.type;function la(t,n){if(t&1){let e=T();a(0,"mat-list-item"),c(1,"devmx-social-icon",2),a(2,"div",3),m(3),r(),a(4,"button",4),g("click",function(){let o=P(e).$index,l=w();return k(l.form.social.removeAt(o))}),c(5,"devmx-icon",5),r()()}if(t&2){let e=n.$implicit;p(),d("type",e.value.type),p(2),H(e.value.username)}}var fn=(()=>{class t{container=s(v);cdr=s(me);userSocial=s(Le);get form(){return this.container.control}addSocial(){let e=this.form.social.getRawValue();this.userSocial.open({items:e}).afterClosed().pipe(W(1)).subscribe(i=>{i&&(this.form.social.add(i),this.cdr.detectChanges())})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-social"]],features:[S([on()],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:7,vars:0,consts:[["type","button","mat-icon-button","",3,"click"],["name","message/circle-plus"],["matListItemIcon","",3,"type"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(i,o){i&1&&(a(0,"div")(1,"mat-list"),y(2,la,6,2,"mat-list-item",null,ra),r(),a(4,"footer")(5,"button",0),g("click",function(){return o.addSocial()}),c(6,"devmx-icon",1),r()()()),i&2&&(p(2),b(o.form.social.controls))},dependencies:[O,un,$,N,le,j,re,ne,ae,oe,ie,Ke,D],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin-left:.6em}"]})}return t})();function sa(t,n){t&1&&m(0," Use apenas letras do alfabeto min\xFAsculas ")}function ca(t,n){t&1&&m(0," Obrigat\xF3rio ")}var hn=(()=>{class t{container=s(v);get form(){return this.container.control}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account-user"]],features:[S([],[{provide:v,useFactory:()=>s(v,{skipSelf:!0})}])],decls:13,vars:2,consts:[["matInput","","formControlName","displayName","autocomplete","name","autofocus",""],["matInput","","formControlName","name","autocomplete","username"]],template:function(i,o){i&1&&(a(0,"mat-form-field")(1,"mat-label"),m(2,"Seu nome"),r(),c(3,"input",0),a(4,"mat-error"),m(5,"Obrigat\xF3rio"),r()(),a(6,"mat-form-field")(7,"mat-label"),m(8,"Seu usu\xE1rio"),r(),c(9,"input",1),a(10,"mat-error"),_(11,sa,1,0)(12,ca,1,0),r()()),i&2&&(p(11),F(o.form.controls.name.hasError("pattern")?11:-1),p(),F(o.form.controls.name.hasError("required")?12:-1))},dependencies:[O,B,A,V,$,q,te,ye,j,Q],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return t})();var ma=t=>["/","sobre",t],gn=(()=>{class t{userFacade=s(tt);userPhoto=s(Ie);form=new ft;photo=ke("");state=ke(null);i=0;constructor(){this.userFacade.selected$.pipe(R(e=>!!e),W(1)).subscribe(e=>{e.profile?.photo&&this.photo.set(e.profile.photo),this.form.patch(e)}),this.form.valueChanges.pipe(de(),He(4e3),Rt(1)).subscribe(()=>this.onSubmit())}changePhoto(e){this.userPhoto.open({file:e}).closed.subscribe(i=>{let{id:o,profile:l}=this.form.getRawValue();if(o&&i){let u=Et(At({},l),{id:o,photo:i});this.userFacade.updatePhoto(u),this.photo.set(URL.createObjectURL(i))}})}onSubmit(){let e=Vt(1e3).pipe(W(1));if(this.form.valid){let i=this.form.getRawValue();return this.state.set("Salvando..."),this.userFacade.update(i),e.subscribe(()=>this.state.set(null))}return this.form.markAllAsTouched(),e.subscribe(()=>this.state.set(null))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-account"]],features:[S([nt()])],decls:25,vars:9,consts:[["editor","markdownEditor"],[3,"submit","formGroup"],["formGroupName","profile"],["label","Bio","formControlName","minibio",3,"maxRows"],[3,"content"],["mat-flat-button","",3,"disabled"],[1,"user-avatar"],[3,"src"],[1,"select-file",3,"selectChange"],["mat-stroked-button","",3,"routerLink"]],template:function(i,o){if(i&1){let l=T();a(0,"form",1),g("submit",function(){return P(l),k(o.onSubmit())}),a(1,"section"),c(2,"devmx-account-user")(3,"devmx-account-contact")(4,"devmx-account-profile"),a(5,"fieldset")(6,"legend"),m(7,"Informa\xE7\xF5es p\xFAblicas"),r(),c(8,"devmx-account-visibility"),r(),c(9,"devmx-account-skills"),a(10,"section",2)(11,"devmx-markdown-toolbar"),c(12,"devmx-markdown-editor",3,0)(14,"devmx-markdown-view",4),r()(),a(15,"footer")(16,"button",5),m(17),r()()(),a(18,"aside")(19,"div",6),c(20,"devmx-avatar",7),a(21,"devmx-select-file",8),g("selectChange",function(E){return P(l),k(o.changePhoto(E))}),r()(),a(22,"a",9),m(23," Acessar p\xE1gina p\xFAblica "),r(),c(24,"devmx-account-social"),r()()}if(i&2){let l;d("formGroup",o.form),p(12),d("maxRows",80),p(2),d("content",(l=o.form.profile.controls.minibio==null?null:o.form.profile.controls.minibio.value)!==null&&l!==void 0?l:""),p(2),d("disabled",o.state()),p(),I(" ",o.state()?o.state():"Salvar"," "),p(3),d("src",o.photo()),p(2),d("routerLink",X(7,ma,o.form.controls.name.value))}},dependencies:[O,ze,A,U,We,V,K,mo,ro,lo,hn,nn,an,fn,rn,Uo,jo,N,Hi,Ye,en,Ce],styles:["[_nghost-%COMP%]{flex:1;gap:1em;padding:1em;display:flex;flex-direction:column;max-width:980px}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:64px;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] form[_ngcontent-%COMP%]{flex-direction:column-reverse}}[_nghost-%COMP%] .user-avatar[_ngcontent-%COMP%]{width:12em;display:flex;flex-direction:column}[_nghost-%COMP%] aside[_ngcontent-%COMP%]{gap:2em;width:16em;display:flex;padding:0 2em;flex-direction:column;align-items:center}[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex:1;gap:1em;display:flex;flex-direction:column;max-width:580px}[_nghost-%COMP%] fieldset[_ngcontent-%COMP%]{border:1px dashed rgba(0,0,0,.2);border-radius:.4em}[_nghost-%COMP%] fieldset[_ngcontent-%COMP%] legend[_ngcontent-%COMP%]{padding:.4em}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var pa=()=>[import("./chunk-SZNPDBBQ.js").then(t=>t.EventCardListComponent),J],da=()=>[pn,J],ua=()=>[sn,J],fa=()=>[import("./chunk-KDMTRYHW.js").then(t=>t.PresentationCardListComponent),J],ha=()=>[mn,J];function ga(t,n){t&1&&c(0,"devmx-event-card-list",4),t&2&&d("data",n.data)}function _a(t,n){if(t&1&&(_(0,ga,1,1,"devmx-event-card-list",4),G(1,"async")),t&2){let e,i=w();F((e=z(1,1,i.eventFacade.response$))?0:-1,e)}}function va(t,n){t&1&&c(0,"devmx-skeleton",5),t&2&&d("rows",4)}function Ca(t,n){t&1&&c(0,"devmx-album-card-list",4),t&2&&d("data",n.data)}function ya(t,n){if(t&1&&(_(0,Ca,1,1,"devmx-album-card-list",4),G(1,"async")),t&2){let e,i=w();F((e=z(1,1,i.albumFacade.response$))?0:-1,e)}}function ba(t,n){t&1&&c(0,"devmx-skeleton",5),t&2&&d("rows",4)}function Ma(t,n){t&1&&c(0,"devmx-job-opening-card-list",4),t&2&&d("data",n.data)}function xa(t,n){if(t&1&&(_(0,Ma,1,1,"devmx-job-opening-card-list",4),G(1,"async")),t&2){let e,i=w();F((e=z(1,1,i.jobOpeningFacade.response$))?0:-1,e)}}function Oa(t,n){t&1&&c(0,"devmx-skeleton",5),t&2&&d("rows",3)}function wa(t,n){t&1&&c(0,"devmx-presentation-card-list",4),t&2&&d("data",n.data)}function Sa(t,n){if(t&1&&(_(0,wa,1,1,"devmx-presentation-card-list",4),G(1,"async")),t&2){let e,i=w();F((e=z(1,1,i.presentationFacade.response$))?0:-1,e)}}function Pa(t,n){t&1&&c(0,"devmx-skeleton",5),t&2&&d("rows",4)}function ka(t,n){t&1&&c(0,"devmx-issue-card-list",4),t&2&&d("data",n)}function Fa(t,n){if(t&1&&(_(0,ka,1,1,"devmx-issue-card-list",4),G(1,"async")),t&2){let e,i=w();F((e=z(1,1,i.githubFacade.issues$))?0:-1,e)}}function Da(t,n){t&1&&c(0,"devmx-skeleton",5),t&2&&d("rows",3)}function Aa(t,n){t&1&&c(0,"devmx-contributors",4),t&2&&d("data",n)}var _n=(()=>{class t{githubFacade=s(Di);jobOpeningFacade=s(Qi);presentationFacade=s(Ei);albumFacade=s(Xi);eventFacade=s(Ji);constructor(){this.githubFacade.issues$.subscribe(e=>{e.map(i=>{console.log(i.state_reason)})}),this.githubFacade.loadContributors("devmx"),this.githubFacade.loadIssues("devmx"),this.eventFacade.setPage(0,6),this.eventFacade.load(),this.jobOpeningFacade.setPage(0,6),this.jobOpeningFacade.load(),this.presentationFacade.setPage(0,6),this.presentationFacade.load(),this.albumFacade.setPage(0,6),this.albumFacade.load()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=f({type:t,selectors:[["devmx-home"]],decls:27,vars:3,consts:[[1,"banner"],[1,"cards"],[1,"event-container"],[1,"skill-cards"],[3,"data"],[3,"rows"]],template:function(i,o){if(i&1&&(c(0,"header",0),a(1,"div",1)(2,"section",2),_(3,_a,2,3)(4,va,1,1),_e(5,3,pa,null,4),ve(500),_(7,ya,2,3)(8,ba,1,1),_e(9,7,da,null,8),ve(500),r(),a(11,"section",3),_(12,xa,2,3)(13,Oa,1,1),_e(14,12,ua,null,13),ve(500),_(16,Sa,2,3)(17,Pa,1,1),_e(18,16,fa,null,17),ve(500),r(),a(20,"section"),_(21,Fa,2,3)(22,Da,1,1),_e(23,21,ha,null,22),ve(500),r()(),_(25,Aa,1,1,"devmx-contributors",4),G(26,"async")),i&2){let l;p(25),F((l=z(26,1,o.githubFacade.contributors$))?25:-1,l)}},dependencies:[dn,to,Y,N,J],styles:["[_nghost-%COMP%]{flex:1;gap:1em;padding:1em;display:flex;flex-direction:column;max-width:calc(100vw - 2em)}[_nghost-%COMP%] .radio[_ngcontent-%COMP%]{display:inline-flex;background-color:#fff;border-radius:1.6em;padding:.2em;gap:.2em}[_nghost-%COMP%] .banner[_ngcontent-%COMP%]{flex:1;padding:1em 1.2em;display:flex;align-items:flex-end;justify-content:flex-end;min-height:256px;max-height:356px;border-radius:1em;background-image:url(/backgrounds/3d-horns.webp);background-position:center 50%;background-repeat:no-repeat;background-blend-mode:multiply;background-color:#999}[_nghost-%COMP%] .banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;filter:invert(.6);color:#666;font-size:2.8em;line-height:100%}@media (max-width: 767px){[_nghost-%COMP%] .banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.8em}}@media (max-width: 767px){[_nghost-%COMP%] .banner[_ngcontent-%COMP%]{background-size:242%}}[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{flex:1;gap:1em;display:grid}[_nghost-%COMP%] .cards[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column;max-width:calc(100vw - 3em)}@media (min-width: 768px){[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 767px){[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{grid-template-columns:1fr}}"],changeDetection:0})}return t})();var vn=()=>{let t=s(se),n=s(tt);return t.auth$.pipe(R(i=>!!i),W(1)).pipe(ue(i=>ao(n,{id:i.id})))};var ep=[{path:"autenticacao",loadChildren:()=>import("./chunk-XWYI7Y6E.js").then(t=>t.accountFeatureAuthRoutes)},{path:"",canActivate:[$o("member")],providers:Go,component:Ro,data:{breadcrumb:"Conta"},title:"Conta",children:[{path:"administracao",canActivate:[St("manager","director","staff","leader")],loadChildren:()=>ht(void 0,null,function*(){return import("./chunk-RGIFAF2T.js").then(t=>t.accountFeatureAdminRoutes)})},{path:"dashboard",canActivate:[St("manager","director")],loadChildren:()=>ht(void 0,null,function*(){return import("./chunk-R2BYSYX5.js").then(t=>t.accountFeatureBoardRoutes)})},{path:"configuracoes",title:"Configura\xE7\xF5es da conta",component:gn,resolve:{user:vn}},{path:"sair",title:"Sair",component:Bo},{path:"",title:"Inicio",component:_n},{path:"**",pathMatch:"full",redirectTo:"configuracoes"}]}];export{Ro as AccountFeatureShellComponent,ep as accountFeatureShellRoutes}; diff --git a/chunk-K4DUSKBE.js b/chunk-6O7ZXXYX.js similarity index 93% rename from chunk-K4DUSKBE.js rename to chunk-6O7ZXXYX.js index af76d95b..15f71b59 100644 --- a/chunk-K4DUSKBE.js +++ b/chunk-6O7ZXXYX.js @@ -1 +1 @@ -import{a as ae,b as ne}from"./chunk-5BAEVBCP.js";import{a as oe}from"./chunk-DUF4HXV7.js";import{a as Ut,b as Kt,c as Qt,d as Wt,e as Jt,f as Xt,g as Zt,h as te,i as ee,j as ie,k as re}from"./chunk-FROUXDRM.js";import{a as $t,b as zt}from"./chunk-4JU575PW.js";import{a as Gt}from"./chunk-56M6HFOE.js";import"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{a as Ot}from"./chunk-GXQHMTZK.js";import{c as Vt}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{z as B}from"./chunk-XYJHVZQT.js";import{d as Lt,e as qt}from"./chunk-VVQ6JEVH.js";import{e as wt,i as bt,j as Dt}from"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as Rt}from"./chunk-A3N3AUUJ.js";import{g as dt,h as ct,i as lt,p as mt,s as Ht,v as Et,x as It}from"./chunk-6BGAZ7SQ.js";import{c as b,d as S,g as a,h as m,i as k,j as f,k as ht,l as pt}from"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import{a as Nt,e as Bt,f as jt,i as Yt}from"./chunk-EC6LD5KM.js";import{a as Mt,c as xt,h as yt,i as At,m as kt,p as Pt,s as Tt,x as Ft}from"./chunk-EDIJ2EBQ.js";import{H as _t,Q as ut,W as St,X as gt,Y as Ct,ca as vt,q as ft}from"./chunk-W5KNOAKV.js";import{D as L,Ea as Q,Ja as W,Jc as ot,Kc as at,Mb as E,Nb as w,Sb as I,Sc as nt,Tb as h,Vb as R,Vc as A,Yb as P,a as F,bc as s,cc as d,dc as l,ea as q,ec as O,fa as $,fc as V,ha as z,hc as y,j as H,je as st,ka as n,kc as _,l as Y,la as G,lb as c,ma as U,mb as J,mc as u,nc as tt,oc as et,sa as K,ta as g,ua as C,ub as D,vb as X,wb as Z,wc as it,xc as N,yc as rt}from"./chunk-TEKHUYWQ.js";var de=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["devmx-learn-feature-admin"]],decls:1,vars:0,template:function(i,r){i&1&&l(0,"router-outlet")},dependencies:[ct],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var ce=[zt(),ne()];var fe=["mat-sort-header",""],_e=["*"];function ue(e,p){if(e&1){let t=y();s(0,"div",2),_("@arrowPosition.start",function(){g(t);let r=u();return C(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){g(t);let r=u();return C(r._disableViewStateAnimation=!1)}),l(1,"div",3),s(2,"div",4),l(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(e&2){let t=u();h("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),c(2),h("@indicator",t._getArrowDirectionState()),c(),h("@leftPointer",t._getArrowDirectionState()),c(),h("@rightPointer",t._getArrowDirectionState())}}var le=new z("MAT_SORT_DEFAULT_OPTIONS"),j=(()=>{class e{_defaultOptions;_initializedStream=new Y(1);sortables=new Map;_stateChanges=new H;active;start="asc";get direction(){return this._direction}set direction(t){this._direction=t}_direction="";disableClear;disabled=!1;sortChange=new Q;initialized=this._initializedStream;constructor(t){this._defaultOptions=t}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let i=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=Se(t.start||this.start,i),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(i){return new(i||e)(J(le,8))};static \u0275dir=Z({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",A],disabled:[2,"matSortDisabled","disabled",A]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[E,K]})}return e})();function Se(e,p){let t=["asc","desc"];return e=="desc"&&t.reverse(),p||t.push(""),t}var v=gt.ENTERING+" "+St.STANDARD_CURVE,M={indicator:b("indicator",[m("active-asc, asc",a({transform:"translateY(0px)"})),m("active-desc, desc",a({transform:"translateY(10px)"})),f("active-asc <=> active-desc",S(v))]),leftPointer:b("leftPointer",[m("active-asc, asc",a({transform:"rotate(-45deg)"})),m("active-desc, desc",a({transform:"rotate(45deg)"})),f("active-asc <=> active-desc",S(v))]),rightPointer:b("rightPointer",[m("active-asc, asc",a({transform:"rotate(45deg)"})),m("active-desc, desc",a({transform:"rotate(-45deg)"})),f("active-asc <=> active-desc",S(v))]),arrowOpacity:b("arrowOpacity",[m("desc-to-active, asc-to-active, active",a({opacity:1})),m("desc-to-hint, asc-to-hint, hint",a({opacity:.54})),m("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",a({opacity:0})),f("* => asc, * => desc, * => active, * => hint, * => void",S("0ms")),f("* <=> *",S(v))]),arrowPosition:b("arrowPosition",[f("* => desc-to-hint, * => desc-to-active",S(v,k([a({transform:"translateY(-25%)"}),a({transform:"translateY(0)"})]))),f("* => hint-to-desc, * => active-to-desc",S(v,k([a({transform:"translateY(0)"}),a({transform:"translateY(25%)"})]))),f("* => asc-to-hint, * => asc-to-active",S(v,k([a({transform:"translateY(25%)"}),a({transform:"translateY(0)"})]))),f("* => hint-to-asc, * => active-to-asc",S(v,k([a({transform:"translateY(0)"}),a({transform:"translateY(-25%)"})]))),m("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",a({transform:"translateY(0)"})),m("hint-to-desc, active-to-desc, desc",a({transform:"translateY(-25%)"})),m("hint-to-asc, active-to-asc, asc",a({transform:"translateY(25%)"}))]),allowChildren:b("allowChildren",[f("* <=> *",[pt("@*",ht(),{optional:!0})])])},T=(()=>{class e{changes=new H;static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ge(e){return e||new T}var Ce={provide:T,deps:[[new G,new U,T]],useFactory:ge},me=(()=>{class e{_intl=n(T);_changeDetectorRef=n(nt);_sort=n(j,{optional:!0});_columnDef=n("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_focusMonitor=n(ut);_elementRef=n(W);_ariaDescriber=n(_t,{optional:!0});_rerenderSubscription;_sortButton;_showIndicatorHint=!1;_viewState={};_arrowDirection="";_disableViewStateAnimation=!1;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}_sortActionDescription="Sort";disableClear;constructor(){n(ft).load(vt);let t=n(le,{optional:!0});this._sort,t?.arrowPosition&&(this.arrowPosition=t?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let i=!!t;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=L(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,r){i&1&&_("click",function(){return r._handleClick()})("keydown",function(x){return r._handleKeydown(x)})("mouseenter",function(){return r._setIndicatorHintVisible(!0)})("mouseleave",function(){return r._setIndicatorHintVisible(!1)}),i&2&&(I("aria-sort",r._getAriaSortAttribute()),R("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",A],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",A]},exportAs:["matSortHeader"],features:[E],attrs:fe,ngContentSelectors:_e,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(i,r){i&1&&(tt(),s(0,"div",0)(1,"div",1),et(2),d(),w(3,ue,6,6,"div",2),d()),i&2&&(R("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before"),I("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),c(3),P(r._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[M.indicator,M.leftPointer,M.rightPointer,M.arrowOpacity,M.arrowPosition,M.allowChildren]},changeDetection:0})}return e})(),he=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=X({type:e});static \u0275inj=$({providers:[Ce],imports:[Ct]})}return e})();function we(e,p){e&1&&(s(0,"th",20),N(1," Habilidade "),d())}function be(e,p){if(e&1&&(s(0,"td",21),N(1),d()),e&2){let t=p.$implicit;c(),rt(t.name)}}function De(e,p){e&1&&l(0,"th",22)}function Me(e,p){if(e&1){let t=y();s(0,"td",21)(1,"button",23),_("click",function(){let r=g(t).$implicit,o=u(2);return C(o.editSkill(r))}),l(2,"devmx-icon",24),d()()}}function xe(e,p){e&1&&l(0,"tr",25)}function ye(e,p){e&1&&l(0,"tr",26)}function Ae(e,p){if(e&1){let t=y();s(0,"table",6),_("matSortChange",function(r){g(t);let o=u();return C(o.onSortChange(r))}),O(1,7),w(2,we,2,0,"th",8)(3,be,2,1,"td",9),V(),O(4,10),w(5,De,1,0,"th",11)(6,Me,3,0,"td",9),V(),w(7,xe,1,0,"tr",12)(8,ye,1,0,"tr",13),d(),s(9,"mat-card-actions",14)(10,"form",15,0),_("submit",function(){g(t);let r=it(11),o=u();return C(o.onSubmit(r))}),s(12,"mat-form-field"),l(13,"input",16),s(14,"button",17),l(15,"devmx-icon",18),d()()(),s(16,"devmx-paginator",19),_("pageChange",function(r){g(t);let o=u();return C(o.onPageChange(r))}),d()()}if(e&2){let t=p,i=u();h("dataSource",t.data),c(7),h("matHeaderRowDef",i.columns),c(),h("matRowDefColumns",i.columns),c(2),h("formGroup",i.form),c(6),h("size",10)("items",t.items)}}var pe=(()=>{class e{router=n(lt);route=n(dt);skillFacade=n(Ot);skillDialog=n(ae);dialogFacade=n($t);columns=["name","actions"];form=new oe;constructor(){this.route.queryParams.pipe(Rt()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:i=0,size:r=10,name:o="",sort:x=""}=t;this.skillFacade.setFilter({name:o}),this.skillFacade.setPage(i,r),this.skillFacade.setSort(B.fromParams(x)),this.skillFacade.load(),console.log(this.route.snapshot.toString())};onSearchChange(t){let i=this.mergeParams({name:t});this.router.navigate([],{queryParams:i})}onPageChange(t){let i=this.mergeParams(t);this.router.navigate([],{queryParams:i})}onSortChange({active:t,direction:i}){let r=B.toParams(t,i),o=this.mergeParams(r);this.router.navigate([],{queryParams:o})}mergeParams(t){return F(F({},this.route.snapshot.queryParams),t)}onSubmit(t){this.form.valid&&(this.skillFacade.create(this.form.getRawValue()),t.resetForm())}createSkill(){this.skillDialog.open().subscribe(t=>{t&&this.skillFacade.create(t)})}editSkill(t){this.skillDialog.open(t).subscribe(i=>{i&&this.skillFacade.create(i)})}deleteSkill({id:t,name:i}){this.dialogFacade.confirm(`Confirme que deseja apagar a habilidade ${i}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(r=>{r&&this.skillFacade.delete(t)})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["devmx-admin-skills"]],decls:7,vars:4,consts:[["skillForm","ngForm"],["mat-fab","",1,"tertiary-fab","top","right",3,"click"],["name","plus"],[1,"skills-card"],[1,"skills-card-header"],[3,"searchChange","debounce"],["mat-table","","matSort","",3,"matSortChange","dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","name",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"skills-card-actions"],[3,"submit","formGroup"],["matInput","","formControlName","name","placeholder","Adicionar nova habilidade"],["mat-icon-button","","matIconSuffix",""],["name","send"],[3,"pageChange","size","items"],["mat-header-cell","","mat-sort-header","name"],["mat-cell",""],["mat-header-cell",""],["mat-icon-button","",3,"click"],["name","software/edit"],["mat-header-row",""],["mat-row",""]],template:function(i,r){if(i&1&&(s(0,"button",1),_("click",function(){return r.createSkill()}),l(1,"devmx-icon",2),d(),s(2,"mat-card",3)(3,"mat-card-header",4)(4,"devmx-search-field",5),_("searchChange",function(x){return r.onSearchChange(x)}),d()(),w(5,Ae,17,6),ot(6,"async"),d()),i&2){let o;c(4),h("debounce",800),c(),P((o=at(6,2,r.skillFacade.response$))?5:-1,o)}},dependencies:[mt,re,Ut,Qt,Zt,Wt,Kt,te,Jt,Xt,ee,ie,It,Et,Ht,Dt,bt,wt,Ft,kt,xt,yt,At,Pt,Tt,Gt,Vt,qt,Lt,he,j,me,Mt,Yt,Nt,Bt,jt,st],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{width:4em}[_nghost-%COMP%] .skills-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-left:1em}"],changeDetection:0})}return e})();var Pi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:ce,component:de,children:[{path:"",data:{breadcrumb:"Habilidades"},title:"Administrar hbilidades",component:pe}]}];export{de as LearnFeatureAdminComponent,Pi as learnFeatureAdminRoutes}; +import{a as ae,b as ne}from"./chunk-2ZIXK45P.js";import{a as oe}from"./chunk-4GWBJQXV.js";import{a as Ut,b as Kt,c as Qt,d as Wt,e as Jt,f as Xt,g as Zt,h as te,i as ee,j as ie,k as re}from"./chunk-TDAJGOKB.js";import{a as $t,b as zt}from"./chunk-HOUESFGN.js";import{a as Gt}from"./chunk-5XJFAPMG.js";import"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{a as Ot}from"./chunk-FKKUCUPL.js";import{c as Vt}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{z as B}from"./chunk-7BKB7KKA.js";import{d as Lt,e as qt}from"./chunk-A74J7Y3C.js";import{e as wt,i as bt,j as Dt}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as Rt}from"./chunk-366DNJGU.js";import{g as dt,h as ct,i as lt,p as mt,s as Ht,v as Et,x as It}from"./chunk-7RMPQIRR.js";import{c as b,d as S,g as a,h as m,i as k,j as f,k as ht,l as pt}from"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import{a as Nt,e as Bt,f as jt,i as Yt}from"./chunk-BJ2ND26O.js";import{a as Mt,c as xt,h as yt,i as At,m as kt,p as Pt,s as Tt,x as Ft}from"./chunk-E5QACR6S.js";import{J as _t,S as ut,Y as St,Z as gt,_ as Ct,ea as vt,s as ft}from"./chunk-CG5OOKZO.js";import{D as L,Ea as Q,Ja as W,Jc as ot,Kc as at,Mb as E,Nb as w,Sb as I,Sc as nt,Tb as h,Vb as R,Vc as A,Yb as P,a as F,bc as s,cc as d,dc as l,ea as q,ec as O,fa as $,fc as V,ha as z,hc as y,j as H,je as st,ka as n,kc as _,l as Y,la as G,lb as c,ma as U,mb as J,mc as u,nc as tt,oc as et,sa as K,ta as g,ua as C,ub as D,vb as X,wb as Z,wc as it,xc as N,yc as rt}from"./chunk-5L47ZUSK.js";var de=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["devmx-learn-feature-admin"]],decls:1,vars:0,template:function(i,r){i&1&&l(0,"router-outlet")},dependencies:[ct],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var ce=[zt(),ne()];var fe=["mat-sort-header",""],_e=["*"];function ue(e,p){if(e&1){let t=y();s(0,"div",2),_("@arrowPosition.start",function(){g(t);let r=u();return C(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){g(t);let r=u();return C(r._disableViewStateAnimation=!1)}),l(1,"div",3),s(2,"div",4),l(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(e&2){let t=u();h("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),c(2),h("@indicator",t._getArrowDirectionState()),c(),h("@leftPointer",t._getArrowDirectionState()),c(),h("@rightPointer",t._getArrowDirectionState())}}var le=new z("MAT_SORT_DEFAULT_OPTIONS"),j=(()=>{class e{_defaultOptions;_initializedStream=new Y(1);sortables=new Map;_stateChanges=new H;active;start="asc";get direction(){return this._direction}set direction(t){this._direction=t}_direction="";disableClear;disabled=!1;sortChange=new Q;initialized=this._initializedStream;constructor(t){this._defaultOptions=t}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let i=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=Se(t.start||this.start,i),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(i){return new(i||e)(J(le,8))};static \u0275dir=Z({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",A],disabled:[2,"matSortDisabled","disabled",A]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[E,K]})}return e})();function Se(e,p){let t=["asc","desc"];return e=="desc"&&t.reverse(),p||t.push(""),t}var v=gt.ENTERING+" "+St.STANDARD_CURVE,M={indicator:b("indicator",[m("active-asc, asc",a({transform:"translateY(0px)"})),m("active-desc, desc",a({transform:"translateY(10px)"})),f("active-asc <=> active-desc",S(v))]),leftPointer:b("leftPointer",[m("active-asc, asc",a({transform:"rotate(-45deg)"})),m("active-desc, desc",a({transform:"rotate(45deg)"})),f("active-asc <=> active-desc",S(v))]),rightPointer:b("rightPointer",[m("active-asc, asc",a({transform:"rotate(45deg)"})),m("active-desc, desc",a({transform:"rotate(-45deg)"})),f("active-asc <=> active-desc",S(v))]),arrowOpacity:b("arrowOpacity",[m("desc-to-active, asc-to-active, active",a({opacity:1})),m("desc-to-hint, asc-to-hint, hint",a({opacity:.54})),m("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",a({opacity:0})),f("* => asc, * => desc, * => active, * => hint, * => void",S("0ms")),f("* <=> *",S(v))]),arrowPosition:b("arrowPosition",[f("* => desc-to-hint, * => desc-to-active",S(v,k([a({transform:"translateY(-25%)"}),a({transform:"translateY(0)"})]))),f("* => hint-to-desc, * => active-to-desc",S(v,k([a({transform:"translateY(0)"}),a({transform:"translateY(25%)"})]))),f("* => asc-to-hint, * => asc-to-active",S(v,k([a({transform:"translateY(25%)"}),a({transform:"translateY(0)"})]))),f("* => hint-to-asc, * => active-to-asc",S(v,k([a({transform:"translateY(0)"}),a({transform:"translateY(-25%)"})]))),m("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",a({transform:"translateY(0)"})),m("hint-to-desc, active-to-desc, desc",a({transform:"translateY(-25%)"})),m("hint-to-asc, active-to-asc, asc",a({transform:"translateY(25%)"}))]),allowChildren:b("allowChildren",[f("* <=> *",[pt("@*",ht(),{optional:!0})])])},T=(()=>{class e{changes=new H;static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ge(e){return e||new T}var Ce={provide:T,deps:[[new G,new U,T]],useFactory:ge},me=(()=>{class e{_intl=n(T);_changeDetectorRef=n(nt);_sort=n(j,{optional:!0});_columnDef=n("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_focusMonitor=n(ut);_elementRef=n(W);_ariaDescriber=n(_t,{optional:!0});_rerenderSubscription;_sortButton;_showIndicatorHint=!1;_viewState={};_arrowDirection="";_disableViewStateAnimation=!1;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}_sortActionDescription="Sort";disableClear;constructor(){n(ft).load(vt);let t=n(le,{optional:!0});this._sort,t?.arrowPosition&&(this.arrowPosition=t?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let i=!!t;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=L(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,r){i&1&&_("click",function(){return r._handleClick()})("keydown",function(x){return r._handleKeydown(x)})("mouseenter",function(){return r._setIndicatorHintVisible(!0)})("mouseleave",function(){return r._setIndicatorHintVisible(!1)}),i&2&&(I("aria-sort",r._getAriaSortAttribute()),R("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",A],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",A]},exportAs:["matSortHeader"],features:[E],attrs:fe,ngContentSelectors:_e,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(i,r){i&1&&(tt(),s(0,"div",0)(1,"div",1),et(2),d(),w(3,ue,6,6,"div",2),d()),i&2&&(R("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before"),I("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),c(3),P(r._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[M.indicator,M.leftPointer,M.rightPointer,M.arrowOpacity,M.arrowPosition,M.allowChildren]},changeDetection:0})}return e})(),he=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=X({type:e});static \u0275inj=$({providers:[Ce],imports:[Ct]})}return e})();function we(e,p){e&1&&(s(0,"th",20),N(1," Habilidade "),d())}function be(e,p){if(e&1&&(s(0,"td",21),N(1),d()),e&2){let t=p.$implicit;c(),rt(t.name)}}function De(e,p){e&1&&l(0,"th",22)}function Me(e,p){if(e&1){let t=y();s(0,"td",21)(1,"button",23),_("click",function(){let r=g(t).$implicit,o=u(2);return C(o.editSkill(r))}),l(2,"devmx-icon",24),d()()}}function xe(e,p){e&1&&l(0,"tr",25)}function ye(e,p){e&1&&l(0,"tr",26)}function Ae(e,p){if(e&1){let t=y();s(0,"table",6),_("matSortChange",function(r){g(t);let o=u();return C(o.onSortChange(r))}),O(1,7),w(2,we,2,0,"th",8)(3,be,2,1,"td",9),V(),O(4,10),w(5,De,1,0,"th",11)(6,Me,3,0,"td",9),V(),w(7,xe,1,0,"tr",12)(8,ye,1,0,"tr",13),d(),s(9,"mat-card-actions",14)(10,"form",15,0),_("submit",function(){g(t);let r=it(11),o=u();return C(o.onSubmit(r))}),s(12,"mat-form-field"),l(13,"input",16),s(14,"button",17),l(15,"devmx-icon",18),d()()(),s(16,"devmx-paginator",19),_("pageChange",function(r){g(t);let o=u();return C(o.onPageChange(r))}),d()()}if(e&2){let t=p,i=u();h("dataSource",t.data),c(7),h("matHeaderRowDef",i.columns),c(),h("matRowDefColumns",i.columns),c(2),h("formGroup",i.form),c(6),h("size",10)("items",t.items)}}var pe=(()=>{class e{router=n(lt);route=n(dt);skillFacade=n(Ot);skillDialog=n(ae);dialogFacade=n($t);columns=["name","actions"];form=new oe;constructor(){this.route.queryParams.pipe(Rt()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:i=0,size:r=10,name:o="",sort:x=""}=t;this.skillFacade.setFilter({name:o}),this.skillFacade.setPage(i,r),this.skillFacade.setSort(B.fromParams(x)),this.skillFacade.load(),console.log(this.route.snapshot.toString())};onSearchChange(t){let i=this.mergeParams({name:t});this.router.navigate([],{queryParams:i})}onPageChange(t){let i=this.mergeParams(t);this.router.navigate([],{queryParams:i})}onSortChange({active:t,direction:i}){let r=B.toParams(t,i),o=this.mergeParams(r);this.router.navigate([],{queryParams:o})}mergeParams(t){return F(F({},this.route.snapshot.queryParams),t)}onSubmit(t){this.form.valid&&(this.skillFacade.create(this.form.getRawValue()),t.resetForm())}createSkill(){this.skillDialog.open().subscribe(t=>{t&&this.skillFacade.create(t)})}editSkill(t){this.skillDialog.open(t).subscribe(i=>{i&&this.skillFacade.create(i)})}deleteSkill({id:t,name:i}){this.dialogFacade.confirm(`Confirme que deseja apagar a habilidade ${i}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(r=>{r&&this.skillFacade.delete(t)})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=D({type:e,selectors:[["devmx-admin-skills"]],decls:7,vars:4,consts:[["skillForm","ngForm"],["mat-fab","",1,"tertiary-fab","top","right",3,"click"],["name","plus"],[1,"skills-card"],[1,"skills-card-header"],[3,"searchChange","debounce"],["mat-table","","matSort","",3,"matSortChange","dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","name",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"skills-card-actions"],[3,"submit","formGroup"],["matInput","","formControlName","name","placeholder","Adicionar nova habilidade"],["mat-icon-button","","matIconSuffix",""],["name","send"],[3,"pageChange","size","items"],["mat-header-cell","","mat-sort-header","name"],["mat-cell",""],["mat-header-cell",""],["mat-icon-button","",3,"click"],["name","software/edit"],["mat-header-row",""],["mat-row",""]],template:function(i,r){if(i&1&&(s(0,"button",1),_("click",function(){return r.createSkill()}),l(1,"devmx-icon",2),d(),s(2,"mat-card",3)(3,"mat-card-header",4)(4,"devmx-search-field",5),_("searchChange",function(x){return r.onSearchChange(x)}),d()(),w(5,Ae,17,6),ot(6,"async"),d()),i&2){let o;c(4),h("debounce",800),c(),P((o=at(6,2,r.skillFacade.response$))?5:-1,o)}},dependencies:[mt,re,Ut,Qt,Zt,Wt,Kt,te,Jt,Xt,ee,ie,It,Et,Ht,Dt,bt,wt,Ft,kt,xt,yt,At,Pt,Tt,Gt,Vt,qt,Lt,he,j,me,Mt,Yt,Nt,Bt,jt,st],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{width:4em}[_nghost-%COMP%] .skills-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-left:1em}"],changeDetection:0})}return e})();var Pi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:ce,component:de,children:[{path:"",data:{breadcrumb:"Habilidades"},title:"Administrar hbilidades",component:pe}]}];export{de as LearnFeatureAdminComponent,Pi as learnFeatureAdminRoutes}; diff --git a/chunk-73QBZNVE.js b/chunk-6PKCOWVT.js similarity index 98% rename from chunk-73QBZNVE.js rename to chunk-6PKCOWVT.js index 60638a40..075e0337 100644 --- a/chunk-73QBZNVE.js +++ b/chunk-6PKCOWVT.js @@ -1 +1 @@ -import{a as X,b as Z,e as J,f as tt}from"./chunk-Q2N7RZTH.js";import{o as O,r as Q}from"./chunk-AND6K73U.js";import{f as W,g as $}from"./chunk-BJXILAOS.js";import{z as K}from"./chunk-6BGAZ7SQ.js";import{T as x,Y as T,s as U,u as A}from"./chunk-W5KNOAKV.js";import{D as L,Ea as N,F as d,Ja as y,Kb as p,L as g,Lb as G,Nb as j,Pa as B,Sb as v,Vb as D,Z as S,a as m,b as k,bc as H,cc as Y,ea as M,fa as F,ha as h,ic as C,j as l,ka as n,kc as q,sa as P,ub as z,vb as V,wb as r,xa as u,y as E}from"./chunk-TEKHUYWQ.js";function ct(t,o){}var _=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},w="mdc-dialog--open",et="mdc-dialog--opening",it="mdc-dialog--closing",mt=150,gt=75,ht=(()=>{class t extends Z{_animationMode=n(B,{optional:!0});_animationStateChanged=new N;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?ot(this._config.enterAnimationDuration)??mt:0;_exitAnimationDuration=this._animationsEnabled?ot(this._config.exitAnimationDuration)??gt:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(at,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(et,w)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(w),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(w),this._animationsEnabled?(this._hostElement.style.setProperty(at,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(it)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(et,it)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275cmp=z({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,a){i&2&&(C("id",a._config.id),v("aria-modal",a._config.ariaModal)("role",a._config.role)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null),D("_mat-animation-noopable",!a._animationsEnabled)("mat-mdc-dialog-container-with-actions",a._actionSectionCount>0))},features:[p],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,a){i&1&&(H(0,"div",0)(1,"div",1),j(2,ct,0,0,"ng-template",2),Y()())},dependencies:[W],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}return t})(),at="--mat-dialog-transition-duration";function ot(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?A(t.substring(0,t.length-2)):t.endsWith("s")?A(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var f=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(f||{}),c=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new l;_beforeClosed=new l;_result;_closeFallbackTimeout;_state=f.OPEN;_closeInteractionType;constructor(o,e,i){this._ref=o,this._containerInstance=i,this.disableClose=e.disableClose,this.id=o.id,o.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(d(a=>a.state==="opened"),g(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(d(a=>a.state==="closed"),g(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),L(this.backdropClick(),this.keydownEvents().pipe(d(a=>a.keyCode===27&&!this.disableClose&&!U(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),nt(this,a.type==="keydown"?"keyboard":"mouse"))})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe(d(e=>e.state==="closing"),g(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=f.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(o){let e=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",e=""){return this._ref.updateSize(o,e),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=f.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function nt(t,o,e){return t._closeInteractionType=o,t.close(e)}var ut=new h("MatMdcDialogData"),pt=new h("mat-mdc-dialog-default-options"),ft=new h("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=n(O);return()=>t.scrollStrategies.block()}});var I=(()=>{class t{_overlay=n(O);_defaultOptions=n(pt,{optional:!0});_scrollStrategy=n(ft);_parentDialog=n(t,{optional:!0,skipSelf:!0});_idGenerator=n(x);_dialog=n(J);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new l;_afterOpenedAtThisLevel=new l;dialogConfigClass=_;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=E(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(S(void 0)));constructor(){this._dialogRefConstructor=c,this._dialogContainerType=ht,this._dialogDataToken=ut}open(e,i){let a;i=m(m({},this._defaultOptions||new _),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let b=this._dialog.open(e,k(m({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:X,useValue:i}]},templateContext:()=>({dialogRef:a}),providers:(s,lt,R)=>(a=new this._dialogRefConstructor(s,i,R),a.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:R},{provide:this._dialogDataToken,useValue:lt.data},{provide:this._dialogRefConstructor,useValue:a}])}));return a.componentRef=b.componentRef,a.componentInstance=b.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(a);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pt=(()=>{class t{dialogRef=n(c,{optional:!0});_elementRef=n(y);_dialog=n(I);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=rt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){nt(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,a){i&1&&q("click",function(s){return a._onButtonClick(s)}),i&2&&v("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[P]})}return t})(),st=(()=>{class t{_dialogRef=n(c,{optional:!0});_elementRef=n(y);_dialog=n(I);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=rt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t})}return t})(),Nt=(()=>{class t extends st{id=n(x).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275dir=r({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,a){i&2&&C("id",a.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[p]})}return t})(),Bt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[G([K])]})}return t})(),zt=(()=>{class t extends st{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275dir=r({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,a){i&2&&D("mat-mdc-dialog-actions-align-start",a.align==="start")("mat-mdc-dialog-actions-align-center",a.align==="center")("mat-mdc-dialog-actions-align-end",a.align==="end")},inputs:{align:"align"},features:[p]})}return t})();function rt(t,o){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?o.find(i=>i.id===e.id):null}var Vt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=F({providers:[I],imports:[tt,Q,$,T,T]})}return t})();export{c as a,ut as b,I as c,Pt as d,Nt as e,Bt as f,zt as g,Vt as h}; +import{a as X,b as Z,e as J,f as tt}from"./chunk-BJPVFIKR.js";import{o as O,r as Q}from"./chunk-TJJFEYFG.js";import{f as W,g as $}from"./chunk-76QZXEBP.js";import{z as K}from"./chunk-7RMPQIRR.js";import{V as x,_ as T,u as U,w as A}from"./chunk-CG5OOKZO.js";import{D as L,Ea as N,F as d,Ja as y,Kb as p,L as g,Lb as G,Nb as j,Pa as B,Sb as v,Vb as D,Z as S,a as m,b as k,bc as H,cc as Y,ea as M,fa as F,ha as h,ic as C,j as l,ka as n,kc as q,sa as P,ub as z,vb as V,wb as r,xa as u,y as E}from"./chunk-5L47ZUSK.js";function ct(t,o){}var _=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},w="mdc-dialog--open",et="mdc-dialog--opening",it="mdc-dialog--closing",mt=150,gt=75,ht=(()=>{class t extends Z{_animationMode=n(B,{optional:!0});_animationStateChanged=new N;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?ot(this._config.enterAnimationDuration)??mt:0;_exitAnimationDuration=this._animationsEnabled?ot(this._config.exitAnimationDuration)??gt:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(at,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(et,w)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(w),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(w),this._animationsEnabled?(this._hostElement.style.setProperty(at,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(it)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(et,it)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275cmp=z({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,a){i&2&&(C("id",a._config.id),v("aria-modal",a._config.ariaModal)("role",a._config.role)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null),D("_mat-animation-noopable",!a._animationsEnabled)("mat-mdc-dialog-container-with-actions",a._actionSectionCount>0))},features:[p],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,a){i&1&&(H(0,"div",0)(1,"div",1),j(2,ct,0,0,"ng-template",2),Y()())},dependencies:[W],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}return t})(),at="--mat-dialog-transition-duration";function ot(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?A(t.substring(0,t.length-2)):t.endsWith("s")?A(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var f=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(f||{}),c=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new l;_beforeClosed=new l;_result;_closeFallbackTimeout;_state=f.OPEN;_closeInteractionType;constructor(o,e,i){this._ref=o,this._containerInstance=i,this.disableClose=e.disableClose,this.id=o.id,o.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(d(a=>a.state==="opened"),g(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(d(a=>a.state==="closed"),g(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),L(this.backdropClick(),this.keydownEvents().pipe(d(a=>a.keyCode===27&&!this.disableClose&&!U(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),nt(this,a.type==="keydown"?"keyboard":"mouse"))})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe(d(e=>e.state==="closing"),g(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=f.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(o){let e=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",e=""){return this._ref.updateSize(o,e),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=f.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function nt(t,o,e){return t._closeInteractionType=o,t.close(e)}var ut=new h("MatMdcDialogData"),pt=new h("mat-mdc-dialog-default-options"),ft=new h("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=n(O);return()=>t.scrollStrategies.block()}});var I=(()=>{class t{_overlay=n(O);_defaultOptions=n(pt,{optional:!0});_scrollStrategy=n(ft);_parentDialog=n(t,{optional:!0,skipSelf:!0});_idGenerator=n(x);_dialog=n(J);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new l;_afterOpenedAtThisLevel=new l;dialogConfigClass=_;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=E(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(S(void 0)));constructor(){this._dialogRefConstructor=c,this._dialogContainerType=ht,this._dialogDataToken=ut}open(e,i){let a;i=m(m({},this._defaultOptions||new _),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let b=this._dialog.open(e,k(m({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:X,useValue:i}]},templateContext:()=>({dialogRef:a}),providers:(s,lt,R)=>(a=new this._dialogRefConstructor(s,i,R),a.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:R},{provide:this._dialogDataToken,useValue:lt.data},{provide:this._dialogRefConstructor,useValue:a}])}));return a.componentRef=b.componentRef,a.componentInstance=b.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(a);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pt=(()=>{class t{dialogRef=n(c,{optional:!0});_elementRef=n(y);_dialog=n(I);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=rt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){nt(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,a){i&1&&q("click",function(s){return a._onButtonClick(s)}),i&2&&v("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[P]})}return t})(),st=(()=>{class t{_dialogRef=n(c,{optional:!0});_elementRef=n(y);_dialog=n(I);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=rt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t})}return t})(),Nt=(()=>{class t extends st{id=n(x).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275dir=r({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,a){i&2&&C("id",a.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[p]})}return t})(),Bt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=r({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[G([K])]})}return t})(),zt=(()=>{class t extends st{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(a){return(e||(e=u(t)))(a||t)}})();static \u0275dir=r({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,a){i&2&&D("mat-mdc-dialog-actions-align-start",a.align==="start")("mat-mdc-dialog-actions-align-center",a.align==="center")("mat-mdc-dialog-actions-align-end",a.align==="end")},inputs:{align:"align"},features:[p]})}return t})();function rt(t,o){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?o.find(i=>i.id===e.id):null}var Vt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=F({providers:[I],imports:[tt,Q,$,T,T]})}return t})();export{c as a,ut as b,I as c,Pt as d,Nt as e,Bt as f,zt as g,Vt as h}; diff --git a/chunk-WPU27ID5.js b/chunk-75BM4JAG.js similarity index 98% rename from chunk-WPU27ID5.js rename to chunk-75BM4JAG.js index c181abc2..3f582024 100644 --- a/chunk-WPU27ID5.js +++ b/chunk-75BM4JAG.js @@ -1,2 +1,2 @@ -import{a as he,b as pe}from"./chunk-AFH22WZE.js";import{a as xe,b as ke,c as ye,d as Ce,e as Te,f as Ie,g as Me,h as Re}from"./chunk-73QBZNVE.js";import{a as ce,b as me}from"./chunk-2XST3EDK.js";import{a as fe,b as be,c as ve,h as ge}from"./chunk-O3T3UZHL.js";import{a as ue,b as _e,d as yt,e as Ct}from"./chunk-VVQ6JEVH.js";import{b as Q,c as j,e as ae,i as Z,j as Y}from"./chunk-AND6K73U.js";import{a as le}from"./chunk-A3N3AUUJ.js";import{q as se,x as de}from"./chunk-6BGAZ7SQ.js";import{b as vt,c as gt,h as S,i as xt,m as ne,o as w,p as kt,x as k}from"./chunk-EDIJ2EBQ.js";import{Q as Kt,T as Dt,U as Jt,Y as ot,aa as te,ca as ft,da as At,f as ht,fa as ee,ga as nt,ha as bt,na as ie,q as pt,sa as re,ya as oe}from"./chunk-W5KNOAKV.js";import{$b as C,Aa as Nt,Ba as Lt,Ea as z,Fa as $,Fb as qt,Fc as B,Ha as Gt,Ia as v,J as Ut,Ja as X,Jc as F,Kc as N,Lc as Yt,Mb as H,Nb as p,Pa as lt,Sb as it,Sc as q,Tb as c,Ub as Wt,Va as zt,Vb as rt,Vc as y,Wb as wt,Wc as E,Yb as f,Zb as $t,_b as A,ac as T,bc as m,cc as u,da as st,dc as _,ec as Ht,fa as dt,fc as Qt,ha as P,hc as jt,j as Ot,ka as l,kc as O,lb as s,mc as d,nc as ut,oc as _t,pc as at,qc as V,rc as M,sc as R,ta as Et,te as L,ua as St,ub as g,vb as ct,wb as mt,wc as Zt,xb as Xt,xc as b,yc as x,za as Bt,zc as U}from"./chunk-TEKHUYWQ.js";var qe=["knob"],We=["valueIndicatorContainer"];function $e(i,o){if(i&1&&(m(0,"div",2,1)(2,"div",5)(3,"span",6),b(4),u()()()),i&2){let t=d();s(4),x(t.valueIndicatorText)}}var He=["trackActive"],Qe=["*"];function je(i,o){if(i&1&&_(0,"div"),i&2){let t=o.$implicit,e=o.$index,r=d(3);wt(t===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),Wt("transform",r._calcTickMarkTransform(e))}}function Ze(i,o){if(i&1&&C(0,je,1,4,"div",8,$t),i&2){let t=d(2);T(t._tickMarks)}}function Ye(i,o){if(i&1&&(m(0,"div",6,1),p(2,Ze,2,0),u()),i&2){let t=d();s(2),f(t._cachedWidth?2:-1)}}function Ke(i,o){if(i&1&&_(0,"mat-slider-visual-thumb",7),i&2){let t=d();c("discrete",t.discrete)("thumbPosition",1)("valueIndicatorText",t.startValueIndicatorText)}}var n=function(i){return i[i.START=1]="START",i[i.END=2]="END",i}(n||{}),K=function(i){return i[i.ACTIVE=0]="ACTIVE",i[i.INACTIVE=1]="INACTIVE",i}(K||{}),Vt=new P("_MatSlider"),Ee=new P("_MatSliderThumb"),Je=new P("_MatSliderRangeThumb"),Se=new P("_MatSliderVisualThumb");var ti=(()=>{class i{_cdr=l(q);_ngZone=l($);_slider=l(Vt);discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=l(X).nativeElement;_platform=l(ht);constructor(){}ngAfterViewInit(){let t=this._slider._getInput(this.thumbPosition);t&&(this._ripple.radius=24,this._sliderInput=t,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(()=>{let e=this._sliderInputEl;e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)}))}ngOnDestroy(){let t=this._sliderInputEl;t&&(t.removeEventListener("pointermove",this._onPointerMove),t.removeEventListener("pointerdown",this._onDragStart),t.removeEventListener("pointerup",this._onDragEnd),t.removeEventListener("pointerleave",this._onMouseLeave),t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur))}_onPointerMove=t=>{if(this._sliderInput._isFocused)return;let e=this._hostElement.getBoundingClientRect(),r=this._slider._isCursorOnSliderThumb(t,e);this._isHovered=r,r?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)};_onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)};_onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")};_onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")};_onDragStart=t=>{t.button===0&&(this._isActive=!0,this._showActiveRipple())};_onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()};_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(t){return t?.state===At.FADING_IN||t?.state===At.VISIBLE}_showRipple(t,e){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===n.START?n.END:n.START)._showValueIndicator(),!(this._slider._globalRippleOptions?.disabled&&!e)))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:t,centered:!0,persistent:!0})}_hideRipple(t){if(t?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();let e=this._getSibling();e._isShowingAnyRipple()||(this._hideValueIndicator(),e._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===n.START?n.END:n.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(e,r){if(e&1&&(V(nt,5),V(qe,5),V(We,5)),e&2){let a;M(a=R())&&(r._ripple=a.first),M(a=R())&&(r._knob=a.first),M(a=R())&&(r._valueIndicatorContainer=a.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[B([{provide:Se,useExisting:i}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(e,r){e&1&&(p(0,$e,5,1,"div",2),_(1,"div",3,0)(3,"div",4)),e&2&&(f(r.discrete?0:-1),s(3),c("matRippleDisabled",!0))},dependencies:[nt],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return i})(),we=(()=>{class i{_ngZone=l($);_cdr=l(q);_elementRef=l(X);_dir=l(Jt,{optional:!0});_globalRippleOptions=l(ee,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(t){this._disabled=t;let e=this._getInput(n.END),r=this._getInput(n.START);e&&(e.disabled=this._disabled),r&&(r.disabled=this._disabled)}_disabled=!1;get discrete(){return this._discrete}set discrete(t){this._discrete=t,this._updateValueIndicatorUIs()}_discrete=!1;showTickMarks=!1;get min(){return this._min}set min(t){let e=isNaN(t)?this._min:t;this._min!==e&&this._updateMin(e)}_min=0;color;disableRipple=!1;_updateMin(t){let e=this._min;this._min=t,this._isRange?this._updateMinRange({old:e,new:t}):this._updateMinNonRange(t),this._onMinMaxOrStepChange()}_updateMinRange(t){let e=this._getInput(n.END),r=this._getInput(n.START),a=e.value,h=r.value;r.min=t.new,e.min=Math.max(t.new,r.value),r.max=Math.min(e.max,e.value),r._updateWidthInactive(),e._updateWidthInactive(),t.newt.old?this._onTranslateXChangeBySideEffect(r,e):this._onTranslateXChangeBySideEffect(e,r),a!==e.value&&this._onValueChange(e),h!==r.value&&this._onValueChange(r)}_updateMaxNonRange(t){let e=this._getInput(n.END);if(e){let r=e.value;e.max=t,e._updateThumbUIByValue(),this._updateTrackUI(e),r!==e.value&&this._onValueChange(e)}}get step(){return this._step}set step(t){let e=isNaN(t)?this._step:t;this._step!==e&&this._updateStep(e)}_step=1;_updateStep(t){this._step=t,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){let t=this._getInput(n.END),e=this._getInput(n.START),r=t.value,a=e.value,h=e.value;t.min=this._min,e.max=this._max,t.step=this._step,e.step=this._step,this._platform.SAFARI&&(t.value=t.value,e.value=e.value),t.min=Math.max(this._min,e.value),e.max=Math.min(this._max,t.value),e._updateWidthInactive(),t._updateWidthInactive(),t.value`${t}`;_tickMarks;_noopAnimations;_dirChangeSubscription;_resizeObserver;_cachedWidth;_cachedLeft;_rippleRadius=24;startValueIndicatorText="";endValueIndicatorText="";_endThumbTransform;_startThumbTransform;_isRange=!1;_isRtl=!1;_hasViewInitialized=!1;_tickMarkTrackWidth=0;_hasAnimation=!1;_resizeTimer=null;_platform=l(ht);constructor(){l(pt).load(ft);let t=l(lt,{optional:!0});this._noopAnimations=t==="NoopAnimations",this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl=this._dir.value==="rtl")}_knobRadius=8;_inputPadding;ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();let t=this._getInput(n.END),e=this._getInput(n.START);this._isRange=!!t&&!!e,this._cdr.detectChanges();let r=this._getThumb(n.END);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(t,e):this._initUINonRange(t),this._updateTrackUI(t),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(t){t.initProps(),t.initUI(),this._updateValueIndicatorUI(t),this._hasViewInitialized=!0,t._updateThumbUIByValue()}_initUIRange(t,e){t.initProps(),t.initUI(),e.initProps(),e.initUI(),t._updateMinMax(),e._updateMinMax(),t._updateStaticStyles(),e._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,t._updateThumbUIByValue(),e._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl=this._dir?.value==="rtl",this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){let t=this._getInput(n.END),e=this._getInput(n.START);t._setIsLeftThumb(),e._setIsLeftThumb(),t.translateX=t._calcTranslateXByValue(),e.translateX=e._calcTranslateXByValue(),t._updateStaticStyles(),e._updateStaticStyles(),t._updateWidthInactive(),e._updateWidthInactive(),t._updateThumbUIByValue(),e._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(n.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(n.START)._isActive||this._getThumb(n.END)._isActive}_getValue(t=n.END){let e=this._getInput(t);return e?e.value:this.min}_skipUpdate(){return!!(this._getInput(n.START)?._skipUIUpdate||this._getInput(n.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(t){let e=this._trackActive.nativeElement.style;e.left=t.left,e.right=t.right,e.transformOrigin=t.transformOrigin,e.transform=t.transform}_calcTickMarkTransform(t){return`translateX(${t*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(t){this._hasViewInitialized&&(this._updateThumbUI(t),this._updateTrackUI(t),this._updateOverlappingThumbUI(t))}_onTranslateXChangeBySideEffect(t,e){this._hasViewInitialized&&(t._updateThumbUIByValue(),e._updateThumbUIByValue())}_onValueChange(t){this._hasViewInitialized&&(this._updateValueIndicatorUI(t),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){let t=this._getInput(n.END),e=this._getInput(n.START);t._updateThumbUIByValue(),e._updateThumbUIByValue(),t._updateStaticStyles(),e._updateStaticStyles(),t._updateMinMax(),e._updateMinMax(),t._updateWidthInactive(),e._updateWidthInactive()}else{let t=this._getInput(n.END);t&&t._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let t=this._getInput(n.START),e=this._getInput(n.END);return!t||!e?!1:e.translateX-t.translateX<20}_updateOverlappingThumbClassNames(t){let e=t.getSibling(),r=this._getThumb(t.thumbPosition);this._getThumb(e.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(t){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(t))}_updateThumbUI(t){if(this._skipUpdate())return;let e=this._getThumb(t.thumbPosition===n.END?n.END:n.START);e._hostElement.style.transform=`translateX(${t.translateX}px)`}_updateValueIndicatorUI(t){if(this._skipUpdate())return;let e=this.displayWith(t.value);if(this._hasViewInitialized?t._valuetext.set(e):t._hostElement.setAttribute("aria-valuetext",e),this.discrete){t.thumbPosition===n.START?this.startValueIndicatorText=e:this.endValueIndicatorText=e;let r=this._getThumb(t.thumbPosition);e.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){let t=this._getInput(n.END),e=this._getInput(n.START);t&&this._updateValueIndicatorUI(t),e&&this._updateValueIndicatorUI(e)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;let t=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/t)*t-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*r-6}_updateTrackUI(t){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(t):this._updateTrackUINonRange(t))}_updateTrackUIRange(t){let e=t.getSibling();if(!e||!this._cachedWidth)return;let r=Math.abs(e.translateX-t.translateX)/this._cachedWidth;t._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:`${this._cachedWidth-e.translateX}px`,transformOrigin:"right",transform:`scaleX(${r})`}):this._setTrackActiveStyles({left:`${e.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(t){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-t.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${t.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||this.step===void 0||this.min===void 0||this.max===void 0)return;let t=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(t):this._updateTickMarkUINonRange(t),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(t){let e=this._getValue(),r=Math.max(Math.round((e-this.min)/t),0),a=Math.max(Math.round((this.max-e)/t),0);this._isRtl?r++:a++,this._tickMarks=Array(r).fill(K.ACTIVE).concat(Array(a).fill(K.INACTIVE))}_updateTickMarkUIRange(t){let e=this._getValue(),r=this._getValue(n.START),a=Math.max(Math.round((r-this.min)/t),0),h=Math.max(Math.round((e-r)/t)+1,0),I=Math.max(Math.round((this.max-e)/t),0);this._tickMarks=Array(a).fill(K.INACTIVE).concat(Array(h).fill(K.ACTIVE),Array(I).fill(K.INACTIVE))}_getInput(t){if(t===n.END&&this._input)return this._input;if(this._inputs?.length)return t===n.START?this._inputs.first:this._inputs.last}_getThumb(t){return t===n.END?this._thumbs?.last:this._thumbs?.first}_setTransition(t){this._hasAnimation=!this._platform.IOS&&t&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(t,e){let r=e.width/2,a=e.x+r,h=e.y+r,I=t.clientX-a,W=t.clientY-h;return Math.pow(I,2)+Math.pow(W,2)Ft),multi:!0};var Ft=(()=>{class i{_ngZone=l($);_elementRef=l(X);_cdr=l(q);_slider=l(Vt);get value(){return E(this._hostElement.value,0)}set value(t){t=isNaN(t)?0:t;let e=t+"";if(!this._hasSetInitialValue){this._initialValue=e;return}this._isActive||this._setValue(e)}_setValue(t){this._hostElement.value=t,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}valueChange=new z;dragStart=new z;dragEnd=new z;get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(t){this._translateX=t}_translateX;thumbPosition=n.END;get min(){return E(this._hostElement.min,0)}set min(t){this._hostElement.min=t+"",this._cdr.detectChanges()}get max(){return E(this._hostElement.max,0)}set max(t){this._hostElement.max=t+"",this._cdr.detectChanges()}get step(){return E(this._hostElement.step,0)}set step(t){this._hostElement.step=t+"",this._cdr.detectChanges()}get disabled(){return y(this._hostElement.disabled)}set disabled(t){this._hostElement.disabled=t,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_hostElement=this._elementRef.nativeElement;_valuetext=qt("");_knobRadius=8;_tickMarkOffset=3;_isActive=!1;_isFocused=!1;_setIsFocused(t){this._isFocused=t}_hasSetInitialValue=!1;_initialValue;_formControl;_destroyed=new Ot;_skipUIUpdate=!1;_onChangeFn;_onTouchedFn=()=>{};_isControlInitialized=!1;_platform=l(ht);constructor(){this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,this._initialValue===void 0?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(t){if(!(this.disabled||t.button!==0)){if(this._platform.IOS){let e=this._slider._isCursorOnSliderThumb(t,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());this._isActive=e,this._updateWidthActive(),this._slider._updateDimensions();return}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(t,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(t),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(t){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(t)},0)}_fixValue(t){let e=t.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=this._slider.step===0?1:this._slider.step,h=Math.floor((this._slider.max-this._slider.min)/a),I=this._slider._isRtl?1-e/r:e/r,tt=Math.round(I*h)/h*(this._slider.max-this._slider.min)+this._slider.min,et=Math.round(tt/a)*a,G=this.value;if(et===G){this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation});return}this.value=et,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation})}_onPointerMove(t){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(t)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(t){let e=this._tickMarkOffset,r=this._slider._cachedWidth-this._tickMarkOffset;return Math.max(Math.min(t,r),e)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset}_calcTranslateXByPointerEvent(t){return t.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-this._tickMarkOffset*2}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(t){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(t)}_updateThumbUIByPointerEvent(t,e){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(t)),this._updateThumbUI(e)}_updateThumbUI(t){this._slider._setTransition(!!t?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(t){(this._isControlInitialized||t!==null)&&(this.value=t)}registerOnChange(t){this._onChangeFn=t,this._isControlInitialized=!0}registerOnTouched(t){this._onTouchedFn=t}setDisabledState(t){this.disabled=t}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static \u0275fac=function(e){return new(e||i)};static \u0275dir=mt({type:i,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(e,r){e&1&&O("change",function(){return r._onChange()})("input",function(){return r._onInput()})("blur",function(){return r._onBlur()})("focus",function(){return r._onFocus()}),e&2&&it("aria-valuetext",r._valuetext())},inputs:{value:[2,"value","value",E]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[B([ei,{provide:Ee,useExisting:i}]),H]})}return i})();var De=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=ct({type:i});static \u0275inj=dt({imports:[ot,bt]})}return i})();function ri(i,o){if(i&1&&(m(0,"mat-checkbox",0),b(1),u()),i&2){let t=o,e=d();c("formControl",e.control())("checked",t.checked),s(),U(" ",t.label,` +import{a as he,b as pe}from"./chunk-I7HMQKPZ.js";import{a as xe,b as ke,c as ye,d as Ce,e as Te,f as Ie,g as Me,h as Re}from"./chunk-6PKCOWVT.js";import{a as ce,b as me}from"./chunk-KCQYBIUM.js";import{a as fe,b as be,c as ve,h as ge}from"./chunk-J4P2XXRU.js";import{a as ue,b as _e,d as yt,e as Ct}from"./chunk-A74J7Y3C.js";import{b as Q,c as j,e as ae,i as Z,j as Y}from"./chunk-TJJFEYFG.js";import{a as le}from"./chunk-366DNJGU.js";import{q as se,x as de}from"./chunk-7RMPQIRR.js";import{b as vt,c as gt,h as S,i as xt,m as ne,o as w,p as kt,x as k}from"./chunk-E5QACR6S.js";import{Aa as oe,S as Kt,V as Dt,W as Jt,_ as ot,ca as te,ea as ft,fa as At,h as ht,ha as ee,ia as nt,ja as bt,pa as ie,s as pt,ua as re}from"./chunk-CG5OOKZO.js";import{$b as C,Aa as Nt,Ba as Lt,Ea as z,Fa as $,Fb as qt,Fc as B,Ha as Gt,Ia as v,J as Ut,Ja as X,Jc as F,Kc as N,Lc as Yt,Mb as H,Nb as p,Pa as lt,Sb as it,Sc as q,Tb as c,Ub as Wt,Va as zt,Vb as rt,Vc as y,Wb as wt,Wc as E,Yb as f,Zb as $t,_b as A,ac as T,bc as m,cc as u,da as st,dc as _,ec as Ht,fa as dt,fc as Qt,ha as P,hc as jt,j as Ot,ka as l,kc as O,lb as s,mc as d,nc as ut,oc as _t,pc as at,qc as V,rc as M,sc as R,ta as Et,te as L,ua as St,ub as g,vb as ct,wb as mt,wc as Zt,xb as Xt,xc as b,yc as x,za as Bt,zc as U}from"./chunk-5L47ZUSK.js";var qe=["knob"],We=["valueIndicatorContainer"];function $e(i,o){if(i&1&&(m(0,"div",2,1)(2,"div",5)(3,"span",6),b(4),u()()()),i&2){let t=d();s(4),x(t.valueIndicatorText)}}var He=["trackActive"],Qe=["*"];function je(i,o){if(i&1&&_(0,"div"),i&2){let t=o.$implicit,e=o.$index,r=d(3);wt(t===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),Wt("transform",r._calcTickMarkTransform(e))}}function Ze(i,o){if(i&1&&C(0,je,1,4,"div",8,$t),i&2){let t=d(2);T(t._tickMarks)}}function Ye(i,o){if(i&1&&(m(0,"div",6,1),p(2,Ze,2,0),u()),i&2){let t=d();s(2),f(t._cachedWidth?2:-1)}}function Ke(i,o){if(i&1&&_(0,"mat-slider-visual-thumb",7),i&2){let t=d();c("discrete",t.discrete)("thumbPosition",1)("valueIndicatorText",t.startValueIndicatorText)}}var n=function(i){return i[i.START=1]="START",i[i.END=2]="END",i}(n||{}),K=function(i){return i[i.ACTIVE=0]="ACTIVE",i[i.INACTIVE=1]="INACTIVE",i}(K||{}),Vt=new P("_MatSlider"),Ee=new P("_MatSliderThumb"),Je=new P("_MatSliderRangeThumb"),Se=new P("_MatSliderVisualThumb");var ti=(()=>{class i{_cdr=l(q);_ngZone=l($);_slider=l(Vt);discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=l(X).nativeElement;_platform=l(ht);constructor(){}ngAfterViewInit(){let t=this._slider._getInput(this.thumbPosition);t&&(this._ripple.radius=24,this._sliderInput=t,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(()=>{let e=this._sliderInputEl;e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)}))}ngOnDestroy(){let t=this._sliderInputEl;t&&(t.removeEventListener("pointermove",this._onPointerMove),t.removeEventListener("pointerdown",this._onDragStart),t.removeEventListener("pointerup",this._onDragEnd),t.removeEventListener("pointerleave",this._onMouseLeave),t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur))}_onPointerMove=t=>{if(this._sliderInput._isFocused)return;let e=this._hostElement.getBoundingClientRect(),r=this._slider._isCursorOnSliderThumb(t,e);this._isHovered=r,r?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)};_onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)};_onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")};_onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")};_onDragStart=t=>{t.button===0&&(this._isActive=!0,this._showActiveRipple())};_onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()};_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(t){return t?.state===At.FADING_IN||t?.state===At.VISIBLE}_showRipple(t,e){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===n.START?n.END:n.START)._showValueIndicator(),!(this._slider._globalRippleOptions?.disabled&&!e)))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:t,centered:!0,persistent:!0})}_hideRipple(t){if(t?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();let e=this._getSibling();e._isShowingAnyRipple()||(this._hideValueIndicator(),e._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===n.START?n.END:n.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(e,r){if(e&1&&(V(nt,5),V(qe,5),V(We,5)),e&2){let a;M(a=R())&&(r._ripple=a.first),M(a=R())&&(r._knob=a.first),M(a=R())&&(r._valueIndicatorContainer=a.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[B([{provide:Se,useExisting:i}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(e,r){e&1&&(p(0,$e,5,1,"div",2),_(1,"div",3,0)(3,"div",4)),e&2&&(f(r.discrete?0:-1),s(3),c("matRippleDisabled",!0))},dependencies:[nt],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return i})(),we=(()=>{class i{_ngZone=l($);_cdr=l(q);_elementRef=l(X);_dir=l(Jt,{optional:!0});_globalRippleOptions=l(ee,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(t){this._disabled=t;let e=this._getInput(n.END),r=this._getInput(n.START);e&&(e.disabled=this._disabled),r&&(r.disabled=this._disabled)}_disabled=!1;get discrete(){return this._discrete}set discrete(t){this._discrete=t,this._updateValueIndicatorUIs()}_discrete=!1;showTickMarks=!1;get min(){return this._min}set min(t){let e=isNaN(t)?this._min:t;this._min!==e&&this._updateMin(e)}_min=0;color;disableRipple=!1;_updateMin(t){let e=this._min;this._min=t,this._isRange?this._updateMinRange({old:e,new:t}):this._updateMinNonRange(t),this._onMinMaxOrStepChange()}_updateMinRange(t){let e=this._getInput(n.END),r=this._getInput(n.START),a=e.value,h=r.value;r.min=t.new,e.min=Math.max(t.new,r.value),r.max=Math.min(e.max,e.value),r._updateWidthInactive(),e._updateWidthInactive(),t.newt.old?this._onTranslateXChangeBySideEffect(r,e):this._onTranslateXChangeBySideEffect(e,r),a!==e.value&&this._onValueChange(e),h!==r.value&&this._onValueChange(r)}_updateMaxNonRange(t){let e=this._getInput(n.END);if(e){let r=e.value;e.max=t,e._updateThumbUIByValue(),this._updateTrackUI(e),r!==e.value&&this._onValueChange(e)}}get step(){return this._step}set step(t){let e=isNaN(t)?this._step:t;this._step!==e&&this._updateStep(e)}_step=1;_updateStep(t){this._step=t,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){let t=this._getInput(n.END),e=this._getInput(n.START),r=t.value,a=e.value,h=e.value;t.min=this._min,e.max=this._max,t.step=this._step,e.step=this._step,this._platform.SAFARI&&(t.value=t.value,e.value=e.value),t.min=Math.max(this._min,e.value),e.max=Math.min(this._max,t.value),e._updateWidthInactive(),t._updateWidthInactive(),t.value`${t}`;_tickMarks;_noopAnimations;_dirChangeSubscription;_resizeObserver;_cachedWidth;_cachedLeft;_rippleRadius=24;startValueIndicatorText="";endValueIndicatorText="";_endThumbTransform;_startThumbTransform;_isRange=!1;_isRtl=!1;_hasViewInitialized=!1;_tickMarkTrackWidth=0;_hasAnimation=!1;_resizeTimer=null;_platform=l(ht);constructor(){l(pt).load(ft);let t=l(lt,{optional:!0});this._noopAnimations=t==="NoopAnimations",this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl=this._dir.value==="rtl")}_knobRadius=8;_inputPadding;ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();let t=this._getInput(n.END),e=this._getInput(n.START);this._isRange=!!t&&!!e,this._cdr.detectChanges();let r=this._getThumb(n.END);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(t,e):this._initUINonRange(t),this._updateTrackUI(t),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(t){t.initProps(),t.initUI(),this._updateValueIndicatorUI(t),this._hasViewInitialized=!0,t._updateThumbUIByValue()}_initUIRange(t,e){t.initProps(),t.initUI(),e.initProps(),e.initUI(),t._updateMinMax(),e._updateMinMax(),t._updateStaticStyles(),e._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,t._updateThumbUIByValue(),e._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl=this._dir?.value==="rtl",this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){let t=this._getInput(n.END),e=this._getInput(n.START);t._setIsLeftThumb(),e._setIsLeftThumb(),t.translateX=t._calcTranslateXByValue(),e.translateX=e._calcTranslateXByValue(),t._updateStaticStyles(),e._updateStaticStyles(),t._updateWidthInactive(),e._updateWidthInactive(),t._updateThumbUIByValue(),e._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(n.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(n.START)._isActive||this._getThumb(n.END)._isActive}_getValue(t=n.END){let e=this._getInput(t);return e?e.value:this.min}_skipUpdate(){return!!(this._getInput(n.START)?._skipUIUpdate||this._getInput(n.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(t){let e=this._trackActive.nativeElement.style;e.left=t.left,e.right=t.right,e.transformOrigin=t.transformOrigin,e.transform=t.transform}_calcTickMarkTransform(t){return`translateX(${t*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(t){this._hasViewInitialized&&(this._updateThumbUI(t),this._updateTrackUI(t),this._updateOverlappingThumbUI(t))}_onTranslateXChangeBySideEffect(t,e){this._hasViewInitialized&&(t._updateThumbUIByValue(),e._updateThumbUIByValue())}_onValueChange(t){this._hasViewInitialized&&(this._updateValueIndicatorUI(t),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){let t=this._getInput(n.END),e=this._getInput(n.START);t._updateThumbUIByValue(),e._updateThumbUIByValue(),t._updateStaticStyles(),e._updateStaticStyles(),t._updateMinMax(),e._updateMinMax(),t._updateWidthInactive(),e._updateWidthInactive()}else{let t=this._getInput(n.END);t&&t._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let t=this._getInput(n.START),e=this._getInput(n.END);return!t||!e?!1:e.translateX-t.translateX<20}_updateOverlappingThumbClassNames(t){let e=t.getSibling(),r=this._getThumb(t.thumbPosition);this._getThumb(e.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(t){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(t))}_updateThumbUI(t){if(this._skipUpdate())return;let e=this._getThumb(t.thumbPosition===n.END?n.END:n.START);e._hostElement.style.transform=`translateX(${t.translateX}px)`}_updateValueIndicatorUI(t){if(this._skipUpdate())return;let e=this.displayWith(t.value);if(this._hasViewInitialized?t._valuetext.set(e):t._hostElement.setAttribute("aria-valuetext",e),this.discrete){t.thumbPosition===n.START?this.startValueIndicatorText=e:this.endValueIndicatorText=e;let r=this._getThumb(t.thumbPosition);e.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){let t=this._getInput(n.END),e=this._getInput(n.START);t&&this._updateValueIndicatorUI(t),e&&this._updateValueIndicatorUI(e)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;let t=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/t)*t-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*r-6}_updateTrackUI(t){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(t):this._updateTrackUINonRange(t))}_updateTrackUIRange(t){let e=t.getSibling();if(!e||!this._cachedWidth)return;let r=Math.abs(e.translateX-t.translateX)/this._cachedWidth;t._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:`${this._cachedWidth-e.translateX}px`,transformOrigin:"right",transform:`scaleX(${r})`}):this._setTrackActiveStyles({left:`${e.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(t){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-t.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${t.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||this.step===void 0||this.min===void 0||this.max===void 0)return;let t=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(t):this._updateTickMarkUINonRange(t),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(t){let e=this._getValue(),r=Math.max(Math.round((e-this.min)/t),0),a=Math.max(Math.round((this.max-e)/t),0);this._isRtl?r++:a++,this._tickMarks=Array(r).fill(K.ACTIVE).concat(Array(a).fill(K.INACTIVE))}_updateTickMarkUIRange(t){let e=this._getValue(),r=this._getValue(n.START),a=Math.max(Math.round((r-this.min)/t),0),h=Math.max(Math.round((e-r)/t)+1,0),I=Math.max(Math.round((this.max-e)/t),0);this._tickMarks=Array(a).fill(K.INACTIVE).concat(Array(h).fill(K.ACTIVE),Array(I).fill(K.INACTIVE))}_getInput(t){if(t===n.END&&this._input)return this._input;if(this._inputs?.length)return t===n.START?this._inputs.first:this._inputs.last}_getThumb(t){return t===n.END?this._thumbs?.last:this._thumbs?.first}_setTransition(t){this._hasAnimation=!this._platform.IOS&&t&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(t,e){let r=e.width/2,a=e.x+r,h=e.y+r,I=t.clientX-a,W=t.clientY-h;return Math.pow(I,2)+Math.pow(W,2)Ft),multi:!0};var Ft=(()=>{class i{_ngZone=l($);_elementRef=l(X);_cdr=l(q);_slider=l(Vt);get value(){return E(this._hostElement.value,0)}set value(t){t=isNaN(t)?0:t;let e=t+"";if(!this._hasSetInitialValue){this._initialValue=e;return}this._isActive||this._setValue(e)}_setValue(t){this._hostElement.value=t,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}valueChange=new z;dragStart=new z;dragEnd=new z;get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(t){this._translateX=t}_translateX;thumbPosition=n.END;get min(){return E(this._hostElement.min,0)}set min(t){this._hostElement.min=t+"",this._cdr.detectChanges()}get max(){return E(this._hostElement.max,0)}set max(t){this._hostElement.max=t+"",this._cdr.detectChanges()}get step(){return E(this._hostElement.step,0)}set step(t){this._hostElement.step=t+"",this._cdr.detectChanges()}get disabled(){return y(this._hostElement.disabled)}set disabled(t){this._hostElement.disabled=t,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_hostElement=this._elementRef.nativeElement;_valuetext=qt("");_knobRadius=8;_tickMarkOffset=3;_isActive=!1;_isFocused=!1;_setIsFocused(t){this._isFocused=t}_hasSetInitialValue=!1;_initialValue;_formControl;_destroyed=new Ot;_skipUIUpdate=!1;_onChangeFn;_onTouchedFn=()=>{};_isControlInitialized=!1;_platform=l(ht);constructor(){this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,this._initialValue===void 0?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(t){if(!(this.disabled||t.button!==0)){if(this._platform.IOS){let e=this._slider._isCursorOnSliderThumb(t,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());this._isActive=e,this._updateWidthActive(),this._slider._updateDimensions();return}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(t,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(t),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(t){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(t)},0)}_fixValue(t){let e=t.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=this._slider.step===0?1:this._slider.step,h=Math.floor((this._slider.max-this._slider.min)/a),I=this._slider._isRtl?1-e/r:e/r,tt=Math.round(I*h)/h*(this._slider.max-this._slider.min)+this._slider.min,et=Math.round(tt/a)*a,G=this.value;if(et===G){this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation});return}this.value=et,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation})}_onPointerMove(t){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(t)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(t){let e=this._tickMarkOffset,r=this._slider._cachedWidth-this._tickMarkOffset;return Math.max(Math.min(t,r),e)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset}_calcTranslateXByPointerEvent(t){return t.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-this._tickMarkOffset*2}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(t){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(t)}_updateThumbUIByPointerEvent(t,e){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(t)),this._updateThumbUI(e)}_updateThumbUI(t){this._slider._setTransition(!!t?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(t){(this._isControlInitialized||t!==null)&&(this.value=t)}registerOnChange(t){this._onChangeFn=t,this._isControlInitialized=!0}registerOnTouched(t){this._onTouchedFn=t}setDisabledState(t){this.disabled=t}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static \u0275fac=function(e){return new(e||i)};static \u0275dir=mt({type:i,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(e,r){e&1&&O("change",function(){return r._onChange()})("input",function(){return r._onInput()})("blur",function(){return r._onBlur()})("focus",function(){return r._onFocus()}),e&2&&it("aria-valuetext",r._valuetext())},inputs:{value:[2,"value","value",E]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[B([ei,{provide:Ee,useExisting:i}]),H]})}return i})();var De=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=ct({type:i});static \u0275inj=dt({imports:[ot,bt]})}return i})();function ri(i,o){if(i&1&&(m(0,"mat-checkbox",0),b(1),u()),i&2){let t=o,e=d();c("formControl",e.control())("checked",t.checked),s(),U(" ",t.label,` `)}}var Ae=(()=>{class i{field=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-checkbox"]],inputs:{field:[1,"field"],control:[1,"control"]},decls:1,vars:1,consts:[["color","primary",3,"formControl","checked"]],template:function(e,r){if(e&1&&p(0,ri,2,3,"mat-checkbox",0),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,S,w,pe,he],encapsulation:2,changeDetection:0})}return i})();function ai(i,o){if(i&1&&(m(0,"mat-option",1),b(1),u()),i&2){let t=o.$implicit;c("value",t.value),s(),x(t.text)}}function oi(i,o){if(i&1&&b(0),i&2){let t=d().$implicit;U(" ",t.value," ")}}function ni(i,o){if(i&1&&p(0,oi,1,1),i&2){let t=o.$implicit,e=d(2);f(e.control().hasError(t.key)?0:-1)}}function si(i,o){if(i&1&&(m(0,"mat-form-field")(1,"mat-label"),b(2),u(),m(3,"mat-select",0),C(4,ai,2,2,"mat-option",1,A),u(),m(6,"mat-error"),C(7,ni,1,1,null,null,A),F(9,"keyvalue"),u()()),i&2){let t=o,e=d();s(2),x(t.label),s(),c("formControl",e.control()),s(),T(t.options),s(3),T(N(9,2,t.errors))}}var Fe=(()=>{class i{field=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-dropdown"]],inputs:{field:[1,"field"],control:[1,"control"]},decls:1,vars:1,consts:[[3,"formControl"],[3,"value"]],template:function(e,r){if(e&1&&p(0,si,10,4,"mat-form-field"),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,S,w,Y,Z,Q,j,me,ce,ie,L],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column}"],changeDetection:0})}return i})();var di=["input"],li=["formField"],ci=["*"],Tt=class{source;value;constructor(o,t){this.source=o,this.value=t}},mi={provide:vt,useExisting:st(()=>Pt),multi:!0},Pe=new P("MatRadioGroup"),ui=new P("mat-radio-default-options",{providedIn:"root",factory:_i});function _i(){return{color:"accent",disabledInteractive:!1}}var Pt=(()=>{class i{_changeDetector=l(q);_value=null;_name=l(Dt).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new z;_radios;color;get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition=t==="before"?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=t,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(t=>t===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){let t=this._selected!==null&&this._selected.value===this._value;this._radios&&!t&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Tt(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}static \u0275fac=function(e){return new(e||i)};static \u0275dir=mt({type:i,selectors:[["mat-radio-group"]],contentQueries:function(e,r,a){if(e&1&&at(a,It,5),e&2){let h;M(h=R())&&(r._radios=h)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",y],required:[2,"required","required",y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",y]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[B([mi,{provide:Pe,useExisting:i}]),H]})}return i})(),It=(()=>{class i{_elementRef=l(X);_changeDetector=l(q);_focusMonitor=l(Kt);_radioDispatcher=l(oe);_defaultOptions=l(ui,{optional:!0});_ngZone=l($);_uniqueId=l(Dt).getId("mat-radio-");id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}_labelPosition;get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(t){this._setDisabled(t)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=t}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(t){this._color=t}_color;get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t}_disabledInteractive;change=new z;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations;_injector=l(Bt);constructor(){l(pt).load(ft);let t=l(Pe,{optional:!0}),e=l(lt,{optional:!0}),r=l(new Nt("tabindex"),{optional:!0});this.radioGroup=t,this._noopAnimations=e==="NoopAnimations",this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,r&&(this.tabIndex=E(r,0))}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._inputElement.nativeElement.addEventListener("click",this._onInputClick)})}ngOnDestroy(){this._inputElement?.nativeElement.removeEventListener("click",this._onInputClick),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Tt(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(t){if(t.stopPropagation(),!this.checked&&!this.disabled){let e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(t){this._onInputInteraction(t),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}_onInputClick=t=>{this.disabled&&this.disabledInteractive&&t.preventDefault()};_updateTabIndex(){let t=this.radioGroup,e;if(!t||!t.selected||this.disabled?e=this.tabIndex:e=t.selected===this?this.tabIndex:-1,e!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",e+""),this._previousTabIndex=e,zt(()=>{queueMicrotask(()=>{t&&t.selected&&t.selected!==this&&document.activeElement===r&&(t.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["mat-radio-button"]],viewQuery:function(e,r){if(e&1&&(V(di,5),V(li,7,X)),e&2){let a;M(a=R())&&(r._inputElement=a.first),M(a=R())&&(r._rippleTrigger=a.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(e,r){e&1&&O("focus",function(){return r._inputElement.nativeElement.focus()}),e&2&&(it("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),rt("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",y],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:E(t)],checked:[2,"checked","checked",y],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",y],required:[2,"required","required",y],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",y]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[H],ngContentSelectors:ci,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(e,r){if(e&1){let a=jt();ut(),m(0,"div",2,0)(2,"div",3)(3,"div",4),O("click",function(I){return Et(a),St(r._onTouchTargetClick(I))}),u(),m(4,"input",5,1),O("change",function(I){return Et(a),St(r._onInputInteraction(I))}),u(),m(6,"div",6),_(7,"div",7)(8,"div",8),u(),m(9,"div",9),_(10,"div",10),u()(),m(11,"label",11),_t(12),u()()}e&2&&(c("labelPosition",r.labelPosition),s(2),rt("mdc-radio--disabled",r.disabled),s(2),c("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),it("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),s(5),c("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),s(2),c("for",r.inputId))},dependencies:[nt,re],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return i})(),Oe=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=ct({type:i});static \u0275inj=dt({imports:[ot,bt,It,ot]})}return i})();function pi(i,o){if(i&1&&(m(0,"mat-radio-button",1),b(1),u()),i&2){let t=o.$implicit;c("value",t.value),s(),x(t.text)}}function fi(i,o){if(i&1&&(m(0,"h3"),b(1),u(),m(2,"mat-radio-group",0),C(3,pi,2,2,"mat-radio-button",1,A),u()),i&2){let t=o,e=d();s(),x(t.label),s(),c("ariaLabel",t.label)("formControl",e.control()),s(),T(t.options)}}var Ue=(()=>{class i{field=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-radio"]],inputs:{field:[1,"field"],control:[1,"control"]},decls:1,vars:1,consts:[["color","primary",3,"ariaLabel","formControl"],[3,"value"]],template:function(e,r){if(e&1&&p(0,fi,5,3),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,S,w,Oe,Pt,It],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:1em;opacity:.8}[_nghost-%COMP%] .mat-mdc-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column}"],changeDetection:0})}return i})();function vi(i,o){if(i&1&&_(0,"textarea",0),i&2){let t=d(2);c("formControl",t.control())}}function gi(i,o){if(i&1&&_(0,"input",1),i&2){let t=d(),e=d();c("formControl",e.control())("type",t.type)("autocomplete",t.autocomplete)}}function xi(i,o){if(i&1&&b(0),i&2){let t=d().$implicit;U(" ",t.value," ")}}function ki(i,o){if(i&1&&p(0,xi,1,1),i&2){let t=o.$implicit,e=d(2);f(e.control().hasError(t.key)?0:-1)}}function yi(i,o){if(i&1&&(m(0,"mat-form-field")(1,"mat-label"),b(2),u(),p(3,vi,1,1,"textarea",0)(4,gi,1,3,"input",1),m(5,"mat-error"),C(6,ki,1,1,null,null,A),F(8,"keyvalue"),u()()),i&2){let t=o;s(2),x(t.label),s(),f(t.type==="long"?3:4),s(3),T(N(8,2,t.errors))}}var Be=(()=>{class i{field=v.required();name=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-textbox"]],inputs:{field:[1,"field"],name:[1,"name"],control:[1,"control"]},decls:1,vars:1,consts:[["matInput","","cdkTextareaAutosize","",3,"formControl"],["matInput","",3,"formControl","type","autocomplete"]],template:function(e,r){if(e&1&&p(0,yi,9,4,"mat-form-field"),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,gt,S,w,Y,Z,Q,j,_e,ue,Ct,yt,L],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column}"],changeDetection:0})}return i})();function Ci(i,o){if(i&1&&b(0),i&2){let t=d().$implicit;U(" ",t.value," ")}}function Ti(i,o){if(i&1&&p(0,Ci,1,1),i&2){let t=o.$implicit,e=d(2);f(e.control().hasError(t.key)?0:-1)}}function Ii(i,o){if(i&1&&(m(0,"mat-form-field")(1,"mat-label"),b(2),u(),_(3,"input",1)(4,"mat-datepicker-toggle",2)(5,"mat-datepicker",null,0),m(7,"mat-error"),C(8,Ti,1,1,null,null,A),F(10,"keyvalue"),u()()),i&2){let t=o,e=Zt(6);s(2),x(t.label),s(),c("matDatepicker",e)("min",t.min)("max",t.max),s(),c("for",e),s(4),T(N(10,5,t.errors))}}var Ne=(()=>{class i{field=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-datepicker"]],inputs:{field:[1,"field"],control:[1,"control"]},features:[B([te()])],decls:1,vars:1,consts:[["picker",""],["matInput","",3,"matDatepicker","min","max"],["matIconSuffix","",3,"for"]],template:function(e,r){if(e&1&&p(0,Ii,11,7,"mat-form-field"),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,Y,Z,Q,j,ae,ge,fe,be,ve,Ct,yt,L],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column}"],changeDetection:0})}return i})();function Mi(i,o){if(i&1&&(m(0,"label",0),b(1),u(),m(2,"mat-slider",1),_(3,"input",2),u()),i&2){let t=o,e=d();s(),x(t.label),s(),c("min",t.min)("max",t.max)("step",t.step),s(),c("formControl",e.control())("value",t.value)}}var Le=(()=>{class i{field=v.required();control=v.required();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-slider"]],inputs:{field:[1,"field"],control:[1,"control"]},decls:1,vars:1,consts:[["for","slider"],["discrete","",3,"min","max","step"],["matSliderThumb","","id","slider",3,"formControl","value"]],template:function(e,r){if(e&1&&p(0,Mi,4,6),e&2){let a;f((a=r.field())?0:-1,a)}},dependencies:[k,gt,S,w,De,we,Ft],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"],changeDetection:0})}return i})();var Ge=(()=>{class i{transform(t,e){let r=e.toString(),a=r.indexOf(".")>-1;return t.sort((h,I)=>{let W,tt;if(a){let et=r.split(".");W=et.reduce((G,Rt)=>G?G[Rt]:void 0,h),tt=et.reduce((G,Rt)=>G?G[Rt]:void 0,I)}else W=h[e],tt=I[e];return W-tt})}static \u0275fac=function(e){return new(e||i)};static \u0275pipe=Xt({name:"orderBy",type:i,pure:!0})}return i})();var Ri=(i,o)=>o.key;function Ei(i,o){if(i&1&&_(0,"devmx-textbox",2),i&2){let t=d(3).$implicit,e=d();c("field",t.value)("name",t.key)("control",e.getControl(t.key))}}function Si(i,o){if(i&1&&p(0,Ei,1,3,"devmx-textbox",2),i&2){let t=d(2).$implicit;f(t.value.type!=="hidden"?0:-1)}}function wi(i,o){if(i&1&&_(0,"devmx-dropdown",1),i&2){let t=d(2).$implicit,e=d();c("field",t.value)("control",e.getControl(t.key))}}function Di(i,o){if(i&1&&_(0,"devmx-datepicker",1),i&2){let t=d(2).$implicit,e=d();c("field",t.value)("control",e.getControl(t.key))}}function Ai(i,o){if(i&1&&_(0,"devmx-checkbox",1),i&2){let t=d(2).$implicit,e=d();c("field",t.value)("control",e.getControl(t.key))}}function Vi(i,o){if(i&1&&_(0,"devmx-radio",1),i&2){let t=d(2).$implicit,e=d();c("field",t.value)("control",e.getControl(t.key))}}function Fi(i,o){if(i&1&&_(0,"devmx-slider",1),i&2){let t=d(2).$implicit,e=d();c("field",t.value)("control",e.getControl(t.key))}}function Pi(i,o){if(i&1&&p(0,Si,1,1)(1,wi,1,2,"devmx-dropdown",1)(2,Di,1,2,"devmx-datepicker",1)(3,Ai,1,2,"devmx-checkbox",1)(4,Vi,1,2,"devmx-radio",1)(5,Fi,1,2,"devmx-slider",1),i&2){let t,e=d().$implicit;f((t=e.value.kind)==="textbox"?0:t==="dropdown"?1:t==="datepicker"?2:t==="checkbox"?3:t==="radio"?4:t==="slider"?5:-1)}}function Oi(i,o){if(i&1&&(Ht(0,0),_(1,"devmx-form-group",3),Qt()),i&2){let t=d().$implicit,e=d();c("formGroup",e.getGroup(t.key)),s(),c("fields",t.value)("formGroup",e.getGroup(t.key))}}function Ui(i,o){if(i&1&&p(0,Pi,6,1)(1,Oi,2,3,"ng-container",0),i&2){let t=o.$implicit,e=d();f(e.isFormField(t.value)?0:1)}}var ze=(()=>{class i{#t=l(Lt);fields=v.required();formGroup=v.required();valueChanges=Gt();getControl(t){return this.formGroup().get(t)}getGroup(t){return this.formGroup().get(t)}isFormField(t){return"kind"in t}ngOnInit(){this.formGroup().valueChanges.pipe(Ut(300),le(this.#t)).subscribe(()=>{let t=this.formGroup().getRawValue();this.valueChanges.emit(t)})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-form-group"]],inputs:{fields:[1,"fields"],formGroup:[1,"formGroup"]},outputs:{valueChanges:"valueChanges"},decls:4,vars:5,consts:[[3,"formGroup"],[3,"field","control"],[3,"field","name","control"],[3,"fields","formGroup"]],template:function(e,r){e&1&&(C(0,Ui,2,1,null,null,Ri),F(2,"keyvalue"),F(3,"orderBy")),e&2&&T(Yt(3,2,N(2,0,r.fields()),"value.order"))},dependencies:[i,k,xt,kt,Be,Fe,Ae,Ne,Ue,Le,L,Ge],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.4em}"],changeDetection:0})}return i})();var Xe=(()=>{class i{ref=l(xe);data=l(ke);onSubmit(){if(this.data.form.valid){let t=this.data.form.getRawValue();return this.ref.close(t)}console.log(this.data.form.errors),this.data.form.markAllAsTouched()}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["devmx-form"]],decls:10,vars:4,consts:[["mat-dialog-title","",1,"dialog-title"],[3,"submit","formGroup"],[1,"dialog-content"],[3,"fields","formGroup"],[1,"dialog-actions"],["type","button","mat-button","","mat-dialog-close",""],["mat-raised-button",""]],template:function(e,r){e&1&&(m(0,"h2",0),b(1),u(),m(2,"form",1),O("submit",function(){return r.onSubmit()}),m(3,"mat-dialog-content",2),_(4,"devmx-form-group",3),u(),m(5,"mat-dialog-actions",4)(6,"button",5),b(7,"Cancelar"),u(),m(8,"button",6),b(9,"Enviar"),u()()()),e&2&&(s(),x(r.data.title),s(),c("formGroup",r.data.form),s(2),c("fields",r.data.fields)("formGroup",r.data.form))},dependencies:[k,ne,xt,kt,Re,Ce,Te,Me,Ie,de,se,ze],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .dialog-title[_ngcontent-%COMP%]{font-size:140%}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{padding-top:0;display:flex;flex-direction:column}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]})}return i})();var Mt=class{dialog;constructor(o){this.dialog=o}open(o){return this.dialog.open(Xe,{data:o})}};function Xa(){return{provide:Mt,deps:[ye]}}export{we as a,Ft as b,De as c,Mt as d,Xa as e}; diff --git a/chunk-BJXILAOS.js b/chunk-76QZXEBP.js similarity index 97% rename from chunk-BJXILAOS.js rename to chunk-76QZXEBP.js index 3ef183e8..905beb44 100644 --- a/chunk-BJXILAOS.js +++ b/chunk-76QZXEBP.js @@ -1 +1 @@ -import{Ea as w,Eb as u,Ja as R,Kb as f,_c as P,ed as y,fa as v,ka as r,ob as D,pb as h,vb as g,wb as l,za as _}from"./chunk-TEKHUYWQ.js";var a=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},p=class extends a{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(e,t,o,n,c){super(),this.component=e,this.viewContainerRef=t,this.injector=o,this.projectableNodes=c}},s=class extends a{templateRef;viewContainerRef;context;injector;constructor(e,t,o,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=o,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},m=class extends a{element;constructor(e){super(),this.element=e instanceof R?e.nativeElement:e}},d=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof p)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof s)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof m)return this._attachedPortal=e,this.attachDomPortal(e)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var C=class extends d{outletElement;_appRef;_defaultInjector;_document;constructor(e,t,o,n,c){super(),this.outletElement=e,this._appRef=o,this._defaultInjector=n,this._document=c}attachComponentPortal(e){let t;if(e.viewContainerRef){let o=e.injector||e.viewContainerRef.injector,n=o.get(h,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:o,ngModuleRef:n,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=P(e.component,{elementInjector:e.injector||this._defaultInjector||_.NULL,environmentInjector:this._appRef.injector,projectableNodes:e.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,o=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return o.rootNodes.forEach(n=>this.outletElement.appendChild(n)),o.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(o);n!==-1&&t.remove(n)}),this._attachedPortal=e,o}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");t.parentNode.insertBefore(o,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var O=(()=>{class i extends s{constructor(){let t=r(D),o=r(u);super(t,o)}static \u0275fac=function(o){return new(o||i)};static \u0275dir=l({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[f]})}return i})();var H=(()=>{class i extends d{_moduleRef=r(h,{optional:!0});_document=r(y);_viewContainerRef=r(u);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new w;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let o=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,n=o.createComponent(t.component,{index:o.length,injector:t.injector||o.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachDomPortal=t=>{let o=t.element;o.parentNode;let n=this._document.createComment("dom-portal");t.setAttachedHost(this),o.parentNode.insertBefore(n,o),this._getRootNode().appendChild(o),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(o,n)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(o){return new(o||i)};static \u0275dir=l({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f]})}return i})();var b=(()=>{class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=g({type:i});static \u0275inj=v({})}return i})();export{p as a,s as b,d as c,C as d,O as e,H as f,b as g}; +import{Ea as w,Eb as u,Ja as R,Kb as f,_c as P,ed as y,fa as v,ka as r,ob as D,pb as h,vb as g,wb as l,za as _}from"./chunk-5L47ZUSK.js";var a=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},p=class extends a{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(e,t,o,n,c){super(),this.component=e,this.viewContainerRef=t,this.injector=o,this.projectableNodes=c}},s=class extends a{templateRef;viewContainerRef;context;injector;constructor(e,t,o,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=o,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},m=class extends a{element;constructor(e){super(),this.element=e instanceof R?e.nativeElement:e}},d=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof p)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof s)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof m)return this._attachedPortal=e,this.attachDomPortal(e)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var C=class extends d{outletElement;_appRef;_defaultInjector;_document;constructor(e,t,o,n,c){super(),this.outletElement=e,this._appRef=o,this._defaultInjector=n,this._document=c}attachComponentPortal(e){let t;if(e.viewContainerRef){let o=e.injector||e.viewContainerRef.injector,n=o.get(h,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:o,ngModuleRef:n,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=P(e.component,{elementInjector:e.injector||this._defaultInjector||_.NULL,environmentInjector:this._appRef.injector,projectableNodes:e.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,o=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return o.rootNodes.forEach(n=>this.outletElement.appendChild(n)),o.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(o);n!==-1&&t.remove(n)}),this._attachedPortal=e,o}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");t.parentNode.insertBefore(o,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var O=(()=>{class i extends s{constructor(){let t=r(D),o=r(u);super(t,o)}static \u0275fac=function(o){return new(o||i)};static \u0275dir=l({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[f]})}return i})();var H=(()=>{class i extends d{_moduleRef=r(h,{optional:!0});_document=r(y);_viewContainerRef=r(u);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new w;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let o=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,n=o.createComponent(t.component,{index:o.length,injector:t.injector||o.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachDomPortal=t=>{let o=t.element;o.parentNode;let n=this._document.createComment("dom-portal");t.setAttachedHost(this),o.parentNode.insertBefore(n,o),this._getRootNode().appendChild(o),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(o,n)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(o){return new(o||i)};static \u0275dir=l({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f]})}return i})();var b=(()=>{class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=g({type:i});static \u0275inj=v({})}return i})();export{p as a,s as b,d as c,C as d,O as e,H as f,b as g}; diff --git a/chunk-XYJHVZQT.js b/chunk-7BKB7KKA.js similarity index 98% rename from chunk-XYJHVZQT.js rename to chunk-7BKB7KKA.js index c9913b17..2d27b865 100644 --- a/chunk-XYJHVZQT.js +++ b/chunk-7BKB7KKA.js @@ -1,4 +1,4 @@ -import{L as c,O as b,a,k as x,t as y}from"./chunk-TEKHUYWQ.js";var $=class{};var u=class{};var f=class{};var h=class{};function ue(r){return{provide:f,useValue:r}}function fe(r){return{provide:h,useClass:r}}function v(r,e){return{provide:r,useFactory(...t){return new r(...t)},deps:e}}function le(r,e,t){return{provide:r,useFactory(...s){return new e(...s)},deps:t}}function S(r,e,t){return{provide:r,useFactory(...s){return new e(...s)},deps:t}}function ye(r,e){return{provide:r,useFactory(...t){return new r(...t)},deps:e}}var d=class{http;env;constructor(e,t){this.http=e,this.env=t}findRepoContributors(e){let t=`${this.env.api.url}/github/contributors/${e}`;return this.http.get(t)}findRepoIssues(e){let t=`${this.env.api.url}/github/issues/${e}`;return this.http.get(t)}};function ke(){return S(u,d,[h,f])}var Fe=["10m","20m","30m","40m","50m","1h","1h e 10m","1h e 20m","1h e 30m","1h e 40m","1h e 50m","2h","2h e 10m","2h e 20m","2h e 30m","2h e 40m","2h e 50m","3h","3h e 10m","3h e 20m","3h e 30m","3h e 40m","3h e 50m","4h","4h e 10m","4h e 20m","4h e 30m","4h e 40m","4h e 50m","5h","5h e 10m","5h e 20m","5h e 30m","5h e 40m","5h e 50m","6h","6h e 10m","6h e 20m","6h e 30m","6h e 40m","6h e 50m","7h","7h e 10m","7h e 20m","7h e 30m","7h e 40m","7h e 50m","8h","8h e 10m","8h e 20m","8h e 30m","8h e 40m","8h e 50m","9h","9h e 10m","9h e 20m","9h e 30m","9h e 40m","9h e 50m"];function ze(r){let[e,t]=r.split(" e "),s=+e.replace("h",""),n=t?+t.replace("m",""):0;return s*60+n}function Qe(r,e={listUnicodeChar:""}){let{listUnicodeChar:t=!1,stripListLeaders:s=!0,useImgAltText:n=!0,preserveLinks:i=!1,gfm:p=!0}=e??{},o=r??"";o=o.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{s&&(t?o=o.replace(/^([\s\t]*)([\\*\-\\+]|\d+\.)\s+/gm,t+" $1"):o=o.replace(/^([\s\t]*)([\\*\-\\+]|\d+\.)\s+/gm,"$1")),p&&(o=o.replace(/\n={2,}/g,` +import{L as c,O as b,a,k as x,t as y}from"./chunk-5L47ZUSK.js";var $=class{};var u=class{};var f=class{};var h=class{};function ue(r){return{provide:f,useValue:r}}function fe(r){return{provide:h,useClass:r}}function v(r,e){return{provide:r,useFactory(...t){return new r(...t)},deps:e}}function le(r,e,t){return{provide:r,useFactory(...s){return new e(...s)},deps:t}}function S(r,e,t){return{provide:r,useFactory(...s){return new e(...s)},deps:t}}function ye(r,e){return{provide:r,useFactory(...t){return new r(...t)},deps:e}}var d=class{http;env;constructor(e,t){this.http=e,this.env=t}findRepoContributors(e){let t=`${this.env.api.url}/github/contributors/${e}`;return this.http.get(t)}findRepoIssues(e){let t=`${this.env.api.url}/github/issues/${e}`;return this.http.get(t)}};function ke(){return S(u,d,[h,f])}var Fe=["10m","20m","30m","40m","50m","1h","1h e 10m","1h e 20m","1h e 30m","1h e 40m","1h e 50m","2h","2h e 10m","2h e 20m","2h e 30m","2h e 40m","2h e 50m","3h","3h e 10m","3h e 20m","3h e 30m","3h e 40m","3h e 50m","4h","4h e 10m","4h e 20m","4h e 30m","4h e 40m","4h e 50m","5h","5h e 10m","5h e 20m","5h e 30m","5h e 40m","5h e 50m","6h","6h e 10m","6h e 20m","6h e 30m","6h e 40m","6h e 50m","7h","7h e 10m","7h e 20m","7h e 30m","7h e 40m","7h e 50m","8h","8h e 10m","8h e 20m","8h e 30m","8h e 40m","8h e 50m","9h","9h e 10m","9h e 20m","9h e 30m","9h e 40m","9h e 50m"];function ze(r){let[e,t]=r.split(" e "),s=+e.replace("h",""),n=t?+t.replace("m",""):0;return s*60+n}function Qe(r,e={listUnicodeChar:""}){let{listUnicodeChar:t=!1,stripListLeaders:s=!0,useImgAltText:n=!0,preserveLinks:i=!1,gfm:p=!0}=e??{},o=r??"";o=o.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{s&&(t?o=o.replace(/^([\s\t]*)([\\*\-\\+]|\d+\.)\s+/gm,t+" $1"):o=o.replace(/^([\s\t]*)([\\*\-\\+]|\d+\.)\s+/gm,"$1")),p&&(o=o.replace(/\n={2,}/g,` `).replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),i&&(o=o.replace(/\[(.*?)\][\\[\\(](.*?)[\]\\)]/g,"$1 ($2)"));let l;do l=o,o=new DOMParser().parseFromString(o,"text/html").body.textContent||"",o=o.replace(/^[=\\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\\!\[(.*?)\][\\[\\(].*?[\]\\)]/g,n?"$1":"").replace(/\[(.*?)\][\\[\\(].*?[\]\\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,` `).replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{1,}/g," ");while(o!==l)}catch(l){return console.error(l),r}return o}var M=r=>new Promise(r);var Xe=(r,e=500)=>M(t=>setTimeout(()=>t(r()),e));function w(r){return Object.entries(r)}function O({page:r=0,size:e=10,filter:t={},sort:s={},location:n}={}){let i=new URLSearchParams;i.append("page",`${r}`),i.append("size",`${e}`);for(let[p,o]of Object.entries(t))o&&i.append(`filter[${p}]`,`${o}`);for(let[p,o]of Object.entries(s))o&&i.append(`sort[${p}]`,`${o}`);if(n)for(let[p,o]of Object.entries(n))o&&i.append(`location[${p}]`,`${o}`);return i}function P(r){return Object.keys(r)}var F=/[\\^$.*+?()[\]{}|]/g,gt=RegExp(F.source);function bt(r){return Object.freeze(r)}var Ct=(r,e)=>Math.round(r/e*100);var I=class r{x;y;constructor(e=0,t=0){this.x=e,this.y=t}set(e,t){this.x=e,this.y=t}clone(){return new r(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}sub(e){return this.x-=e.x,this.y-=e.y,this}};function yr(r){let e=new x(r);return{current:()=>e.value,update:i=>{e.next(i)},observe:()=>e.asObservable()}}var m=class{#e;state$;get state(){return this.#e.value}constructor(e){let t=Object.freeze(e);this.#e=new x(t),this.state$=this.#e.asObservable()}select(e){return this.state$.pipe(y(t=>e(t)),b())}setState(e){this.#e.next(a(a({},this.state),e))}};var C=class{http;env;endpoint;get url(){return`${this.env.api.url}/${this.endpoint}`}constructor(e,t,s){this.http=e,this.env=t,this.endpoint=s}create(e){return this.http.post(this.url,e)}find(e){let t=[this.url,O(e)];return this.http.get(t.join("?"))}findOne(e){let t=[this.url,e];return this.http.get(t.join("/"))}update(e,t){let s=[this.url,e];return this.http.patch(s.join("/"),t)}delete(e){let t=[this.url,e];return this.http.delete(t.join("/"))}};var g=class extends m{githubService;contributors$=this.select(e=>e.contributors);issues$=this.select(e=>e.issues);constructor(e){super({contributors:[],issues:[]}),this.githubService=e}loadContributors(e){let t=this.githubService.findRepoContributors(e),s=n=>{this.setState({contributors:n})};t.pipe(c(1)).subscribe(s)}loadIssues(e){let t=this.githubService.findRepoIssues(e),s=n=>{this.setState({issues:n})};t.pipe(c(1)).subscribe(s)}};function vo(){return v(g,[u])}var D=class{static toParams(e,t){return{sort:t?`${e}:${t}`:null}}static fromParams(e){let[t,s]=e.split(":")??[];return s?{[t]:s}:{}}};var k=class extends m{response$=this.select(e=>e.response);selected$=this.select(e=>e.selected);setParams(e){this.setState({params:e})}patchParams(e){let t=a(a({},this.state.params),e);this.setState({params:t})}setPage(e,t=10){let{params:s}=this.state;s.page=e,s.size=t,this.setState({params:s})}setFilter(e){let{params:t}=this.state;t.filter=e,this.setState({params:t})}setSort(e){let{params:t}=this.state;t.sort=e,this.setState({params:t})}onLoad(e){e.pipe(c(1)).subscribe(t=>this.setState({response:t}))}onLoadOne(e){this.setState({selected:null}),e.pipe(c(1)).subscribe(t=>this.setState({selected:t}))}onCreate(e){e.pipe(c(1)).subscribe(()=>this.load())}onUpdate(e){e.pipe(c(1)).subscribe(()=>this.load())}onDelete(e){e.pipe(c(1)).subscribe(()=>this.load())}};export{$ as a,f as b,h as c,v as d,le as e,ye as f,ke as g,Fe as h,ze as i,Qe as j,M as k,Xe as l,w as m,O as n,P as o,bt as p,Ct as q,I as r,yr as s,m as t,C as u,g as v,vo as w,ue as x,fe as y,D as z,k as A}; diff --git a/chunk-6BGAZ7SQ.js b/chunk-7RMPQIRR.js similarity index 99% rename from chunk-6BGAZ7SQ.js rename to chunk-7RMPQIRR.js index 271aa498..af60105b 100644 --- a/chunk-6BGAZ7SQ.js +++ b/chunk-7RMPQIRR.js @@ -1 +1 @@ -import{Q as fo,U as bo,V as An,Y as Tn,ca as go,f as te,ha as vo,j as It,k as mo,l as At,q as po,ra as yo,x as ho}from"./chunk-W5KNOAKV.js";import{$ as Ie,$a as $r,$c as no,A as ln,Ab as Kr,Bb as Sn,Cb as xn,Ce as In,Da as zr,Db as Cn,Ea as Rt,Eb as Rn,Ee as lo,F as X,Fa as T,G as dn,Ga as bn,Ge as uo,H as St,I as xt,Ia as Lr,Ja as ht,K as un,Kb as Z,L as Ct,La as Nr,M as Er,Ma as gn,Mb as lt,Na as Ur,Oa as Yt,Oc as Oe,P as Ee,Pa as jr,Q as it,Qa as vn,R as mn,S as Ir,Sb as Y,Sc as Xt,Uc as to,V as Ar,Va as yn,Vb as k,Vc as j,Wa as Qt,Wb as dt,Wc as eo,Xa as Dt,Xd as so,Ya as Mt,Z as pn,Za as Fr,_ as U,_a as Br,a as m,ab as Vr,ad as Pe,b as I,ba as D,bb as Hr,bc as bt,bd as ro,ca as _,cb as qr,cc as gt,cd as oo,db as Wr,dc as C,e as nn,ea as g,eb as ft,ed as M,f as Rr,fa as at,g as rn,ga as Tr,gd as io,h as on,ha as S,i as an,ia as hn,ib as Gr,j as L,ja as v,jd as Et,k as N,ka as d,kb as Kt,kc as Xr,la as Ae,ld as ao,ma as kr,mb as $,md as En,n as ot,na as fn,nb as Zr,nc as tt,nd as Jt,o as A,oa as Or,oc as x,p as h,pa as Gt,pc as Jr,q as qt,qa as G,qb as Yr,r as sn,rb as Qr,rc as Dn,s as Dr,sa as Zt,sb as wn,sc as Mn,t as w,tb as _n,u as Me,ub as V,v as O,vb as ct,w as Wt,wb as J,x as Mr,xa as st,y as cn,ya as Pr,yb as ke,za as Te,ze as co}from"./chunk-TEKHUYWQ.js";var On=class extends oo{supportsDOMEvents=!0},Pn=class e extends On{static makeCurrent(){ro(new e)}onAndCancel(r,t,n){return r.addEventListener(t,n),()=>{r.removeEventListener(t,n)}}dispatchEvent(r,t){r.dispatchEvent(t)}remove(r){r.remove()}createElement(r,t){return t=t||this.getDefaultDocument(),t.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,t){return t==="window"?window:t==="document"?r:t==="body"?r.body:null}getBaseHref(r){let t=zi();return t==null?null:Li(t)}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return so(document.cookie,r)}},ee=null;function zi(){return ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null}function Li(e){return new URL(e,document.baseURI).pathname}var Ni=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),zn=new S(""),Ro=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,n){this._zone=n,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(i=>i.supports(t)),!n)throw new _(5101,!1);return this._eventNameToPlugin.set(t,n),n}static \u0275fac=function(n){return new(n||e)(v(zn),v(T))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),ze=class{_doc;constructor(r){this._doc=r}manager},Ln="ng-app-id";function wo(e){for(let r of e)r.remove()}function _o(e,r){let t=r.createElement("style");return t.textContent=e,t}function Ui(e,r,t){let n=e.head?.querySelectorAll(`style[${Ln}="${r}"]`);if(n)for(let o of n)o.textContent&&(o.removeAttribute(Ln),t.set(o.textContent,{usage:0,elements:[o]}))}function Nn(e,r){let t=r.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Do=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,n,o,i={}){this.doc=t,this.appId=n,this.nonce=o,this.isServer=In(i),Ui(t,n,this.inline),this.hosts.add(t.head)}addStyles(t,n){for(let o of t)this.addUsage(o,this.inline,_o);n?.forEach(o=>this.addUsage(o,this.external,Nn))}removeStyles(t,n){for(let o of t)this.removeUsage(o,this.inline);n?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,n,o){let i=n.get(t);i?i.usage++:n.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(t,this.doc)))})}removeUsage(t,n){let o=n.get(t);o&&(o.usage--,o.usage<=0&&(wo(o.elements),n.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])wo(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[n,{elements:o}]of this.inline)o.push(this.addElement(t,_o(n,this.doc)));for(let[n,{elements:o}]of this.external)o.push(this.addElement(t,Nn(n,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Ln,this.appId),t.appendChild(n)}static \u0275fac=function(n){return new(n||e)(v(M),v(gn),v(vn,8),v(Yt))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),kn={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Fn=/%COMP%/g,Mo="%COMP%",ji=`_nghost-${Mo}`,Fi=`_ngcontent-${Mo}`,Bi=!0,$i=new S("",{providedIn:"root",factory:()=>Bi});function Vi(e){return Fi.replace(Fn,e)}function Hi(e){return ji.replace(Fn,e)}function Eo(e,r){return r.map(t=>t.replace(Fn,e))}var So=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,n,o,i,a,c,s,l=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=c,this.ngZone=s,this.nonce=l,this.platformIsServer=In(c),this.defaultRenderer=new ne(t,a,s,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Qt.ShadowDom&&(n=I(m({},n),{encapsulation:Qt.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof Le?o.applyToHost(t):o instanceof re&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,i=o.get(n.id);if(!i){let a=this.doc,c=this.ngZone,s=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(n.encapsulation){case Qt.Emulated:i=new Le(s,l,n,this.appId,u,a,c,p);break;case Qt.ShadowDom:return new Un(s,l,t,n,a,c,this.nonce,p);default:i=new re(s,l,n,u,a,c,p);break}o.set(n.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(n){return new(n||e)(v(Ro),v(Do),v(gn),v($i),v(M),v(Yt),v(T),v(vn))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),ne=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,t,n,o){this.eventManager=r,this.doc=t,this.ngZone=n,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(r,t){return t?this.doc.createElementNS(kn[t]||t,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,t){(xo(r)?r.content:r).appendChild(t)}insertBefore(r,t,n){r&&(xo(r)?r.content:r).insertBefore(t,n)}removeChild(r,t){t.remove()}selectRootElement(r,t){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new _(-5104,!1);return t||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,t,n,o){if(o){t=o+":"+t;let i=kn[o];i?r.setAttributeNS(i,t,n):r.setAttribute(t,n)}else r.setAttribute(t,n)}removeAttribute(r,t,n){if(n){let o=kn[n];o?r.removeAttributeNS(o,t):r.removeAttribute(`${n}:${t}`)}else r.removeAttribute(t)}addClass(r,t){r.classList.add(t)}removeClass(r,t){r.classList.remove(t)}setStyle(r,t,n,o){o&(Kt.DashCase|Kt.Important)?r.style.setProperty(t,n,o&Kt.Important?"important":""):r.style[t]=n}removeStyle(r,t,n){n&Kt.DashCase?r.style.removeProperty(t):r.style[t]=""}setProperty(r,t,n){r!=null&&(r[t]=n)}setValue(r,t){r.nodeValue=t}listen(r,t,n){if(typeof r=="string"&&(r=Pe().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${t}`);return this.eventManager.addEventListener(r,t,this.decoratePreventDefault(n))}decoratePreventDefault(r){return t=>{if(t==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(t)):r(t))===!1&&t.preventDefault()}}};function xo(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Un=class extends ne{sharedStylesHost;hostEl;shadowRoot;constructor(r,t,n,o,i,a,c,s){super(r,i,a,s),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Eo(o.id,o.styles);for(let p of l){let b=document.createElement("style");c&&b.setAttribute("nonce",c),b.textContent=p,this.shadowRoot.appendChild(b)}let u=o.getExternalStyles?.();if(u)for(let p of u){let b=Nn(p,i);c&&b.setAttribute("nonce",c),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,t){return super.appendChild(this.nodeOrShadowRoot(r),t)}insertBefore(r,t,n){return super.insertBefore(this.nodeOrShadowRoot(r),t,n)}removeChild(r,t){return super.removeChild(null,t)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},re=class extends ne{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,t,n,o,i,a,c,s){super(r,i,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=s?Eo(s,n.styles):n.styles,this.styleUrls=n.getExternalStyles?.(s)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Le=class extends re{contentAttr;hostAttr;constructor(r,t,n,o,i,a,c,s){let l=o+"-"+n.id;super(r,t,n,i,a,c,s,l),this.contentAttr=Vi(l),this.hostAttr=Hi(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,t){let n=super.createElement(r,t);return super.setAttribute(n,this.contentAttr,""),n}},qi=(()=>{class e extends ze{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Co=["alt","control","meta","shift"],Wi={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Gi={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Zi=(()=>{class e extends ze{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pe().onAndCancel(t,i.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),Co.forEach(l=>{let u=n.indexOf(l);u>-1&&(n.splice(u,1),a+=l+".")}),a+=i,n.length!=0||i.length===0)return null;let s={};return s.domEventName=o,s.fullKey=a,s}static matchEventFullKeyCode(t,n){let o=Wi[t.key]||t.key,i="";return n.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Co.forEach(a=>{if(a!==o){let c=Gi[a];c(t)&&(i+=a+".")}}),i+=o,i===n)}static eventCallback(t,n,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>n(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function Pc(e,r){return to(m({rootComponent:e},Yi(r)))}function Yi(e){return{appProviders:[...ta,...e?.providers??[]],platformProviders:Ji}}function Qi(){Pn.makeCurrent()}function Ki(){return new bn}function Xi(){return Nr(document),document}var Ji=[{provide:Yt,useValue:co},{provide:Ur,useValue:Qi,multi:!0},{provide:M,useFactory:Xi,deps:[]}];var ta=[{provide:Or,useValue:"root"},{provide:bn,useFactory:Ki,deps:[]},{provide:zn,useClass:qi,multi:!0,deps:[M,T,Yt]},{provide:zn,useClass:Zi,multi:!0,deps:[M]},So,Do,Ro,{provide:Qr,useExisting:So},{provide:uo,useClass:Ni,deps:[]},[]];var zc=(()=>{class e{_doc;_dom;constructor(t){this._doc=t,this._dom=Pe()}addTag(t,n=!1){return t?this._getOrCreateElement(t,n):null}addTags(t,n=!1){return t?t.reduce((o,i)=>(i&&o.push(this._getOrCreateElement(i,n)),o),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let n=this._doc.querySelectorAll(`meta[${t}]`);return n?[].slice.call(n):[]}updateTag(t,n){if(!t)return null;n=n||this._parseSelector(t);let o=this.getTag(n);return o?this._setMetaElementAttributes(t,o):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,n=!1){if(!n){let a=this._parseSelector(t),c=this.getTags(a).filter(s=>this._containsAttributes(t,s))[0];if(c!==void 0)return c}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(t,n){return Object.keys(t).forEach(o=>n.setAttribute(this._getMetaKeyMap(o),t[o])),n}_parseSelector(t){let n=t.name?"name":"property";return`${n}="${t[n]}"`}_containsAttributes(t,n){return Object.keys(t).every(o=>n.getAttribute(this._getMetaKeyMap(o))===t[o])}_getMetaKeyMap(t){return ea[t]||t}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ea={httpEquiv:"http-equiv"},Io=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var na=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=v(ra),o},providedIn:"root"})}return e})(),ra=(()=>{class e extends na{_doc;constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case ft.NONE:return n;case ft.HTML:return Mt(n,"HTML")?Dt(n):Wr(this._doc,String(n)).toString();case ft.STYLE:return Mt(n,"Style")?Dt(n):n;case ft.SCRIPT:if(Mt(n,"Script"))return Dt(n);throw new _(5200,!1);case ft.URL:return Mt(n,"URL")?Dt(n):qr(String(n));case ft.RESOURCE_URL:if(Mt(n,"ResourceURL"))return Dt(n);throw new _(5201,!1);default:throw new _(5202,!1)}}bypassSecurityTrustHtml(t){return Fr(t)}bypassSecurityTrustStyle(t){return Br(t)}bypassSecurityTrustScript(t){return $r(t)}bypassSecurityTrustUrl(t){return Vr(t)}bypassSecurityTrustResourceUrl(t){return Hr(t)}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var f="primary",ve=Symbol("RouteTitle"),qn=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t[0]:t}return null}getAll(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Lt(e){return new qn(e)}function ia(e,r,t){let n=t.path.split("/");if(n.length>e.length||t.pathMatch==="full"&&(r.hasChildren()||n.lengthn[i]===o)}else return e===r}function $o(e){return e.length>0?e[e.length-1]:null}function pt(e){return sn(e)?e:Kr(e)?A(Promise.resolve(e)):h(e)}var sa={exact:Ho,subset:qo},Vo={exact:ca,subset:la,ignored:()=>!0};function Ao(e,r,t){return sa[t.paths](e.root,r.root,t.matrixParams)&&Vo[t.queryParams](e.queryParams,r.queryParams)&&!(t.fragment==="exact"&&e.fragment!==r.fragment)}function ca(e,r){return Q(e,r)}function Ho(e,r,t){if(!yt(e.segments,r.segments)||!je(e.segments,r.segments,t)||e.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!e.children[n]||!Ho(e.children[n],r.children[n],t))return!1;return!0}function la(e,r){return Object.keys(r).length<=Object.keys(e).length&&Object.keys(r).every(t=>Bo(e[t],r[t]))}function qo(e,r,t){return Wo(e,r,r.segments,t)}function Wo(e,r,t,n){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!yt(o,t)||r.hasChildren()||!je(o,t,n))}else if(e.segments.length===t.length){if(!yt(e.segments,t)||!je(e.segments,t,n))return!1;for(let o in r.children)if(!e.children[o]||!qo(e.children[o],r.children[o],n))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!yt(e.segments,o)||!je(e.segments,o,n)||!e.children[f]?!1:Wo(e.children[f],r,i,n)}}function je(e,r,t){return r.every((n,o)=>Vo[t](e[o].parameters,n.parameters))}var nt=class{root;queryParams;fragment;_queryParamMap;constructor(r=new y([],{}),t={},n=null){this.root=r,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Lt(this.queryParams),this._queryParamMap}toString(){return ma.serialize(this)}},y=class{segments;children;parent=null;constructor(r,t){this.segments=r,this.children=t,Object.values(t).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fe(this)}},vt=class{path;parameters;_parameterMap;constructor(r,t){this.path=r,this.parameters=t}get parameterMap(){return this._parameterMap??=Lt(this.parameters),this._parameterMap}toString(){return Zo(this)}};function da(e,r){return yt(e,r)&&e.every((t,n)=>Q(t.parameters,r[n].parameters))}function yt(e,r){return e.length!==r.length?!1:e.every((t,n)=>t.path===r[n].path)}function ua(e,r){let t=[];return Object.entries(e.children).forEach(([n,o])=>{n===f&&(t=t.concat(r(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==f&&(t=t.concat(r(o,n)))}),t}var ye=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>new Nt,providedIn:"root"})}return e})(),Nt=class{parse(r){let t=new Zn(r);return new nt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(r){let t=`/${oe(r.root,!0)}`,n=fa(r.queryParams),o=typeof r.fragment=="string"?`#${pa(r.fragment)}`:"";return`${t}${n}${o}`}},ma=new Nt;function Fe(e){return e.segments.map(r=>Zo(r)).join("/")}function oe(e,r){if(!e.hasChildren())return Fe(e);if(r){let t=e.children[f]?oe(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==f&&n.push(`${o}:${oe(i,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}else{let t=ua(e,(n,o)=>o===f?[oe(e.children[f],!1)]:[`${o}:${oe(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Fe(e)}/${t[0]}`:`${Fe(e)}/(${t.join("//")})`}}function Go(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ne(e){return Go(e).replace(/%3B/gi,";")}function pa(e){return encodeURI(e)}function Gn(e){return Go(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(e){return decodeURIComponent(e)}function To(e){return Be(e.replace(/\+/g,"%20"))}function Zo(e){return`${Gn(e.path)}${ha(e.parameters)}`}function ha(e){return Object.entries(e).map(([r,t])=>`;${Gn(r)}=${Gn(t)}`).join("")}function fa(e){let r=Object.entries(e).map(([t,n])=>Array.isArray(n)?n.map(o=>`${Ne(t)}=${Ne(o)}`).join("&"):`${Ne(t)}=${Ne(n)}`).filter(t=>t);return r.length?`?${r.join("&")}`:""}var ba=/^[^\/()?;#]+/;function Bn(e){let r=e.match(ba);return r?r[0]:""}var ga=/^[^\/()?;=#]+/;function va(e){let r=e.match(ga);return r?r[0]:""}var ya=/^[^=?&#]+/;function wa(e){let r=e.match(ya);return r?r[0]:""}var _a=/^[^&#]+/;function Sa(e){let r=e.match(_a);return r?r[0]:""}var Zn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new y([],{}):new y([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(t).length>0)&&(n[f]=new y(r,t)),n}parseSegment(){let r=Bn(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(r),new vt(Be(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let t=va(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let o=Bn(this.remaining);o&&(n=o,this.capture(n))}r[Be(t)]=Be(n)}parseQueryParam(r){let t=wa(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let a=Sa(this.remaining);a&&(n=a,this.capture(n))}let o=To(t),i=To(n);if(r.hasOwnProperty(o)){let a=r[o];Array.isArray(a)||(a=[a],r[o]=a),a.push(i)}else r[o]=i}parseParens(r){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Bn(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new _(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):r&&(i=f);let a=this.parseChildren();t[i]=Object.keys(a).length===1?a[f]:new y([],a),this.consumeOptional("//")}return t}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new _(4011,!1)}};function Yo(e){return e.segments.length>0?new y([],{[f]:e}):e}function Qo(e){let r={};for(let[n,o]of Object.entries(e.children)){let i=Qo(o);if(n===f&&i.segments.length===0&&i.hasChildren())for(let[a,c]of Object.entries(i.children))r[a]=c;else(i.segments.length>0||i.hasChildren())&&(r[n]=i)}let t=new y(e.segments,r);return xa(t)}function xa(e){if(e.numberOfChildren===1&&e.children[f]){let r=e.children[f];return new y(e.segments.concat(r.segments),r.children)}return e}function wt(e){return e instanceof nt}function Ca(e,r,t=null,n=null){let o=Ko(e);return Xo(o,r,t,n)}function Ko(e){let r;function t(i){let a={};for(let s of i.children){let l=t(s);a[s.outlet]=l}let c=new y(i.url,a);return i===e&&(r=c),c}let n=t(e.root),o=Yo(n);return r??o}function Xo(e,r,t,n){let o=e;for(;o.parent;)o=o.parent;if(r.length===0)return $n(o,o,o,t,n);let i=Ra(r);if(i.toRoot())return $n(o,o,new y([],{}),t,n);let a=Da(i,o,e),c=a.processChildren?se(a.segmentGroup,a.index,i.commands):ti(a.segmentGroup,a.index,i.commands);return $n(o,a.segmentGroup,c,t,n)}function $e(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function de(e){return typeof e=="object"&&e!=null&&e.outlets}function $n(e,r,t,n,o){let i={};n&&Object.entries(n).forEach(([s,l])=>{i[s]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let a;e===r?a=t:a=Jo(e,r,t);let c=Yo(Qo(a));return new nt(c,i,o)}function Jo(e,r,t){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===r?n[o]=t:n[o]=Jo(i,r,t)}),new y(e.segments,n)}var Ve=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,t,n){if(this.isAbsolute=r,this.numberOfDoubleDots=t,this.commands=n,r&&n.length>0&&$e(n[0]))throw new _(4003,!1);let o=n.find(de);if(o&&o!==$o(n))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ra(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ve(!0,0,e);let r=0,t=!1,n=e.reduce((o,i,a)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let c={};return Object.entries(i.outlets).forEach(([s,l])=>{c[s]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:c}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:a===0?(i.split("/").forEach((c,s)=>{s==0&&c==="."||(s==0&&c===""?t=!0:c===".."?r++:c!=""&&o.push(c))}),o):[...o,i]},[]);return new Ve(t,r,n)}var Ot=class{segmentGroup;processChildren;index;constructor(r,t,n){this.segmentGroup=r,this.processChildren=t,this.index=n}};function Da(e,r,t){if(e.isAbsolute)return new Ot(r,!0,0);if(!t)return new Ot(r,!1,NaN);if(t.parent===null)return new Ot(t,!0,0);let n=$e(e.commands[0])?0:1,o=t.segments.length-1+n;return Ma(t,o,e.numberOfDoubleDots)}function Ma(e,r,t){let n=e,o=r,i=t;for(;i>o;){if(i-=o,n=n.parent,!n)throw new _(4005,!1);o=n.segments.length}return new Ot(n,!1,o-i)}function Ea(e){return de(e[0])?e[0].outlets:{[f]:e}}function ti(e,r,t){if(e??=new y([],{}),e.segments.length===0&&e.hasChildren())return se(e,r,t);let n=Ia(e,r,t),o=t.slice(n.commandIndex);if(n.match&&n.pathIndexi!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let i=se(e.children[f],r,t);return new y(e.segments,i.children)}return Object.entries(n).forEach(([i,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[i]=ti(e.children[i],r,a))}),Object.entries(e.children).forEach(([i,a])=>{n[i]===void 0&&(o[i]=a)}),new y(e.segments,o)}}function Ia(e,r,t){let n=0,o=r,i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;let a=e.segments[o],c=t[n];if(de(c))break;let s=`${c}`,l=n0&&s===void 0)break;if(s&&l&&typeof l=="object"&&l.outlets===void 0){if(!Oo(s,l,a))return i;n+=2}else{if(!Oo(s,{},a))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Yn(e,r,t){let n=e.segments.slice(0,r),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(r[t]=Yn(new y([],{}),0,n))}),r}function ko(e){let r={};return Object.entries(e).forEach(([t,n])=>r[t]=`${n}`),r}function Oo(e,r,t){return e==t.path&&Q(r,t.parameters)}var ce="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),F=class{id;url;constructor(r,t){this.id=r,this.url=t}},Ut=class extends F{type=R.NavigationStart;navigationTrigger;restoredState;constructor(r,t,n="imperative",o=null){super(r,t),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},q=class extends F{urlAfterRedirects;type=R.NavigationEnd;constructor(r,t,n){super(r,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},z=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(z||{}),He=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(He||{}),et=class extends F{reason;code;type=R.NavigationCancel;constructor(r,t,n,o){super(r,t),this.reason=n,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ut=class extends F{reason;code;type=R.NavigationSkipped;constructor(r,t,n,o){super(r,t),this.reason=n,this.code=o}},ue=class extends F{error;target;type=R.NavigationError;constructor(r,t,n,o){super(r,t),this.error=n,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qe=class extends F{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends F{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kn=class extends F{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(r,t,n,o,i){super(r,t),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Xn=class extends F{urlAfterRedirects;state;type=R.ResolveStart;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class extends F{urlAfterRedirects;state;type=R.ResolveEnd;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tr=class{route;type=R.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},er=class{route;type=R.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},nr=class{snapshot;type=R.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rr=class{snapshot;type=R.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},or=class{snapshot;type=R.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ir=class{snapshot;type=R.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},We=class{routerEvent;position;anchor;type=R.Scroll;constructor(r,t,n){this.routerEvent=r,this.position=t,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},me=class{},jt=class{url;navigationBehaviorOptions;constructor(r,t){this.url=r,this.navigationBehaviorOptions=t}};function Ta(e,r){return e.providers&&!e._injector&&(e._injector=_n(e.providers,r,`Route: ${e.path}`)),e._injector??r}function H(e){return e.outlet||f}function ka(e,r){let t=e.filter(n=>H(n)===r);return t.push(...e.filter(n=>H(n)!==r)),t}function we(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let r=e.parent;r;r=r.parent){let t=r.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var ar=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return we(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new _e(this.rootInjector)}},_e=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new ar(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(n){return new(n||e)(v(Gt))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ge=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let t=this.pathFromRoot(r);return t.length>1?t[t.length-2]:null}children(r){let t=sr(r,this._root);return t?t.children.map(n=>n.value):[]}firstChild(r){let t=sr(r,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(r){let t=cr(r,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==r)}pathFromRoot(r){return cr(r,this._root).map(t=>t.value)}};function sr(e,r){if(e===r.value)return r;for(let t of r.children){let n=sr(e,t);if(n)return n}return null}function cr(e,r){if(e===r.value)return[r];for(let t of r.children){let n=cr(e,t);if(n.length)return n.unshift(r),n}return[]}var P=class{value;children;constructor(r,t){this.value=r,this.children=t}toString(){return`TreeNode(${this.value})`}};function kt(e){let r={};return e&&e.children.forEach(t=>r[t.value.outlet]=t),r}var Ze=class extends Ge{snapshot;constructor(r,t){super(r),this.snapshot=t,gr(this,r)}toString(){return this.snapshot.toString()}};function ei(e){let r=Oa(e),t=new N([new vt("",{})]),n=new N({}),o=new N({}),i=new N({}),a=new N(""),c=new mt(t,n,i,a,o,f,e,r.root);return c.snapshot=r.root,new Ze(new P(c,[]),r)}function Oa(e){let r={},t={},n={},o="",i=new Pt([],r,n,o,t,f,e,null,{});return new Qe("",new P(i,[]))}var mt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,t,n,o,i,a,c,s){this.urlSubject=r,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=a,this.component=c,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(w(l=>l[ve]))??h(void 0),this.url=r,this.params=t,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(w(r=>Lt(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(w(r=>Lt(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ye(e,r,t="emptyOnly"){let n,{routeConfig:o}=e;return r!==null&&(t==="always"||o?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:m(m({},r.params),e.params),data:m(m({},r.data),e.data),resolve:m(m(m(m({},e.data),r.data),o?.data),e._resolvedData)}:n={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&ri(o)&&(n.resolve[ve]=o.title),n}var Pt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ve]}constructor(r,t,n,o,i,a,c,s,l){this.url=r,this.params=t,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=a,this.component=c,this.routeConfig=s,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Lt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Lt(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${t}')`}},Qe=class extends Ge{url;constructor(r,t){super(t),this.url=r,gr(this,t)}toString(){return ni(this._root)}};function gr(e,r){r.value._routerState=e,r.children.forEach(t=>gr(e,t))}function ni(e){let r=e.children.length>0?` { ${e.children.map(ni).join(", ")} } `:"";return`${e.value}${r}`}function Vn(e){if(e.snapshot){let r=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Q(r.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),r.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Q(r.params,t.params)||e.paramsSubject.next(t.params),aa(r.url,t.url)||e.urlSubject.next(t.url),Q(r.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function lr(e,r){let t=Q(e.params,r.params)&&da(e.url,r.url),n=!e.parent!=!r.parent;return t&&!n&&(!e.parent||lr(e.parent,r.parent))}function ri(e){return typeof e.title=="string"||e.title===null}var Pa=new S(""),za=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new Rt;deactivateEvents=new Rt;attachEvents=new Rt;detachEvents=new Rt;routerOutletData=Lr(void 0);parentContexts=d(_e);location=d(Rn);changeDetector=d(Xt);inputBinder=d(tn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,s=new dr(t,c,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:s,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Zt]})}return e})(),dr=class e{route;childContexts;parent;outletData;__ngOutletInjector(r){return new e(this.route,this.childContexts,r,this.outletData)}constructor(r,t,n,o){this.route=r,this.childContexts=t,this.parent=n,this.outletData=o}get(r,t){return r===mt?this.route:r===_e?this.childContexts:r===Pa?this.outletData:this.parent.get(r,t)}},tn=new S(""),Po=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,o=Me([n.queryParams,n.params,n.data]).pipe(U(([i,a,c],s)=>(c=m(m(m({},i),a),c),s===0?h(c):Promise.resolve(c)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let a=no(n.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:c}of a.inputs)t.activatedComponentRef.setInput(c,i[c])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function La(e,r,t){let n=pe(e,r._root,t?t._root:void 0);return new Ze(n,r)}function pe(e,r,t){if(t&&e.shouldReuseRoute(r.value,t.value.snapshot)){let n=t.value;n._futureSnapshot=r.value;let o=Na(e,r,t);return new P(n,o)}else{if(e.shouldAttach(r.value)){let i=e.retrieve(r.value);if(i!==null){let a=i.route;return a.value._futureSnapshot=r.value,a.children=r.children.map(c=>pe(e,c)),a}}let n=Ua(r.value),o=r.children.map(i=>pe(e,i));return new P(n,o)}}function Na(e,r,t){return r.children.map(n=>{for(let o of t.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return pe(e,n,o);return pe(e,n)})}function Ua(e){return new mt(new N(e.url),new N(e.params),new N(e.queryParams),new N(e.fragment),new N(e.data),e.outlet,e.component,e)}var he=class{redirectTo;navigationBehaviorOptions;constructor(r,t){this.redirectTo=r,this.navigationBehaviorOptions=t}},oi="ngNavigationCancelingError";function Ke(e,r){let{redirectTo:t,navigationBehaviorOptions:n}=wt(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,o=ii(!1,z.Redirect);return o.url=t,o.navigationBehaviorOptions=n,o}function ii(e,r){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[oi]=!0,t.cancellationCode=r,t}function ja(e){return ai(e)&&wt(e.url)}function ai(e){return!!e&&e[oi]}var Fa=(e,r,t,n)=>w(o=>(new ur(r,o.targetRouterState,o.currentRouterState,t,n).activate(e),o)),ur=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,t,n,o,i){this.routeReuseStrategy=r,this.futureState=t,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(r){let t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,r),Vn(this.futureState.root),this.activateChildRoutes(t,n,r)}deactivateChildRoutes(r,t,n){let o=kt(t);r.children.forEach(i=>{let a=i.value.outlet;this.deactivateRoutes(i,o[a],n),delete o[a]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(r,t,n){let o=r.value,i=t?t.value:null;if(o===i)if(o.component){let a=n.getContext(o.outlet);a&&this.deactivateChildRoutes(r,t,a.children)}else this.deactivateChildRoutes(r,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(r,t){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,t):this.deactivateRouteAndOutlet(r,t)}detachAndStoreRouteSubtree(r,t){let n=t.getContext(r.value.outlet),o=n&&r.value.component?n.children:t,i=kt(r);for(let a of Object.values(i))this.deactivateRouteAndItsChildren(a,o);if(n&&n.outlet){let a=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:a,route:r,contexts:c})}}deactivateRouteAndOutlet(r,t){let n=t.getContext(r.value.outlet),o=n&&r.value.component?n.children:t,i=kt(r);for(let a of Object.values(i))this.deactivateRouteAndItsChildren(a,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,t,n){let o=kt(t);r.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new ir(i.value.snapshot))}),r.children.length&&this.forwardEvent(new rr(r.value.snapshot))}activateRoutes(r,t,n){let o=r.value,i=t?t.value:null;if(Vn(o),o===i)if(o.component){let a=n.getOrCreateContext(o.outlet);this.activateChildRoutes(r,t,a.children)}else this.activateChildRoutes(r,t,n);else if(o.component){let a=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let c=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(c.contexts),a.attachRef=c.componentRef,a.route=c.route.value,a.outlet&&a.outlet.attach(c.componentRef,c.route.value),Vn(c.route.value),this.activateChildRoutes(r,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(r,null,a.children)}else this.activateChildRoutes(r,null,n)}},Xe=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},zt=class{component;route;constructor(r,t){this.component=r,this.route=t}};function Ba(e,r,t){let n=e._root,o=r?r._root:null;return ie(n,o,t,[n.value])}function $a(e){let r=e.routeConfig?e.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:e,guards:r}}function Bt(e,r){let t=Symbol(),n=r.get(e,t);return n===t?typeof e=="function"&&!Tr(e)?e:r.get(e):n}function ie(e,r,t,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=kt(r);return e.children.forEach(a=>{Va(a,i[a.value.outlet],t,n.concat([a.value]),o),delete i[a.value.outlet]}),Object.entries(i).forEach(([a,c])=>le(c,t.getContext(a),o)),o}function Va(e,r,t,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,a=r?r.value:null,c=t?t.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){let s=Ha(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new Xe(n)):(i.data=a.data,i._resolvedData=a._resolvedData),i.component?ie(e,r,c?c.children:null,n,o):ie(e,r,t,n,o),s&&c&&c.outlet&&c.outlet.isActivated&&o.canDeactivateChecks.push(new zt(c.outlet.component,a))}else a&&le(r,c,o),o.canActivateChecks.push(new Xe(n)),i.component?ie(e,null,c?c.children:null,n,o):ie(e,null,t,n,o);return o}function Ha(e,r,t){if(typeof t=="function")return t(e,r);switch(t){case"pathParamsChange":return!yt(e.url,r.url);case"pathParamsOrQueryParamsChange":return!yt(e.url,r.url)||!Q(e.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lr(e,r)||!Q(e.queryParams,r.queryParams);case"paramsChange":default:return!lr(e,r)}}function le(e,r,t){let n=kt(e),o=e.value;Object.entries(n).forEach(([i,a])=>{o.component?r?le(a,r.children.getContext(i),t):le(a,null,t):le(a,r,t)}),o.component?r&&r.outlet&&r.outlet.isActivated?t.canDeactivateChecks.push(new zt(r.outlet.component,o)):t.canDeactivateChecks.push(new zt(null,o)):t.canDeactivateChecks.push(new zt(null,o))}function Se(e){return typeof e=="function"}function qa(e){return typeof e=="boolean"}function Wa(e){return e&&Se(e.canLoad)}function Ga(e){return e&&Se(e.canActivate)}function Za(e){return e&&Se(e.canActivateChild)}function Ya(e){return e&&Se(e.canDeactivate)}function Qa(e){return e&&Se(e.canMatch)}function si(e){return e instanceof Dr||e?.name==="EmptyError"}var Ue=Symbol("INITIAL_VALUE");function Ft(){return U(e=>Me(e.map(r=>r.pipe(Ct(1),pn(Ue)))).pipe(w(r=>{for(let t of r)if(t!==!0){if(t===Ue)return Ue;if(t===!1||Ka(t))return t}return!0}),X(r=>r!==Ue),Ct(1)))}function Ka(e){return wt(e)||e instanceof he}function Xa(e,r){return O(t=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:a}}=t;return a.length===0&&i.length===0?h(I(m({},t),{guardsResult:!0})):Ja(a,n,o,e).pipe(O(c=>c&&qa(c)?ts(n,i,e,r):h(c)),w(c=>I(m({},t),{guardsResult:c})))})}function Ja(e,r,t,n){return A(e).pipe(O(o=>is(o.component,o.route,t,r,n)),it(o=>o!==!0,!0))}function ts(e,r,t,n){return A(r).pipe(xt(o=>Mr(ns(o.route.parent,n),es(o.route,n),os(e,o.path,t),rs(e,o.route,t))),it(o=>o!==!0,!0))}function es(e,r){return e!==null&&r&&r(new or(e)),h(!0)}function ns(e,r){return e!==null&&r&&r(new nr(e)),h(!0)}function rs(e,r,t){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return h(!0);let o=n.map(i=>cn(()=>{let a=we(r)??t,c=Bt(i,a),s=Ga(c)?c.canActivate(r,e):G(a,()=>c(r,e));return pt(s).pipe(it())}));return h(o).pipe(Ft())}function os(e,r,t){let n=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(a=>$a(a)).filter(a=>a!==null).map(a=>cn(()=>{let c=a.guards.map(s=>{let l=we(a.node)??t,u=Bt(s,l),p=Za(u)?u.canActivateChild(n,e):G(l,()=>u(n,e));return pt(p).pipe(it())});return h(c).pipe(Ft())}));return h(i).pipe(Ft())}function is(e,r,t,n,o){let i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!i||i.length===0)return h(!0);let a=i.map(c=>{let s=we(r)??o,l=Bt(c,s),u=Ya(l)?l.canDeactivate(e,r,t,n):G(s,()=>l(e,r,t,n));return pt(u).pipe(it())});return h(a).pipe(Ft())}function as(e,r,t,n){let o=r.canLoad;if(o===void 0||o.length===0)return h(!0);let i=o.map(a=>{let c=Bt(a,e),s=Wa(c)?c.canLoad(r,t):G(e,()=>c(r,t));return pt(s)});return h(i).pipe(Ft(),ci(n))}function ci(e){return Rr(D(r=>{if(typeof r!="boolean")throw Ke(e,r)}),w(r=>r===!0))}function ss(e,r,t,n){let o=r.canMatch;if(!o||o.length===0)return h(!0);let i=o.map(a=>{let c=Bt(a,e),s=Qa(c)?c.canMatch(r,t):G(e,()=>c(r,t));return pt(s)});return h(i).pipe(Ft(),ci(n))}var fe=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},be=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Tt(e){return qt(new fe(e))}function cs(e){return qt(new _(4e3,!1))}function ls(e){return qt(ii(!1,z.GuardRejected))}var mr=class{urlSerializer;urlTree;constructor(r,t){this.urlSerializer=r,this.urlTree=t}lineralizeSegments(r,t){let n=[],o=t.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return h(n);if(o.numberOfChildren>1||!o.children[f])return cs(`${r.redirectTo}`);o=o.children[f]}}applyRedirectCommands(r,t,n,o,i){if(typeof t!="string"){let c=t,{queryParams:s,fragment:l,routeConfig:u,url:p,outlet:b,params:W,data:E,title:rt}=o,B=G(i,()=>c({params:W,data:E,queryParams:s,fragment:l,routeConfig:u,url:p,outlet:b,title:rt}));if(B instanceof nt)throw new be(B);t=B}let a=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),r,n);if(t[0]==="/")throw new be(a);return a}applyRedirectCreateUrlTree(r,t,n,o){let i=this.createSegmentGroup(r,t.root,n,o);return new nt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(r,t){let n={};return Object.entries(r).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let c=i.substring(1);n[o]=t[c]}else n[o]=i}),n}createSegmentGroup(r,t,n,o){let i=this.createSegments(r,t.segments,n,o),a={};return Object.entries(t.children).forEach(([c,s])=>{a[c]=this.createSegmentGroup(r,s,n,o)}),new y(i,a)}createSegments(r,t,n,o){return t.map(i=>i.path[0]===":"?this.findPosParam(r,i,o):this.findOrReturn(i,n))}findPosParam(r,t,n){let o=n[t.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(r,t){let n=0;for(let o of t){if(o.path===r.path)return t.splice(n),o;n++}return r}},pr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ds(e,r,t,n,o){let i=li(e,r,t);return i.matched?(n=Ta(r,n),ss(n,r,t,o).pipe(w(a=>a===!0?i:m({},pr)))):h(i)}function li(e,r,t){if(r.path==="**")return us(t);if(r.path==="")return r.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},pr):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(r.matcher||ia)(t,e,r);if(!o)return m({},pr);let i={};Object.entries(o.posParams??{}).forEach(([c,s])=>{i[c]=s.path});let a=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function us(e){return{matched:!0,parameters:e.length>0?$o(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function zo(e,r,t,n){return t.length>0&&hs(e,t,n)?{segmentGroup:new y(r,ps(n,new y(t,e.children))),slicedSegments:[]}:t.length===0&&fs(e,t,n)?{segmentGroup:new y(e.segments,ms(e,t,n,e.children)),slicedSegments:t}:{segmentGroup:new y(e.segments,e.children),slicedSegments:t}}function ms(e,r,t,n){let o={};for(let i of t)if(en(e,r,i)&&!n[H(i)]){let a=new y([],{});o[H(i)]=a}return m(m({},n),o)}function ps(e,r){let t={};t[f]=r;for(let n of e)if(n.path===""&&H(n)!==f){let o=new y([],{});t[H(n)]=o}return t}function hs(e,r,t){return t.some(n=>en(e,r,n)&&H(n)!==f)}function fs(e,r,t){return t.some(n=>en(e,r,n))}function en(e,r,t){return(e.hasChildren()||r.length>0)&&t.pathMatch==="full"?!1:t.path===""}function bs(e,r,t){return r.length===0&&!e.children[t]}var hr=class{};function gs(e,r,t,n,o,i,a="emptyOnly"){return new fr(e,r,t,n,o,a,i).recognize()}var vs=31,fr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,t,n,o,i,a,c){this.injector=r,this.configLoader=t,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=a,this.urlSerializer=c,this.applyRedirects=new mr(this.urlSerializer,this.urlTree)}noMatchError(r){return new _(4002,`'${r.segmentGroup}'`)}recognize(){let r=zo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(w(({children:t,rootSnapshot:n})=>{let o=new P(n,t),i=new Qe("",o),a=Ca(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(a),{state:i,tree:a}}))}match(r){let t=new Pt([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,f,t).pipe(w(n=>({children:n,rootSnapshot:t})),St(n=>{if(n instanceof be)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof fe?this.noMatchError(n):n}))}processSegmentGroup(r,t,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,t,n,i):this.processSegment(r,t,n,n.segments,o,!0,i).pipe(w(a=>a instanceof P?[a]:[]))}processChildren(r,t,n,o){let i=[];for(let a of Object.keys(n.children))a==="primary"?i.unshift(a):i.push(a);return A(i).pipe(xt(a=>{let c=n.children[a],s=ka(t,a);return this.processSegmentGroup(r,s,c,a,o)}),Ar((a,c)=>(a.push(...c),a)),un(null),Ir(),O(a=>{if(a===null)return Tt(n);let c=di(a);return ys(c),h(c)}))}processSegment(r,t,n,o,i,a,c){return A(t).pipe(xt(s=>this.processSegmentAgainstRoute(s._injector??r,t,s,n,o,i,a,c).pipe(St(l=>{if(l instanceof fe)return h(null);throw l}))),it(s=>!!s),St(s=>{if(si(s))return bs(n,o,i)?h(new hr):Tt(n);throw s}))}processSegmentAgainstRoute(r,t,n,o,i,a,c,s){return H(n)!==a&&(a===f||!en(o,i,n))?Tt(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,o,n,i,a,s):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(r,o,t,n,i,a,s):Tt(o)}expandSegmentAgainstRouteUsingRedirect(r,t,n,o,i,a,c){let{matched:s,parameters:l,consumedSegments:u,positionalParamSegments:p,remainingSegments:b}=li(t,o,i);if(!s)return Tt(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>vs&&(this.allowRedirects=!1));let W=new Pt(i,l,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Lo(o),H(o),o.component??o._loadedComponent??null,o,No(o)),E=Ye(W,c,this.paramsInheritanceStrategy);W.params=Object.freeze(E.params),W.data=Object.freeze(E.data);let rt=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,p,W,r);return this.applyRedirects.lineralizeSegments(o,rt).pipe(O(B=>this.processSegment(r,n,t,B.concat(b),a,!1,c)))}matchSegmentAgainstRoute(r,t,n,o,i,a){let c=ds(t,n,o,r,this.urlSerializer);return n.path==="**"&&(t.children={}),c.pipe(U(s=>s.matched?(r=n._injector??r,this.getChildConfig(r,n,o).pipe(U(({routes:l})=>{let u=n._loadedInjector??r,{parameters:p,consumedSegments:b,remainingSegments:W}=s,E=new Pt(b,p,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Lo(n),H(n),n.component??n._loadedComponent??null,n,No(n)),rt=Ye(E,a,this.paramsInheritanceStrategy);E.params=Object.freeze(rt.params),E.data=Object.freeze(rt.data);let{segmentGroup:B,slicedSegments:Ht}=zo(t,b,W,l);if(Ht.length===0&&B.hasChildren())return this.processChildren(u,l,B,E).pipe(w(De=>new P(E,De)));if(l.length===0&&Ht.length===0)return h(new P(E,[]));let ki=H(n)===i;return this.processSegment(u,l,B,Ht,ki?f:i,!0,E).pipe(w(De=>new P(E,De instanceof P?[De]:[])))}))):Tt(t)))}getChildConfig(r,t,n){return t.children?h({routes:t.children,injector:r}):t.loadChildren?t._loadedRoutes!==void 0?h({routes:t._loadedRoutes,injector:t._loadedInjector}):as(r,t,n,this.urlSerializer).pipe(O(o=>o?this.configLoader.loadChildren(r,t).pipe(D(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):ls(t))):h({routes:[],injector:r})}};function ys(e){e.sort((r,t)=>r.value.outlet===f?-1:t.value.outlet===f?1:r.value.outlet.localeCompare(t.value.outlet))}function ws(e){let r=e.value.routeConfig;return r&&r.path===""}function di(e){let r=[],t=new Set;for(let n of e){if(!ws(n)){r.push(n);continue}let o=r.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),t.add(o)):r.push(n)}for(let n of t){let o=di(n.children);r.push(new P(n.value,o))}return r.filter(n=>!t.has(n))}function Lo(e){return e.data||{}}function No(e){return e.resolve||{}}function _s(e,r,t,n,o,i){return O(a=>gs(e,r,t,n,a.extractedUrl,o,i).pipe(w(({state:c,tree:s})=>I(m({},a),{targetSnapshot:c,urlAfterRedirects:s}))))}function Ss(e,r){return O(t=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=t;if(!o.length)return h(t);let i=new Set(o.map(s=>s.route)),a=new Set;for(let s of i)if(!a.has(s))for(let l of ui(s))a.add(l);let c=0;return A(a).pipe(xt(s=>i.has(s)?xs(s,n,e,r):(s.data=Ye(s,s.parent,e).resolve,h(void 0))),D(()=>c++),mn(1),O(s=>c===a.size?h(t):ot))})}function ui(e){let r=e.children.map(t=>ui(t)).flat();return[e,...r]}function xs(e,r,t,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!ri(o)&&(i[ve]=o.title),Cs(i,e,r,n).pipe(w(a=>(e._resolvedData=a,e.data=Ye(e,e.parent,t).resolve,null)))}function Cs(e,r,t,n){let o=Wn(e);if(o.length===0)return h({});let i={};return A(o).pipe(O(a=>Rs(e[a],r,t,n).pipe(it(),D(c=>{if(c instanceof he)throw Ke(new Nt,c);i[a]=c}))),mn(1),Er(i),St(a=>si(a)?ot:qt(a)))}function Rs(e,r,t,n){let o=we(r)??n,i=Bt(e,o),a=i.resolve?i.resolve(r,t):G(o,()=>i(r,t));return pt(a)}function Hn(e){return U(r=>{let t=e(r);return t?A(t).pipe(w(()=>r)):h(r)})}var mi=(()=>{class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(i=>i.outlet===f);return n}getResolvedTitleForRoute(t){return t.data[ve]}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(Ds),providedIn:"root"})}return e})(),Ds=(()=>{class e extends mi{title;constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||e)(v(Io))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$t=new S("",{providedIn:"root",factory:()=>({})}),Ms=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,o){n&1&&C(0,"router-outlet")},dependencies:[za],encapsulation:2})}return e})();function vr(e){let r=e.children&&e.children.map(vr),t=r?I(m({},e),{children:r}):m({},e);return!t.component&&!t.loadComponent&&(r||t.loadChildren)&&t.outlet&&t.outlet!==f&&(t.component=Ms),t}var ge=new S(""),yr=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Oe);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return h(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=pt(t.loadComponent()).pipe(w(pi),D(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Ee(()=>{this.componentLoaders.delete(t)})),o=new an(n,()=>new L).pipe(on());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return h({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=Es(n,this.compiler,t,this.onLoadEndListener).pipe(Ee(()=>{this.childrenLoaders.delete(n)})),a=new an(i,()=>new L).pipe(on());return this.childrenLoaders.set(n,a),a}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Es(e,r,t,n){return pt(e.loadChildren()).pipe(w(pi),O(o=>o instanceof Yr||Array.isArray(o)?h(o):A(r.compileModuleAsync(o))),w(o=>{n&&n(e);let i,a,c=!1;return Array.isArray(o)?(a=o,c=!0):(i=o.create(t).injector,a=i.get(ge,[],{optional:!0,self:!0}).flat()),{routes:a.map(vr),injector:i}}))}function Is(e){return e&&typeof e=="object"&&"default"in e}function pi(e){return Is(e)?e.default:e}var wr=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(As),providedIn:"root"})}return e})(),As=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hi=new S(""),fi=new S("");function Ts(e,r,t){let n=e.get(fi),o=e.get(M);return e.get(T).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,a=new Promise(l=>{i=l}),c=o.startViewTransition(()=>(i(),ks(e))),{onViewTransitionCreated:s}=n;return s&&G(e,()=>s({transition:c,from:r,to:t})),a})}function ks(e){return new Promise(r=>{yn({read:()=>setTimeout(r)},{injector:e})})}var bi=new S(""),_r=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new L;transitionAbortSubject=new L;configLoader=d(yr);environmentInjector=d(Gt);urlSerializer=d(ye);rootContexts=d(_e);location=d(Jt);inputBindingEnabled=d(tn,{optional:!0})!==null;titleStrategy=d(mi);options=d($t,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(wr);createViewTransition=d(hi,{optional:!0});navigationErrorHandler=d(bi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>h(void 0);rootComponentType=null;constructor(){let t=o=>this.events.next(new tr(o)),n=o=>this.events.next(new er(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(I(m(m({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new N({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ce,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(i=>i.id!==0),w(i=>I(m({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),U(i=>{let a=!1,c=!1;return h(i).pipe(U(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",z.SupersededByNewNavigation),ot;this.currentTransition=i,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?I(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&u!=="reload"){let p="";return this.events.next(new ut(s.id,this.urlSerializer.serialize(s.rawUrl),p,He.IgnoredSameUrlNavigation)),s.resolve(!1),ot}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return h(s).pipe(U(p=>{let b=this.transitions?.getValue();return this.events.next(new Ut(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),b!==this.transitions?.getValue()?ot:Promise.resolve(p)}),_s(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),D(p=>{i.targetSnapshot=p.targetSnapshot,i.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=I(m({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let b=new qe(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(b)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:p,extractedUrl:b,source:W,restoredState:E,extras:rt}=s,B=new Ut(p,this.urlSerializer.serialize(b),W,E);this.events.next(B);let Ht=ei(this.rootComponentType).snapshot;return this.currentTransition=i=I(m({},s),{targetSnapshot:Ht,urlAfterRedirects:b,extras:I(m({},rt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,h(i)}else{let p="";return this.events.next(new ut(s.id,this.urlSerializer.serialize(s.extractedUrl),p,He.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ot}}),D(s=>{let l=new Qn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}),w(s=>(this.currentTransition=i=I(m({},s),{guards:Ba(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i)),Xa(this.environmentInjector,s=>this.events.next(s)),D(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Ke(this.urlSerializer,s.guardsResult);let l=new Kn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(l)}),X(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",z.GuardRejected),!1)),Hn(s=>{if(s.guards.canActivateChecks.length)return h(s).pipe(D(l=>{let u=new Xn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),U(l=>{let u=!1;return h(l).pipe(Ss(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",z.NoDataFromResolver)}}))}),D(l=>{let u=new Jn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),Hn(s=>{let l=u=>{let p=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(D(b=>{u.component=b}),w(()=>{})));for(let b of u.children)p.push(...l(b));return p};return Me(l(s.targetSnapshot.root)).pipe(un(null),Ct(1))}),Hn(()=>this.afterPreactivation()),U(()=>{let{currentSnapshot:s,targetSnapshot:l}=i,u=this.createViewTransition?.(this.environmentInjector,s.root,l.root);return u?A(u).pipe(w(()=>i)):h(i)}),w(s=>{let l=La(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=i=I(m({},s),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,i}),D(()=>{this.events.next(new me)}),Fa(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Ct(1),D({next:s=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new q(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{a=!0}}),Ie(this.transitionAbortSubject.pipe(D(s=>{throw s}))),Ee(()=>{!a&&!c&&this.cancelNavigationTransition(i,"",z.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),St(s=>{if(c=!0,ai(s))this.events.next(new et(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),ja(s)?this.events.next(new jt(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let l=new ue(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let u=G(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof he){let{message:p,cancellationCode:b}=Ke(this.urlSerializer,u);this.events.next(new et(i.id,this.urlSerializer.serialize(i.extractedUrl),p,b)),this.events.next(new jt(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),s}catch(u){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(u)}}return ot}))}))}cancelNavigationTransition(t,n,o){let i=new et(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Os(e){return e!==ce}var Ps=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(zs),providedIn:"root"})}return e})(),br=class{shouldDetach(r){return!1}store(r,t){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,t){return r.routeConfig===t.routeConfig}},zs=(()=>{class e extends br{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(Ls),providedIn:"root"})}return e})(),Ls=(()=>{class e extends gi{location=d(Jt);urlSerializer=d(ye);options=d($t,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=d(wr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new nt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=ei(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ut)this.stateMemento=this.createStateMemento();else if(t instanceof ut)this.rawUrlTree=n.initialUrl;else if(t instanceof qe){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??o,n)}}else t instanceof me?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof et&&(t.code===z.GuardRejected||t.code===z.NoDataFromResolver)?this.restoreHistory(n):t instanceof ue?this.restoreHistory(n,!0):t instanceof q&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=t instanceof nt?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let i=this.browserPageId,a=m(m({},n.extras.state),this.generateNgRouterState(n.id,i));this.location.replaceState(o,"",a)}else{let i=m(m({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&i===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ae=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ae||{});function vi(e,r){e.events.pipe(X(t=>t instanceof q||t instanceof et||t instanceof ue||t instanceof ut),w(t=>t instanceof q||t instanceof ut?ae.COMPLETE:(t instanceof et?t.code===z.Redirect||t.code===z.SupersededByNewNavigation:!1)?ae.REDIRECTING:ae.FAILED),X(t=>t!==ae.REDIRECTING),Ct(1)).subscribe(()=>{r()})}var Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Us={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},K=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(ke);stateManager=d(gi);options=d($t,{optional:!0})||{};pendingTasks=d(zr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(_r);urlSerializer=d(ye);location=d(Jt);urlHandlingStrategy=d(wr);_events=new L;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(Ps);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(ge,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(tn,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new nn;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(n,i),n instanceof et&&n.code!==z.Redirect&&n.code!==z.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof q)this.navigated=!0;else if(n instanceof jt){let a=n.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),s=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Os(o.source)},a);this.scheduleNavigation(c,ce,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fs(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ce,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let i={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let s=m({},o);delete s.navigationId,delete s.\u0275routerPageId,Object.keys(s).length!==0&&(i.state=s)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(vr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:o,queryParams:i,fragment:a,queryParamsHandling:c,preserveFragment:s}=n,l=s?this.currentUrlTree.fragment:a,u=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let p;try{let b=o?o.snapshot:this.routerState.snapshot.root;p=Ko(b)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),p=this.currentUrlTree.root}return Xo(p,t,u,l??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=wt(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ce,null,n)}navigate(t,n={skipLocationChange:!1}){return js(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=m({},Ns):n===!1?o=m({},Us):o=n,wt(t))return Ao(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Ao(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,i])=>(i!=null&&(n[o]=i),n),{})}scheduleNavigation(t,n,o,i,a){if(this.disposed)return Promise.resolve(!1);let c,s,l;a?(c=a.resolve,s=a.reject,l=a.promise):l=new Promise((p,b)=>{c=p,s=b});let u=this.pendingTasks.add();return vi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:c,reject:s,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function js(e){for(let r=0;r{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new L;constructor(t,n,o,i,a,c){this.router=t,this.route=n,this.tabIndexAttribute=o,this.renderer=i,this.el=a,this.locationStrategy=c;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof q&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(wt(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,o,i,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(t!==0||n||o||i||a||typeof this.target=="string"&&this.target!="_self"))return!0;let s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,s),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:Gr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let o=this.renderer,i=this.el.nativeElement;n!==null?o.setAttribute(i,t,n):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:wt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||e)($(K),$(mt),Pr("tabindex"),$(wn),$(ht),$(Et))};static \u0275dir=J({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&Xr("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&Y("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",j],skipLocationChange:[2,"skipLocationChange","skipLocationChange",j],replaceUrl:[2,"replaceUrl","replaceUrl",j],routerLink:"routerLink"},features:[lt,Zt]})}return e})(),nl=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Rt;constructor(t,n,o,i,a){this.router=t,this.element=n,this.renderer=o,this.cdr=i,this.link=a,this.routerEventsSubscription=t.events.subscribe(c=>{c instanceof q&&this.update()})}ngAfterContentInit(){h(this.links.changes,h(null)).pipe(Wt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=A(t).pipe(Wt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let n=Bs(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,n):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(n){return new(n||e)($(K),$(ht),$(wn),$(Xt),$(Uo,8))};static \u0275dir=J({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,o,i){if(n&1&&Jr(i,Uo,5),n&2){let a;Dn(a=Mn())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Zt]})}return e})();function Bs(e){return!!e.paths}var Je=class{};var $s=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,n,o,i,a){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(X(t=>t instanceof q),xt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let o=[];for(let i of n){i.providers&&!i._injector&&(i._injector=_n(i.providers,t,`Route: ${i.path}`));let a=i._injector??t,c=i._loadedInjector??a;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(a,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(c,i.children??i._loadedRoutes))}return A(o).pipe(Wt())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(t,n):o=h(null);let i=o.pipe(O(a=>a===null?h(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(n);return A([i,a]).pipe(Wt())}else return i})}static \u0275fac=function(n){return new(n||e)(v(K),v(Oe),v(Gt),v(Je),v(yr))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yi=new S(""),Vs=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,n,o,i,a={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=o,this.zone=i,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof q?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ut&&t.code===He.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof We&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new We(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Zr()};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function rl(e,...r){return fn([{provide:ge,multi:!0,useValue:e},[],{provide:mt,useFactory:wi,deps:[K]},{provide:xn,multi:!0,useFactory:_i},r.map(t=>t.\u0275providers)])}function wi(e){return e.routerState.root}function _t(e,r){return{\u0275kind:e,\u0275providers:r}}function _i(){let e=d(Te);return r=>{let t=e.get(Cn);if(r!==t.components[0])return;let n=e.get(K),o=e.get(Si);e.get(Sr)===1&&n.initialNavigation(),e.get(xi,null,hn.Optional)?.setUpPreloading(),e.get(yi,null,hn.Optional)?.init(),n.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Si=new S("",{factory:()=>new L}),Sr=new S("",{providedIn:"root",factory:()=>1});function Hs(){return _t(2,[{provide:Sr,useValue:0},{provide:Sn,multi:!0,deps:[Te],useFactory:r=>{let t=r.get(io,Promise.resolve());return()=>t.then(()=>new Promise(n=>{let o=r.get(K),i=r.get(Si);vi(o,()=>{n(!0)}),r.get(_r).afterPreactivation=()=>(n(!0),i.closed?h(void 0):i),o.initialNavigation()}))}}])}function qs(){return _t(3,[{provide:Sn,multi:!0,useFactory:()=>{let r=d(K);return()=>{r.setUpLocationChangeListener()}}},{provide:Sr,useValue:2}])}var xi=new S("");function Ws(e){return _t(0,[{provide:xi,useExisting:$s},{provide:Je,useExisting:e}])}function ol(e){return _t(5,[{provide:$t,useValue:e}])}function il(){return _t(6,[{provide:Et,useClass:En}])}function Gs(){return _t(8,[Po,{provide:tn,useExisting:Po}])}function Zs(e){let r=[{provide:hi,useValue:Ts},{provide:fi,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return _t(9,r)}var jo=new S("ROUTER_FORROOT_GUARD"),Ys=[Jt,{provide:ye,useClass:Nt},K,_e,{provide:mt,useFactory:wi,deps:[K]},yr,[]],al=(()=>{class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[Ys,[],{provide:ge,multi:!0,useValue:t},{provide:jo,useFactory:Js,deps:[[K,new Ae,new kr]]},n?.errorHandler?{provide:bi,useValue:n.errorHandler}:[],{provide:$t,useValue:n||{}},n?.useHash?Ks():Xs(),Qs(),n?.preloadingStrategy?Ws(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?tc(n):[],n?.bindToComponentInputs?Gs().\u0275providers:[],n?.enableViewTransitions?Zs().\u0275providers:[],ec()]}}static forChild(t){return{ngModule:e,providers:[{provide:ge,multi:!0,useValue:t}]}}static \u0275fac=function(n){return new(n||e)(v(jo,8))};static \u0275mod=ct({type:e});static \u0275inj=at({})}return e})();function Qs(){return{provide:yi,useFactory:()=>{let e=d(lo),r=d(T),t=d($t),n=d(_r),o=d(ye);return t.scrollOffset&&e.setOffset(t.scrollOffset),new Vs(o,n,e,r,t)}}}function Ks(){return{provide:Et,useClass:En}}function Xs(){return{provide:Et,useClass:ao}}function Js(e){return"guarded"}function tc(e){return[e.initialNavigation==="disabled"?qs().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Hs().\u0275providers:[]]}var Fo=new S("");function ec(){return[{provide:Fo,useFactory:_i},{provide:xn,multi:!0,useExisting:Fo}]}var Ci=["mat-button",""],xe=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ce=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],nc='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',xr="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",Ri=["mat-fab",""],rc=["mat-mini-fab",""],Di='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Mi=["mat-icon-button",""],Ei=["*"],oc='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ic=new S("MAT_BUTTON_CONFIG");var ac=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Re=(()=>{class e{_elementRef=d(ht);_platform=d(te);_ngZone=d(T);_animationMode=d(jr,{optional:!0});_focusMonitor=d(fo);_rippleLoader=d(yo);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){d(po).load(go);let t=d(ic,{optional:!0}),n=this._elementRef.nativeElement,o=n.classList;this.disabledInteractive=t?.disabledInteractive??!1,this.color=t?.color??null,this._rippleLoader?.configureRipple(n,{className:"mat-mdc-button-ripple"});for(let{attribute:i,mdcClasses:a}of ac)n.hasAttribute(i)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",j],disabled:[2,"disabled","disabled",j],ariaDisabled:[2,"aria-disabled","ariaDisabled",j],disabledInteractive:[2,"disabledInteractive","disabledInteractive",j]},features:[lt]})}return e})();var Ii=(()=>{class e extends Re{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275dir=J({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:eo(t)]},features:[lt,Z]})}return e})(),wl=(()=>{class e extends Re{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:Ci,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return e})(),sc=(()=>{class e extends Ii{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Z],attrs:Ci,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[nc,xr],encapsulation:2,changeDetection:0})}return e})(),Cr=new S("mat-mdc-fab-default-options",{providedIn:"root",factory:Ai});function Ai(){return{color:"accent"}}var Vt=Ai(),_l=(()=>{class e extends Re{_options=d(Cr,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[2,"extended","extended",j]},exportAs:["matButton"],features:[lt,Z],attrs:Ri,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return e})(),Sl=(()=>{class e extends Re{_options=d(Cr,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:rc,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Di],encapsulation:2,changeDetection:0})}return e})(),xl=(()=>{class e extends sc{_options=d(Cr,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["a","mat-fab",""]],hostVars:19,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[2,"extended","extended",j]},exportAs:["matButton","matAnchor"],features:[lt,Z],attrs:Ri,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Di],encapsulation:2,changeDetection:0})}return e})();var Cl=(()=>{class e extends Re{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:Mi,ngContentSelectors:Ei,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(),C(0,"span",0),x(1),C(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',xr],encapsulation:2,changeDetection:0})}return e})(),Rl=(()=>{class e extends Ii{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Z],attrs:Mi,ngContentSelectors:Ei,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(),C(0,"span",0),x(1),C(2,"span",1)(3,"span",2))},styles:[oc,xr],encapsulation:2,changeDetection:0})}return e})(),Dl=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({imports:[Tn,vo,Tn]})}return e})();var cc=20,lc=(()=>{class e{_ngZone=d(T);_platform=d(te);_document=d(M,{optional:!0});constructor(){}_scrolled=new L;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=cc){return this._platform.isBrowser?new rn(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(dn(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):h()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(X(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&n.push(i)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=ho(n),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return ln(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),od=(()=>{class e{elementRef=d(ht);scrollDispatcher=d(lc);ngZone=d(T);dir=d(bo,{optional:!0});_destroyed=new L;_elementScrolled=new rn(t=>this.ngZone.runOutsideAngular(()=>ln(this.elementRef.nativeElement,"scroll").pipe(Ie(this._destroyed)).subscribe(t)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let n=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=n.scrollHeight-n.clientHeight-t.bottom),o&&At()!=It.NORMAL?(t.left!=null&&(t.right=n.scrollWidth-n.clientWidth-t.left),At()==It.INVERTED?t.left=t.right:At()==It.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=n.scrollWidth-n.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let n=this.elementRef.nativeElement;mo()?n.scrollTo(t):(t.top!=null&&(n.scrollTop=t.top),t.left!=null&&(n.scrollLeft=t.left))}measureScrollOffset(t){let n="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?o:n:t=="end"&&(t=a?n:o),a&&At()==It.INVERTED?t==n?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:a&&At()==It.NEGATED?t==n?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==n?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),dc=20,id=(()=>{class e{_platform=d(te);_viewportSize;_change=new L;_changeListener=t=>{this._change.next(t)};_document=d(M,{optional:!0});constructor(){d(T).runOutsideAngular(()=>{if(this._platform.isBrowser){let n=this._getWindow();n.addEventListener("resize",this._changeListener),n.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),a=-i.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-i.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=dc){return t>0?this._change.pipe(dn(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ti=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({})}return e})(),ad=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({imports:[An,Ti,An,Ti]})}return e})();export{So as a,Pc as b,zc as c,Io as d,na as e,q as f,mt as g,za as h,K as i,Uo as j,nl as k,rl as l,ol as m,il as n,Zs as o,al as p,wl as q,sc as r,_l as s,Sl as t,xl as u,Cl as v,Rl as w,Dl as x,lc as y,od as z,id as A,Ti as B,ad as C}; +import{S as fo,W as bo,X as An,_ as Tn,ea as go,h as te,ja as vo,l as It,m as mo,n as At,s as po,ta as yo,z as ho}from"./chunk-CG5OOKZO.js";import{$ as Ie,$a as $r,$c as no,A as ln,Ab as Kr,Bb as Sn,Cb as xn,Ce as In,Da as zr,Db as Cn,Ea as Rt,Eb as Rn,Ee as lo,F as X,Fa as T,G as dn,Ga as bn,Ge as uo,H as St,I as xt,Ia as Lr,Ja as ht,K as un,Kb as Z,L as Ct,La as Nr,M as Er,Ma as gn,Mb as lt,Na as Ur,Oa as Yt,Oc as Oe,P as Ee,Pa as jr,Q as it,Qa as vn,R as mn,S as Ir,Sb as Y,Sc as Xt,Uc as to,V as Ar,Va as yn,Vb as k,Vc as j,Wa as Qt,Wb as dt,Wc as eo,Xa as Dt,Xd as so,Ya as Mt,Z as pn,Za as Fr,_ as U,_a as Br,a as m,ab as Vr,ad as Pe,b as I,ba as D,bb as Hr,bc as bt,bd as ro,ca as _,cb as qr,cc as gt,cd as oo,db as Wr,dc as C,e as nn,ea as g,eb as ft,ed as M,f as Rr,fa as at,g as rn,ga as Tr,gd as io,h as on,ha as S,i as an,ia as hn,ib as Gr,j as L,ja as v,jd as Et,k as N,ka as d,kb as Kt,kc as Xr,la as Ae,ld as ao,ma as kr,mb as $,md as En,n as ot,na as fn,nb as Zr,nc as tt,nd as Jt,o as A,oa as Or,oc as x,p as h,pa as Gt,pc as Jr,q as qt,qa as G,qb as Yr,r as sn,rb as Qr,rc as Dn,s as Dr,sa as Zt,sb as wn,sc as Mn,t as w,tb as _n,u as Me,ub as V,v as O,vb as ct,w as Wt,wb as J,x as Mr,xa as st,y as cn,ya as Pr,yb as ke,za as Te,ze as co}from"./chunk-5L47ZUSK.js";var On=class extends oo{supportsDOMEvents=!0},Pn=class e extends On{static makeCurrent(){ro(new e)}onAndCancel(r,t,n){return r.addEventListener(t,n),()=>{r.removeEventListener(t,n)}}dispatchEvent(r,t){r.dispatchEvent(t)}remove(r){r.remove()}createElement(r,t){return t=t||this.getDefaultDocument(),t.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,t){return t==="window"?window:t==="document"?r:t==="body"?r.body:null}getBaseHref(r){let t=zi();return t==null?null:Li(t)}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return so(document.cookie,r)}},ee=null;function zi(){return ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null}function Li(e){return new URL(e,document.baseURI).pathname}var Ni=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),zn=new S(""),Ro=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,n){this._zone=n,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(i=>i.supports(t)),!n)throw new _(5101,!1);return this._eventNameToPlugin.set(t,n),n}static \u0275fac=function(n){return new(n||e)(v(zn),v(T))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),ze=class{_doc;constructor(r){this._doc=r}manager},Ln="ng-app-id";function wo(e){for(let r of e)r.remove()}function _o(e,r){let t=r.createElement("style");return t.textContent=e,t}function Ui(e,r,t){let n=e.head?.querySelectorAll(`style[${Ln}="${r}"]`);if(n)for(let o of n)o.textContent&&(o.removeAttribute(Ln),t.set(o.textContent,{usage:0,elements:[o]}))}function Nn(e,r){let t=r.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Do=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,n,o,i={}){this.doc=t,this.appId=n,this.nonce=o,this.isServer=In(i),Ui(t,n,this.inline),this.hosts.add(t.head)}addStyles(t,n){for(let o of t)this.addUsage(o,this.inline,_o);n?.forEach(o=>this.addUsage(o,this.external,Nn))}removeStyles(t,n){for(let o of t)this.removeUsage(o,this.inline);n?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,n,o){let i=n.get(t);i?i.usage++:n.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(t,this.doc)))})}removeUsage(t,n){let o=n.get(t);o&&(o.usage--,o.usage<=0&&(wo(o.elements),n.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])wo(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[n,{elements:o}]of this.inline)o.push(this.addElement(t,_o(n,this.doc)));for(let[n,{elements:o}]of this.external)o.push(this.addElement(t,Nn(n,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Ln,this.appId),t.appendChild(n)}static \u0275fac=function(n){return new(n||e)(v(M),v(gn),v(vn,8),v(Yt))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),kn={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Fn=/%COMP%/g,Mo="%COMP%",ji=`_nghost-${Mo}`,Fi=`_ngcontent-${Mo}`,Bi=!0,$i=new S("",{providedIn:"root",factory:()=>Bi});function Vi(e){return Fi.replace(Fn,e)}function Hi(e){return ji.replace(Fn,e)}function Eo(e,r){return r.map(t=>t.replace(Fn,e))}var So=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,n,o,i,a,c,s,l=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=c,this.ngZone=s,this.nonce=l,this.platformIsServer=In(c),this.defaultRenderer=new ne(t,a,s,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Qt.ShadowDom&&(n=I(m({},n),{encapsulation:Qt.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof Le?o.applyToHost(t):o instanceof re&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,i=o.get(n.id);if(!i){let a=this.doc,c=this.ngZone,s=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(n.encapsulation){case Qt.Emulated:i=new Le(s,l,n,this.appId,u,a,c,p);break;case Qt.ShadowDom:return new Un(s,l,t,n,a,c,this.nonce,p);default:i=new re(s,l,n,u,a,c,p);break}o.set(n.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(n){return new(n||e)(v(Ro),v(Do),v(gn),v($i),v(M),v(Yt),v(T),v(vn))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),ne=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,t,n,o){this.eventManager=r,this.doc=t,this.ngZone=n,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(r,t){return t?this.doc.createElementNS(kn[t]||t,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,t){(xo(r)?r.content:r).appendChild(t)}insertBefore(r,t,n){r&&(xo(r)?r.content:r).insertBefore(t,n)}removeChild(r,t){t.remove()}selectRootElement(r,t){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new _(-5104,!1);return t||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,t,n,o){if(o){t=o+":"+t;let i=kn[o];i?r.setAttributeNS(i,t,n):r.setAttribute(t,n)}else r.setAttribute(t,n)}removeAttribute(r,t,n){if(n){let o=kn[n];o?r.removeAttributeNS(o,t):r.removeAttribute(`${n}:${t}`)}else r.removeAttribute(t)}addClass(r,t){r.classList.add(t)}removeClass(r,t){r.classList.remove(t)}setStyle(r,t,n,o){o&(Kt.DashCase|Kt.Important)?r.style.setProperty(t,n,o&Kt.Important?"important":""):r.style[t]=n}removeStyle(r,t,n){n&Kt.DashCase?r.style.removeProperty(t):r.style[t]=""}setProperty(r,t,n){r!=null&&(r[t]=n)}setValue(r,t){r.nodeValue=t}listen(r,t,n){if(typeof r=="string"&&(r=Pe().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${t}`);return this.eventManager.addEventListener(r,t,this.decoratePreventDefault(n))}decoratePreventDefault(r){return t=>{if(t==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(t)):r(t))===!1&&t.preventDefault()}}};function xo(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Un=class extends ne{sharedStylesHost;hostEl;shadowRoot;constructor(r,t,n,o,i,a,c,s){super(r,i,a,s),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Eo(o.id,o.styles);for(let p of l){let b=document.createElement("style");c&&b.setAttribute("nonce",c),b.textContent=p,this.shadowRoot.appendChild(b)}let u=o.getExternalStyles?.();if(u)for(let p of u){let b=Nn(p,i);c&&b.setAttribute("nonce",c),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,t){return super.appendChild(this.nodeOrShadowRoot(r),t)}insertBefore(r,t,n){return super.insertBefore(this.nodeOrShadowRoot(r),t,n)}removeChild(r,t){return super.removeChild(null,t)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},re=class extends ne{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,t,n,o,i,a,c,s){super(r,i,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=s?Eo(s,n.styles):n.styles,this.styleUrls=n.getExternalStyles?.(s)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Le=class extends re{contentAttr;hostAttr;constructor(r,t,n,o,i,a,c,s){let l=o+"-"+n.id;super(r,t,n,i,a,c,s,l),this.contentAttr=Vi(l),this.hostAttr=Hi(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,t){let n=super.createElement(r,t);return super.setAttribute(n,this.contentAttr,""),n}},qi=(()=>{class e extends ze{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Co=["alt","control","meta","shift"],Wi={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Gi={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Zi=(()=>{class e extends ze{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pe().onAndCancel(t,i.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),Co.forEach(l=>{let u=n.indexOf(l);u>-1&&(n.splice(u,1),a+=l+".")}),a+=i,n.length!=0||i.length===0)return null;let s={};return s.domEventName=o,s.fullKey=a,s}static matchEventFullKeyCode(t,n){let o=Wi[t.key]||t.key,i="";return n.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Co.forEach(a=>{if(a!==o){let c=Gi[a];c(t)&&(i+=a+".")}}),i+=o,i===n)}static eventCallback(t,n,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>n(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function Pc(e,r){return to(m({rootComponent:e},Yi(r)))}function Yi(e){return{appProviders:[...ta,...e?.providers??[]],platformProviders:Ji}}function Qi(){Pn.makeCurrent()}function Ki(){return new bn}function Xi(){return Nr(document),document}var Ji=[{provide:Yt,useValue:co},{provide:Ur,useValue:Qi,multi:!0},{provide:M,useFactory:Xi,deps:[]}];var ta=[{provide:Or,useValue:"root"},{provide:bn,useFactory:Ki,deps:[]},{provide:zn,useClass:qi,multi:!0,deps:[M,T,Yt]},{provide:zn,useClass:Zi,multi:!0,deps:[M]},So,Do,Ro,{provide:Qr,useExisting:So},{provide:uo,useClass:Ni,deps:[]},[]];var zc=(()=>{class e{_doc;_dom;constructor(t){this._doc=t,this._dom=Pe()}addTag(t,n=!1){return t?this._getOrCreateElement(t,n):null}addTags(t,n=!1){return t?t.reduce((o,i)=>(i&&o.push(this._getOrCreateElement(i,n)),o),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let n=this._doc.querySelectorAll(`meta[${t}]`);return n?[].slice.call(n):[]}updateTag(t,n){if(!t)return null;n=n||this._parseSelector(t);let o=this.getTag(n);return o?this._setMetaElementAttributes(t,o):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,n=!1){if(!n){let a=this._parseSelector(t),c=this.getTags(a).filter(s=>this._containsAttributes(t,s))[0];if(c!==void 0)return c}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(t,n){return Object.keys(t).forEach(o=>n.setAttribute(this._getMetaKeyMap(o),t[o])),n}_parseSelector(t){let n=t.name?"name":"property";return`${n}="${t[n]}"`}_containsAttributes(t,n){return Object.keys(t).every(o=>n.getAttribute(this._getMetaKeyMap(o))===t[o])}_getMetaKeyMap(t){return ea[t]||t}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ea={httpEquiv:"http-equiv"},Io=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var na=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=v(ra),o},providedIn:"root"})}return e})(),ra=(()=>{class e extends na{_doc;constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case ft.NONE:return n;case ft.HTML:return Mt(n,"HTML")?Dt(n):Wr(this._doc,String(n)).toString();case ft.STYLE:return Mt(n,"Style")?Dt(n):n;case ft.SCRIPT:if(Mt(n,"Script"))return Dt(n);throw new _(5200,!1);case ft.URL:return Mt(n,"URL")?Dt(n):qr(String(n));case ft.RESOURCE_URL:if(Mt(n,"ResourceURL"))return Dt(n);throw new _(5201,!1);default:throw new _(5202,!1)}}bypassSecurityTrustHtml(t){return Fr(t)}bypassSecurityTrustStyle(t){return Br(t)}bypassSecurityTrustScript(t){return $r(t)}bypassSecurityTrustUrl(t){return Vr(t)}bypassSecurityTrustResourceUrl(t){return Hr(t)}static \u0275fac=function(n){return new(n||e)(v(M))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var f="primary",ve=Symbol("RouteTitle"),qn=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t[0]:t}return null}getAll(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Lt(e){return new qn(e)}function ia(e,r,t){let n=t.path.split("/");if(n.length>e.length||t.pathMatch==="full"&&(r.hasChildren()||n.lengthn[i]===o)}else return e===r}function $o(e){return e.length>0?e[e.length-1]:null}function pt(e){return sn(e)?e:Kr(e)?A(Promise.resolve(e)):h(e)}var sa={exact:Ho,subset:qo},Vo={exact:ca,subset:la,ignored:()=>!0};function Ao(e,r,t){return sa[t.paths](e.root,r.root,t.matrixParams)&&Vo[t.queryParams](e.queryParams,r.queryParams)&&!(t.fragment==="exact"&&e.fragment!==r.fragment)}function ca(e,r){return Q(e,r)}function Ho(e,r,t){if(!yt(e.segments,r.segments)||!je(e.segments,r.segments,t)||e.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!e.children[n]||!Ho(e.children[n],r.children[n],t))return!1;return!0}function la(e,r){return Object.keys(r).length<=Object.keys(e).length&&Object.keys(r).every(t=>Bo(e[t],r[t]))}function qo(e,r,t){return Wo(e,r,r.segments,t)}function Wo(e,r,t,n){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!yt(o,t)||r.hasChildren()||!je(o,t,n))}else if(e.segments.length===t.length){if(!yt(e.segments,t)||!je(e.segments,t,n))return!1;for(let o in r.children)if(!e.children[o]||!qo(e.children[o],r.children[o],n))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!yt(e.segments,o)||!je(e.segments,o,n)||!e.children[f]?!1:Wo(e.children[f],r,i,n)}}function je(e,r,t){return r.every((n,o)=>Vo[t](e[o].parameters,n.parameters))}var nt=class{root;queryParams;fragment;_queryParamMap;constructor(r=new y([],{}),t={},n=null){this.root=r,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Lt(this.queryParams),this._queryParamMap}toString(){return ma.serialize(this)}},y=class{segments;children;parent=null;constructor(r,t){this.segments=r,this.children=t,Object.values(t).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fe(this)}},vt=class{path;parameters;_parameterMap;constructor(r,t){this.path=r,this.parameters=t}get parameterMap(){return this._parameterMap??=Lt(this.parameters),this._parameterMap}toString(){return Zo(this)}};function da(e,r){return yt(e,r)&&e.every((t,n)=>Q(t.parameters,r[n].parameters))}function yt(e,r){return e.length!==r.length?!1:e.every((t,n)=>t.path===r[n].path)}function ua(e,r){let t=[];return Object.entries(e.children).forEach(([n,o])=>{n===f&&(t=t.concat(r(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==f&&(t=t.concat(r(o,n)))}),t}var ye=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>new Nt,providedIn:"root"})}return e})(),Nt=class{parse(r){let t=new Zn(r);return new nt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(r){let t=`/${oe(r.root,!0)}`,n=fa(r.queryParams),o=typeof r.fragment=="string"?`#${pa(r.fragment)}`:"";return`${t}${n}${o}`}},ma=new Nt;function Fe(e){return e.segments.map(r=>Zo(r)).join("/")}function oe(e,r){if(!e.hasChildren())return Fe(e);if(r){let t=e.children[f]?oe(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==f&&n.push(`${o}:${oe(i,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}else{let t=ua(e,(n,o)=>o===f?[oe(e.children[f],!1)]:[`${o}:${oe(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Fe(e)}/${t[0]}`:`${Fe(e)}/(${t.join("//")})`}}function Go(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ne(e){return Go(e).replace(/%3B/gi,";")}function pa(e){return encodeURI(e)}function Gn(e){return Go(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(e){return decodeURIComponent(e)}function To(e){return Be(e.replace(/\+/g,"%20"))}function Zo(e){return`${Gn(e.path)}${ha(e.parameters)}`}function ha(e){return Object.entries(e).map(([r,t])=>`;${Gn(r)}=${Gn(t)}`).join("")}function fa(e){let r=Object.entries(e).map(([t,n])=>Array.isArray(n)?n.map(o=>`${Ne(t)}=${Ne(o)}`).join("&"):`${Ne(t)}=${Ne(n)}`).filter(t=>t);return r.length?`?${r.join("&")}`:""}var ba=/^[^\/()?;#]+/;function Bn(e){let r=e.match(ba);return r?r[0]:""}var ga=/^[^\/()?;=#]+/;function va(e){let r=e.match(ga);return r?r[0]:""}var ya=/^[^=?&#]+/;function wa(e){let r=e.match(ya);return r?r[0]:""}var _a=/^[^&#]+/;function Sa(e){let r=e.match(_a);return r?r[0]:""}var Zn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new y([],{}):new y([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(t).length>0)&&(n[f]=new y(r,t)),n}parseSegment(){let r=Bn(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(r),new vt(Be(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let t=va(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let o=Bn(this.remaining);o&&(n=o,this.capture(n))}r[Be(t)]=Be(n)}parseQueryParam(r){let t=wa(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let a=Sa(this.remaining);a&&(n=a,this.capture(n))}let o=To(t),i=To(n);if(r.hasOwnProperty(o)){let a=r[o];Array.isArray(a)||(a=[a],r[o]=a),a.push(i)}else r[o]=i}parseParens(r){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Bn(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new _(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):r&&(i=f);let a=this.parseChildren();t[i]=Object.keys(a).length===1?a[f]:new y([],a),this.consumeOptional("//")}return t}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new _(4011,!1)}};function Yo(e){return e.segments.length>0?new y([],{[f]:e}):e}function Qo(e){let r={};for(let[n,o]of Object.entries(e.children)){let i=Qo(o);if(n===f&&i.segments.length===0&&i.hasChildren())for(let[a,c]of Object.entries(i.children))r[a]=c;else(i.segments.length>0||i.hasChildren())&&(r[n]=i)}let t=new y(e.segments,r);return xa(t)}function xa(e){if(e.numberOfChildren===1&&e.children[f]){let r=e.children[f];return new y(e.segments.concat(r.segments),r.children)}return e}function wt(e){return e instanceof nt}function Ca(e,r,t=null,n=null){let o=Ko(e);return Xo(o,r,t,n)}function Ko(e){let r;function t(i){let a={};for(let s of i.children){let l=t(s);a[s.outlet]=l}let c=new y(i.url,a);return i===e&&(r=c),c}let n=t(e.root),o=Yo(n);return r??o}function Xo(e,r,t,n){let o=e;for(;o.parent;)o=o.parent;if(r.length===0)return $n(o,o,o,t,n);let i=Ra(r);if(i.toRoot())return $n(o,o,new y([],{}),t,n);let a=Da(i,o,e),c=a.processChildren?se(a.segmentGroup,a.index,i.commands):ti(a.segmentGroup,a.index,i.commands);return $n(o,a.segmentGroup,c,t,n)}function $e(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function de(e){return typeof e=="object"&&e!=null&&e.outlets}function $n(e,r,t,n,o){let i={};n&&Object.entries(n).forEach(([s,l])=>{i[s]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let a;e===r?a=t:a=Jo(e,r,t);let c=Yo(Qo(a));return new nt(c,i,o)}function Jo(e,r,t){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===r?n[o]=t:n[o]=Jo(i,r,t)}),new y(e.segments,n)}var Ve=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,t,n){if(this.isAbsolute=r,this.numberOfDoubleDots=t,this.commands=n,r&&n.length>0&&$e(n[0]))throw new _(4003,!1);let o=n.find(de);if(o&&o!==$o(n))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ra(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ve(!0,0,e);let r=0,t=!1,n=e.reduce((o,i,a)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let c={};return Object.entries(i.outlets).forEach(([s,l])=>{c[s]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:c}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:a===0?(i.split("/").forEach((c,s)=>{s==0&&c==="."||(s==0&&c===""?t=!0:c===".."?r++:c!=""&&o.push(c))}),o):[...o,i]},[]);return new Ve(t,r,n)}var Ot=class{segmentGroup;processChildren;index;constructor(r,t,n){this.segmentGroup=r,this.processChildren=t,this.index=n}};function Da(e,r,t){if(e.isAbsolute)return new Ot(r,!0,0);if(!t)return new Ot(r,!1,NaN);if(t.parent===null)return new Ot(t,!0,0);let n=$e(e.commands[0])?0:1,o=t.segments.length-1+n;return Ma(t,o,e.numberOfDoubleDots)}function Ma(e,r,t){let n=e,o=r,i=t;for(;i>o;){if(i-=o,n=n.parent,!n)throw new _(4005,!1);o=n.segments.length}return new Ot(n,!1,o-i)}function Ea(e){return de(e[0])?e[0].outlets:{[f]:e}}function ti(e,r,t){if(e??=new y([],{}),e.segments.length===0&&e.hasChildren())return se(e,r,t);let n=Ia(e,r,t),o=t.slice(n.commandIndex);if(n.match&&n.pathIndexi!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let i=se(e.children[f],r,t);return new y(e.segments,i.children)}return Object.entries(n).forEach(([i,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[i]=ti(e.children[i],r,a))}),Object.entries(e.children).forEach(([i,a])=>{n[i]===void 0&&(o[i]=a)}),new y(e.segments,o)}}function Ia(e,r,t){let n=0,o=r,i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;let a=e.segments[o],c=t[n];if(de(c))break;let s=`${c}`,l=n0&&s===void 0)break;if(s&&l&&typeof l=="object"&&l.outlets===void 0){if(!Oo(s,l,a))return i;n+=2}else{if(!Oo(s,{},a))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Yn(e,r,t){let n=e.segments.slice(0,r),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(r[t]=Yn(new y([],{}),0,n))}),r}function ko(e){let r={};return Object.entries(e).forEach(([t,n])=>r[t]=`${n}`),r}function Oo(e,r,t){return e==t.path&&Q(r,t.parameters)}var ce="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),F=class{id;url;constructor(r,t){this.id=r,this.url=t}},Ut=class extends F{type=R.NavigationStart;navigationTrigger;restoredState;constructor(r,t,n="imperative",o=null){super(r,t),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},q=class extends F{urlAfterRedirects;type=R.NavigationEnd;constructor(r,t,n){super(r,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},z=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(z||{}),He=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(He||{}),et=class extends F{reason;code;type=R.NavigationCancel;constructor(r,t,n,o){super(r,t),this.reason=n,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ut=class extends F{reason;code;type=R.NavigationSkipped;constructor(r,t,n,o){super(r,t),this.reason=n,this.code=o}},ue=class extends F{error;target;type=R.NavigationError;constructor(r,t,n,o){super(r,t),this.error=n,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qe=class extends F{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends F{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kn=class extends F{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(r,t,n,o,i){super(r,t),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Xn=class extends F{urlAfterRedirects;state;type=R.ResolveStart;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class extends F{urlAfterRedirects;state;type=R.ResolveEnd;constructor(r,t,n,o){super(r,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tr=class{route;type=R.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},er=class{route;type=R.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},nr=class{snapshot;type=R.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rr=class{snapshot;type=R.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},or=class{snapshot;type=R.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ir=class{snapshot;type=R.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},We=class{routerEvent;position;anchor;type=R.Scroll;constructor(r,t,n){this.routerEvent=r,this.position=t,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},me=class{},jt=class{url;navigationBehaviorOptions;constructor(r,t){this.url=r,this.navigationBehaviorOptions=t}};function Ta(e,r){return e.providers&&!e._injector&&(e._injector=_n(e.providers,r,`Route: ${e.path}`)),e._injector??r}function H(e){return e.outlet||f}function ka(e,r){let t=e.filter(n=>H(n)===r);return t.push(...e.filter(n=>H(n)!==r)),t}function we(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let r=e.parent;r;r=r.parent){let t=r.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var ar=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return we(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new _e(this.rootInjector)}},_e=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new ar(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(n){return new(n||e)(v(Gt))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ge=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let t=this.pathFromRoot(r);return t.length>1?t[t.length-2]:null}children(r){let t=sr(r,this._root);return t?t.children.map(n=>n.value):[]}firstChild(r){let t=sr(r,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(r){let t=cr(r,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==r)}pathFromRoot(r){return cr(r,this._root).map(t=>t.value)}};function sr(e,r){if(e===r.value)return r;for(let t of r.children){let n=sr(e,t);if(n)return n}return null}function cr(e,r){if(e===r.value)return[r];for(let t of r.children){let n=cr(e,t);if(n.length)return n.unshift(r),n}return[]}var P=class{value;children;constructor(r,t){this.value=r,this.children=t}toString(){return`TreeNode(${this.value})`}};function kt(e){let r={};return e&&e.children.forEach(t=>r[t.value.outlet]=t),r}var Ze=class extends Ge{snapshot;constructor(r,t){super(r),this.snapshot=t,gr(this,r)}toString(){return this.snapshot.toString()}};function ei(e){let r=Oa(e),t=new N([new vt("",{})]),n=new N({}),o=new N({}),i=new N({}),a=new N(""),c=new mt(t,n,i,a,o,f,e,r.root);return c.snapshot=r.root,new Ze(new P(c,[]),r)}function Oa(e){let r={},t={},n={},o="",i=new Pt([],r,n,o,t,f,e,null,{});return new Qe("",new P(i,[]))}var mt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,t,n,o,i,a,c,s){this.urlSubject=r,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=a,this.component=c,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(w(l=>l[ve]))??h(void 0),this.url=r,this.params=t,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(w(r=>Lt(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(w(r=>Lt(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ye(e,r,t="emptyOnly"){let n,{routeConfig:o}=e;return r!==null&&(t==="always"||o?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:m(m({},r.params),e.params),data:m(m({},r.data),e.data),resolve:m(m(m(m({},e.data),r.data),o?.data),e._resolvedData)}:n={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&ri(o)&&(n.resolve[ve]=o.title),n}var Pt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ve]}constructor(r,t,n,o,i,a,c,s,l){this.url=r,this.params=t,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=a,this.component=c,this.routeConfig=s,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Lt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Lt(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${t}')`}},Qe=class extends Ge{url;constructor(r,t){super(t),this.url=r,gr(this,t)}toString(){return ni(this._root)}};function gr(e,r){r.value._routerState=e,r.children.forEach(t=>gr(e,t))}function ni(e){let r=e.children.length>0?` { ${e.children.map(ni).join(", ")} } `:"";return`${e.value}${r}`}function Vn(e){if(e.snapshot){let r=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Q(r.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),r.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Q(r.params,t.params)||e.paramsSubject.next(t.params),aa(r.url,t.url)||e.urlSubject.next(t.url),Q(r.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function lr(e,r){let t=Q(e.params,r.params)&&da(e.url,r.url),n=!e.parent!=!r.parent;return t&&!n&&(!e.parent||lr(e.parent,r.parent))}function ri(e){return typeof e.title=="string"||e.title===null}var Pa=new S(""),za=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new Rt;deactivateEvents=new Rt;attachEvents=new Rt;detachEvents=new Rt;routerOutletData=Lr(void 0);parentContexts=d(_e);location=d(Rn);changeDetector=d(Xt);inputBinder=d(tn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,s=new dr(t,c,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:s,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Zt]})}return e})(),dr=class e{route;childContexts;parent;outletData;__ngOutletInjector(r){return new e(this.route,this.childContexts,r,this.outletData)}constructor(r,t,n,o){this.route=r,this.childContexts=t,this.parent=n,this.outletData=o}get(r,t){return r===mt?this.route:r===_e?this.childContexts:r===Pa?this.outletData:this.parent.get(r,t)}},tn=new S(""),Po=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,o=Me([n.queryParams,n.params,n.data]).pipe(U(([i,a,c],s)=>(c=m(m(m({},i),a),c),s===0?h(c):Promise.resolve(c)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let a=no(n.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:c}of a.inputs)t.activatedComponentRef.setInput(c,i[c])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function La(e,r,t){let n=pe(e,r._root,t?t._root:void 0);return new Ze(n,r)}function pe(e,r,t){if(t&&e.shouldReuseRoute(r.value,t.value.snapshot)){let n=t.value;n._futureSnapshot=r.value;let o=Na(e,r,t);return new P(n,o)}else{if(e.shouldAttach(r.value)){let i=e.retrieve(r.value);if(i!==null){let a=i.route;return a.value._futureSnapshot=r.value,a.children=r.children.map(c=>pe(e,c)),a}}let n=Ua(r.value),o=r.children.map(i=>pe(e,i));return new P(n,o)}}function Na(e,r,t){return r.children.map(n=>{for(let o of t.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return pe(e,n,o);return pe(e,n)})}function Ua(e){return new mt(new N(e.url),new N(e.params),new N(e.queryParams),new N(e.fragment),new N(e.data),e.outlet,e.component,e)}var he=class{redirectTo;navigationBehaviorOptions;constructor(r,t){this.redirectTo=r,this.navigationBehaviorOptions=t}},oi="ngNavigationCancelingError";function Ke(e,r){let{redirectTo:t,navigationBehaviorOptions:n}=wt(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,o=ii(!1,z.Redirect);return o.url=t,o.navigationBehaviorOptions=n,o}function ii(e,r){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[oi]=!0,t.cancellationCode=r,t}function ja(e){return ai(e)&&wt(e.url)}function ai(e){return!!e&&e[oi]}var Fa=(e,r,t,n)=>w(o=>(new ur(r,o.targetRouterState,o.currentRouterState,t,n).activate(e),o)),ur=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,t,n,o,i){this.routeReuseStrategy=r,this.futureState=t,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(r){let t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,r),Vn(this.futureState.root),this.activateChildRoutes(t,n,r)}deactivateChildRoutes(r,t,n){let o=kt(t);r.children.forEach(i=>{let a=i.value.outlet;this.deactivateRoutes(i,o[a],n),delete o[a]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(r,t,n){let o=r.value,i=t?t.value:null;if(o===i)if(o.component){let a=n.getContext(o.outlet);a&&this.deactivateChildRoutes(r,t,a.children)}else this.deactivateChildRoutes(r,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(r,t){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,t):this.deactivateRouteAndOutlet(r,t)}detachAndStoreRouteSubtree(r,t){let n=t.getContext(r.value.outlet),o=n&&r.value.component?n.children:t,i=kt(r);for(let a of Object.values(i))this.deactivateRouteAndItsChildren(a,o);if(n&&n.outlet){let a=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:a,route:r,contexts:c})}}deactivateRouteAndOutlet(r,t){let n=t.getContext(r.value.outlet),o=n&&r.value.component?n.children:t,i=kt(r);for(let a of Object.values(i))this.deactivateRouteAndItsChildren(a,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,t,n){let o=kt(t);r.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new ir(i.value.snapshot))}),r.children.length&&this.forwardEvent(new rr(r.value.snapshot))}activateRoutes(r,t,n){let o=r.value,i=t?t.value:null;if(Vn(o),o===i)if(o.component){let a=n.getOrCreateContext(o.outlet);this.activateChildRoutes(r,t,a.children)}else this.activateChildRoutes(r,t,n);else if(o.component){let a=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let c=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(c.contexts),a.attachRef=c.componentRef,a.route=c.route.value,a.outlet&&a.outlet.attach(c.componentRef,c.route.value),Vn(c.route.value),this.activateChildRoutes(r,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(r,null,a.children)}else this.activateChildRoutes(r,null,n)}},Xe=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},zt=class{component;route;constructor(r,t){this.component=r,this.route=t}};function Ba(e,r,t){let n=e._root,o=r?r._root:null;return ie(n,o,t,[n.value])}function $a(e){let r=e.routeConfig?e.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:e,guards:r}}function Bt(e,r){let t=Symbol(),n=r.get(e,t);return n===t?typeof e=="function"&&!Tr(e)?e:r.get(e):n}function ie(e,r,t,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=kt(r);return e.children.forEach(a=>{Va(a,i[a.value.outlet],t,n.concat([a.value]),o),delete i[a.value.outlet]}),Object.entries(i).forEach(([a,c])=>le(c,t.getContext(a),o)),o}function Va(e,r,t,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,a=r?r.value:null,c=t?t.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){let s=Ha(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new Xe(n)):(i.data=a.data,i._resolvedData=a._resolvedData),i.component?ie(e,r,c?c.children:null,n,o):ie(e,r,t,n,o),s&&c&&c.outlet&&c.outlet.isActivated&&o.canDeactivateChecks.push(new zt(c.outlet.component,a))}else a&&le(r,c,o),o.canActivateChecks.push(new Xe(n)),i.component?ie(e,null,c?c.children:null,n,o):ie(e,null,t,n,o);return o}function Ha(e,r,t){if(typeof t=="function")return t(e,r);switch(t){case"pathParamsChange":return!yt(e.url,r.url);case"pathParamsOrQueryParamsChange":return!yt(e.url,r.url)||!Q(e.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lr(e,r)||!Q(e.queryParams,r.queryParams);case"paramsChange":default:return!lr(e,r)}}function le(e,r,t){let n=kt(e),o=e.value;Object.entries(n).forEach(([i,a])=>{o.component?r?le(a,r.children.getContext(i),t):le(a,null,t):le(a,r,t)}),o.component?r&&r.outlet&&r.outlet.isActivated?t.canDeactivateChecks.push(new zt(r.outlet.component,o)):t.canDeactivateChecks.push(new zt(null,o)):t.canDeactivateChecks.push(new zt(null,o))}function Se(e){return typeof e=="function"}function qa(e){return typeof e=="boolean"}function Wa(e){return e&&Se(e.canLoad)}function Ga(e){return e&&Se(e.canActivate)}function Za(e){return e&&Se(e.canActivateChild)}function Ya(e){return e&&Se(e.canDeactivate)}function Qa(e){return e&&Se(e.canMatch)}function si(e){return e instanceof Dr||e?.name==="EmptyError"}var Ue=Symbol("INITIAL_VALUE");function Ft(){return U(e=>Me(e.map(r=>r.pipe(Ct(1),pn(Ue)))).pipe(w(r=>{for(let t of r)if(t!==!0){if(t===Ue)return Ue;if(t===!1||Ka(t))return t}return!0}),X(r=>r!==Ue),Ct(1)))}function Ka(e){return wt(e)||e instanceof he}function Xa(e,r){return O(t=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:a}}=t;return a.length===0&&i.length===0?h(I(m({},t),{guardsResult:!0})):Ja(a,n,o,e).pipe(O(c=>c&&qa(c)?ts(n,i,e,r):h(c)),w(c=>I(m({},t),{guardsResult:c})))})}function Ja(e,r,t,n){return A(e).pipe(O(o=>is(o.component,o.route,t,r,n)),it(o=>o!==!0,!0))}function ts(e,r,t,n){return A(r).pipe(xt(o=>Mr(ns(o.route.parent,n),es(o.route,n),os(e,o.path,t),rs(e,o.route,t))),it(o=>o!==!0,!0))}function es(e,r){return e!==null&&r&&r(new or(e)),h(!0)}function ns(e,r){return e!==null&&r&&r(new nr(e)),h(!0)}function rs(e,r,t){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return h(!0);let o=n.map(i=>cn(()=>{let a=we(r)??t,c=Bt(i,a),s=Ga(c)?c.canActivate(r,e):G(a,()=>c(r,e));return pt(s).pipe(it())}));return h(o).pipe(Ft())}function os(e,r,t){let n=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(a=>$a(a)).filter(a=>a!==null).map(a=>cn(()=>{let c=a.guards.map(s=>{let l=we(a.node)??t,u=Bt(s,l),p=Za(u)?u.canActivateChild(n,e):G(l,()=>u(n,e));return pt(p).pipe(it())});return h(c).pipe(Ft())}));return h(i).pipe(Ft())}function is(e,r,t,n,o){let i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!i||i.length===0)return h(!0);let a=i.map(c=>{let s=we(r)??o,l=Bt(c,s),u=Ya(l)?l.canDeactivate(e,r,t,n):G(s,()=>l(e,r,t,n));return pt(u).pipe(it())});return h(a).pipe(Ft())}function as(e,r,t,n){let o=r.canLoad;if(o===void 0||o.length===0)return h(!0);let i=o.map(a=>{let c=Bt(a,e),s=Wa(c)?c.canLoad(r,t):G(e,()=>c(r,t));return pt(s)});return h(i).pipe(Ft(),ci(n))}function ci(e){return Rr(D(r=>{if(typeof r!="boolean")throw Ke(e,r)}),w(r=>r===!0))}function ss(e,r,t,n){let o=r.canMatch;if(!o||o.length===0)return h(!0);let i=o.map(a=>{let c=Bt(a,e),s=Qa(c)?c.canMatch(r,t):G(e,()=>c(r,t));return pt(s)});return h(i).pipe(Ft(),ci(n))}var fe=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},be=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Tt(e){return qt(new fe(e))}function cs(e){return qt(new _(4e3,!1))}function ls(e){return qt(ii(!1,z.GuardRejected))}var mr=class{urlSerializer;urlTree;constructor(r,t){this.urlSerializer=r,this.urlTree=t}lineralizeSegments(r,t){let n=[],o=t.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return h(n);if(o.numberOfChildren>1||!o.children[f])return cs(`${r.redirectTo}`);o=o.children[f]}}applyRedirectCommands(r,t,n,o,i){if(typeof t!="string"){let c=t,{queryParams:s,fragment:l,routeConfig:u,url:p,outlet:b,params:W,data:E,title:rt}=o,B=G(i,()=>c({params:W,data:E,queryParams:s,fragment:l,routeConfig:u,url:p,outlet:b,title:rt}));if(B instanceof nt)throw new be(B);t=B}let a=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),r,n);if(t[0]==="/")throw new be(a);return a}applyRedirectCreateUrlTree(r,t,n,o){let i=this.createSegmentGroup(r,t.root,n,o);return new nt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(r,t){let n={};return Object.entries(r).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let c=i.substring(1);n[o]=t[c]}else n[o]=i}),n}createSegmentGroup(r,t,n,o){let i=this.createSegments(r,t.segments,n,o),a={};return Object.entries(t.children).forEach(([c,s])=>{a[c]=this.createSegmentGroup(r,s,n,o)}),new y(i,a)}createSegments(r,t,n,o){return t.map(i=>i.path[0]===":"?this.findPosParam(r,i,o):this.findOrReturn(i,n))}findPosParam(r,t,n){let o=n[t.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(r,t){let n=0;for(let o of t){if(o.path===r.path)return t.splice(n),o;n++}return r}},pr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ds(e,r,t,n,o){let i=li(e,r,t);return i.matched?(n=Ta(r,n),ss(n,r,t,o).pipe(w(a=>a===!0?i:m({},pr)))):h(i)}function li(e,r,t){if(r.path==="**")return us(t);if(r.path==="")return r.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},pr):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(r.matcher||ia)(t,e,r);if(!o)return m({},pr);let i={};Object.entries(o.posParams??{}).forEach(([c,s])=>{i[c]=s.path});let a=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function us(e){return{matched:!0,parameters:e.length>0?$o(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function zo(e,r,t,n){return t.length>0&&hs(e,t,n)?{segmentGroup:new y(r,ps(n,new y(t,e.children))),slicedSegments:[]}:t.length===0&&fs(e,t,n)?{segmentGroup:new y(e.segments,ms(e,t,n,e.children)),slicedSegments:t}:{segmentGroup:new y(e.segments,e.children),slicedSegments:t}}function ms(e,r,t,n){let o={};for(let i of t)if(en(e,r,i)&&!n[H(i)]){let a=new y([],{});o[H(i)]=a}return m(m({},n),o)}function ps(e,r){let t={};t[f]=r;for(let n of e)if(n.path===""&&H(n)!==f){let o=new y([],{});t[H(n)]=o}return t}function hs(e,r,t){return t.some(n=>en(e,r,n)&&H(n)!==f)}function fs(e,r,t){return t.some(n=>en(e,r,n))}function en(e,r,t){return(e.hasChildren()||r.length>0)&&t.pathMatch==="full"?!1:t.path===""}function bs(e,r,t){return r.length===0&&!e.children[t]}var hr=class{};function gs(e,r,t,n,o,i,a="emptyOnly"){return new fr(e,r,t,n,o,a,i).recognize()}var vs=31,fr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,t,n,o,i,a,c){this.injector=r,this.configLoader=t,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=a,this.urlSerializer=c,this.applyRedirects=new mr(this.urlSerializer,this.urlTree)}noMatchError(r){return new _(4002,`'${r.segmentGroup}'`)}recognize(){let r=zo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(w(({children:t,rootSnapshot:n})=>{let o=new P(n,t),i=new Qe("",o),a=Ca(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(a),{state:i,tree:a}}))}match(r){let t=new Pt([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,f,t).pipe(w(n=>({children:n,rootSnapshot:t})),St(n=>{if(n instanceof be)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof fe?this.noMatchError(n):n}))}processSegmentGroup(r,t,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,t,n,i):this.processSegment(r,t,n,n.segments,o,!0,i).pipe(w(a=>a instanceof P?[a]:[]))}processChildren(r,t,n,o){let i=[];for(let a of Object.keys(n.children))a==="primary"?i.unshift(a):i.push(a);return A(i).pipe(xt(a=>{let c=n.children[a],s=ka(t,a);return this.processSegmentGroup(r,s,c,a,o)}),Ar((a,c)=>(a.push(...c),a)),un(null),Ir(),O(a=>{if(a===null)return Tt(n);let c=di(a);return ys(c),h(c)}))}processSegment(r,t,n,o,i,a,c){return A(t).pipe(xt(s=>this.processSegmentAgainstRoute(s._injector??r,t,s,n,o,i,a,c).pipe(St(l=>{if(l instanceof fe)return h(null);throw l}))),it(s=>!!s),St(s=>{if(si(s))return bs(n,o,i)?h(new hr):Tt(n);throw s}))}processSegmentAgainstRoute(r,t,n,o,i,a,c,s){return H(n)!==a&&(a===f||!en(o,i,n))?Tt(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,o,n,i,a,s):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(r,o,t,n,i,a,s):Tt(o)}expandSegmentAgainstRouteUsingRedirect(r,t,n,o,i,a,c){let{matched:s,parameters:l,consumedSegments:u,positionalParamSegments:p,remainingSegments:b}=li(t,o,i);if(!s)return Tt(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>vs&&(this.allowRedirects=!1));let W=new Pt(i,l,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Lo(o),H(o),o.component??o._loadedComponent??null,o,No(o)),E=Ye(W,c,this.paramsInheritanceStrategy);W.params=Object.freeze(E.params),W.data=Object.freeze(E.data);let rt=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,p,W,r);return this.applyRedirects.lineralizeSegments(o,rt).pipe(O(B=>this.processSegment(r,n,t,B.concat(b),a,!1,c)))}matchSegmentAgainstRoute(r,t,n,o,i,a){let c=ds(t,n,o,r,this.urlSerializer);return n.path==="**"&&(t.children={}),c.pipe(U(s=>s.matched?(r=n._injector??r,this.getChildConfig(r,n,o).pipe(U(({routes:l})=>{let u=n._loadedInjector??r,{parameters:p,consumedSegments:b,remainingSegments:W}=s,E=new Pt(b,p,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Lo(n),H(n),n.component??n._loadedComponent??null,n,No(n)),rt=Ye(E,a,this.paramsInheritanceStrategy);E.params=Object.freeze(rt.params),E.data=Object.freeze(rt.data);let{segmentGroup:B,slicedSegments:Ht}=zo(t,b,W,l);if(Ht.length===0&&B.hasChildren())return this.processChildren(u,l,B,E).pipe(w(De=>new P(E,De)));if(l.length===0&&Ht.length===0)return h(new P(E,[]));let ki=H(n)===i;return this.processSegment(u,l,B,Ht,ki?f:i,!0,E).pipe(w(De=>new P(E,De instanceof P?[De]:[])))}))):Tt(t)))}getChildConfig(r,t,n){return t.children?h({routes:t.children,injector:r}):t.loadChildren?t._loadedRoutes!==void 0?h({routes:t._loadedRoutes,injector:t._loadedInjector}):as(r,t,n,this.urlSerializer).pipe(O(o=>o?this.configLoader.loadChildren(r,t).pipe(D(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):ls(t))):h({routes:[],injector:r})}};function ys(e){e.sort((r,t)=>r.value.outlet===f?-1:t.value.outlet===f?1:r.value.outlet.localeCompare(t.value.outlet))}function ws(e){let r=e.value.routeConfig;return r&&r.path===""}function di(e){let r=[],t=new Set;for(let n of e){if(!ws(n)){r.push(n);continue}let o=r.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),t.add(o)):r.push(n)}for(let n of t){let o=di(n.children);r.push(new P(n.value,o))}return r.filter(n=>!t.has(n))}function Lo(e){return e.data||{}}function No(e){return e.resolve||{}}function _s(e,r,t,n,o,i){return O(a=>gs(e,r,t,n,a.extractedUrl,o,i).pipe(w(({state:c,tree:s})=>I(m({},a),{targetSnapshot:c,urlAfterRedirects:s}))))}function Ss(e,r){return O(t=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=t;if(!o.length)return h(t);let i=new Set(o.map(s=>s.route)),a=new Set;for(let s of i)if(!a.has(s))for(let l of ui(s))a.add(l);let c=0;return A(a).pipe(xt(s=>i.has(s)?xs(s,n,e,r):(s.data=Ye(s,s.parent,e).resolve,h(void 0))),D(()=>c++),mn(1),O(s=>c===a.size?h(t):ot))})}function ui(e){let r=e.children.map(t=>ui(t)).flat();return[e,...r]}function xs(e,r,t,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!ri(o)&&(i[ve]=o.title),Cs(i,e,r,n).pipe(w(a=>(e._resolvedData=a,e.data=Ye(e,e.parent,t).resolve,null)))}function Cs(e,r,t,n){let o=Wn(e);if(o.length===0)return h({});let i={};return A(o).pipe(O(a=>Rs(e[a],r,t,n).pipe(it(),D(c=>{if(c instanceof he)throw Ke(new Nt,c);i[a]=c}))),mn(1),Er(i),St(a=>si(a)?ot:qt(a)))}function Rs(e,r,t,n){let o=we(r)??n,i=Bt(e,o),a=i.resolve?i.resolve(r,t):G(o,()=>i(r,t));return pt(a)}function Hn(e){return U(r=>{let t=e(r);return t?A(t).pipe(w(()=>r)):h(r)})}var mi=(()=>{class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(i=>i.outlet===f);return n}getResolvedTitleForRoute(t){return t.data[ve]}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(Ds),providedIn:"root"})}return e})(),Ds=(()=>{class e extends mi{title;constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||e)(v(Io))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$t=new S("",{providedIn:"root",factory:()=>({})}),Ms=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,o){n&1&&C(0,"router-outlet")},dependencies:[za],encapsulation:2})}return e})();function vr(e){let r=e.children&&e.children.map(vr),t=r?I(m({},e),{children:r}):m({},e);return!t.component&&!t.loadComponent&&(r||t.loadChildren)&&t.outlet&&t.outlet!==f&&(t.component=Ms),t}var ge=new S(""),yr=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Oe);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return h(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=pt(t.loadComponent()).pipe(w(pi),D(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Ee(()=>{this.componentLoaders.delete(t)})),o=new an(n,()=>new L).pipe(on());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return h({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=Es(n,this.compiler,t,this.onLoadEndListener).pipe(Ee(()=>{this.childrenLoaders.delete(n)})),a=new an(i,()=>new L).pipe(on());return this.childrenLoaders.set(n,a),a}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Es(e,r,t,n){return pt(e.loadChildren()).pipe(w(pi),O(o=>o instanceof Yr||Array.isArray(o)?h(o):A(r.compileModuleAsync(o))),w(o=>{n&&n(e);let i,a,c=!1;return Array.isArray(o)?(a=o,c=!0):(i=o.create(t).injector,a=i.get(ge,[],{optional:!0,self:!0}).flat()),{routes:a.map(vr),injector:i}}))}function Is(e){return e&&typeof e=="object"&&"default"in e}function pi(e){return Is(e)?e.default:e}var wr=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(As),providedIn:"root"})}return e})(),As=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hi=new S(""),fi=new S("");function Ts(e,r,t){let n=e.get(fi),o=e.get(M);return e.get(T).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,a=new Promise(l=>{i=l}),c=o.startViewTransition(()=>(i(),ks(e))),{onViewTransitionCreated:s}=n;return s&&G(e,()=>s({transition:c,from:r,to:t})),a})}function ks(e){return new Promise(r=>{yn({read:()=>setTimeout(r)},{injector:e})})}var bi=new S(""),_r=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new L;transitionAbortSubject=new L;configLoader=d(yr);environmentInjector=d(Gt);urlSerializer=d(ye);rootContexts=d(_e);location=d(Jt);inputBindingEnabled=d(tn,{optional:!0})!==null;titleStrategy=d(mi);options=d($t,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(wr);createViewTransition=d(hi,{optional:!0});navigationErrorHandler=d(bi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>h(void 0);rootComponentType=null;constructor(){let t=o=>this.events.next(new tr(o)),n=o=>this.events.next(new er(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(I(m(m({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new N({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ce,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(i=>i.id!==0),w(i=>I(m({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),U(i=>{let a=!1,c=!1;return h(i).pipe(U(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",z.SupersededByNewNavigation),ot;this.currentTransition=i,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?I(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&u!=="reload"){let p="";return this.events.next(new ut(s.id,this.urlSerializer.serialize(s.rawUrl),p,He.IgnoredSameUrlNavigation)),s.resolve(!1),ot}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return h(s).pipe(U(p=>{let b=this.transitions?.getValue();return this.events.next(new Ut(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),b!==this.transitions?.getValue()?ot:Promise.resolve(p)}),_s(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),D(p=>{i.targetSnapshot=p.targetSnapshot,i.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=I(m({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let b=new qe(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(b)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:p,extractedUrl:b,source:W,restoredState:E,extras:rt}=s,B=new Ut(p,this.urlSerializer.serialize(b),W,E);this.events.next(B);let Ht=ei(this.rootComponentType).snapshot;return this.currentTransition=i=I(m({},s),{targetSnapshot:Ht,urlAfterRedirects:b,extras:I(m({},rt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,h(i)}else{let p="";return this.events.next(new ut(s.id,this.urlSerializer.serialize(s.extractedUrl),p,He.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ot}}),D(s=>{let l=new Qn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}),w(s=>(this.currentTransition=i=I(m({},s),{guards:Ba(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i)),Xa(this.environmentInjector,s=>this.events.next(s)),D(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Ke(this.urlSerializer,s.guardsResult);let l=new Kn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(l)}),X(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",z.GuardRejected),!1)),Hn(s=>{if(s.guards.canActivateChecks.length)return h(s).pipe(D(l=>{let u=new Xn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),U(l=>{let u=!1;return h(l).pipe(Ss(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",z.NoDataFromResolver)}}))}),D(l=>{let u=new Jn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),Hn(s=>{let l=u=>{let p=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(D(b=>{u.component=b}),w(()=>{})));for(let b of u.children)p.push(...l(b));return p};return Me(l(s.targetSnapshot.root)).pipe(un(null),Ct(1))}),Hn(()=>this.afterPreactivation()),U(()=>{let{currentSnapshot:s,targetSnapshot:l}=i,u=this.createViewTransition?.(this.environmentInjector,s.root,l.root);return u?A(u).pipe(w(()=>i)):h(i)}),w(s=>{let l=La(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=i=I(m({},s),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,i}),D(()=>{this.events.next(new me)}),Fa(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Ct(1),D({next:s=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new q(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{a=!0}}),Ie(this.transitionAbortSubject.pipe(D(s=>{throw s}))),Ee(()=>{!a&&!c&&this.cancelNavigationTransition(i,"",z.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),St(s=>{if(c=!0,ai(s))this.events.next(new et(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),ja(s)?this.events.next(new jt(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let l=new ue(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let u=G(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof he){let{message:p,cancellationCode:b}=Ke(this.urlSerializer,u);this.events.next(new et(i.id,this.urlSerializer.serialize(i.extractedUrl),p,b)),this.events.next(new jt(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),s}catch(u){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(u)}}return ot}))}))}cancelNavigationTransition(t,n,o){let i=new et(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Os(e){return e!==ce}var Ps=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(zs),providedIn:"root"})}return e})(),br=class{shouldDetach(r){return!1}store(r,t){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,t){return r.routeConfig===t.routeConfig}},zs=(()=>{class e extends br{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:()=>d(Ls),providedIn:"root"})}return e})(),Ls=(()=>{class e extends gi{location=d(Jt);urlSerializer=d(ye);options=d($t,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=d(wr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new nt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=ei(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ut)this.stateMemento=this.createStateMemento();else if(t instanceof ut)this.rawUrlTree=n.initialUrl;else if(t instanceof qe){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??o,n)}}else t instanceof me?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof et&&(t.code===z.GuardRejected||t.code===z.NoDataFromResolver)?this.restoreHistory(n):t instanceof ue?this.restoreHistory(n,!0):t instanceof q&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=t instanceof nt?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let i=this.browserPageId,a=m(m({},n.extras.state),this.generateNgRouterState(n.id,i));this.location.replaceState(o,"",a)}else{let i=m(m({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&i===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ae=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ae||{});function vi(e,r){e.events.pipe(X(t=>t instanceof q||t instanceof et||t instanceof ue||t instanceof ut),w(t=>t instanceof q||t instanceof ut?ae.COMPLETE:(t instanceof et?t.code===z.Redirect||t.code===z.SupersededByNewNavigation:!1)?ae.REDIRECTING:ae.FAILED),X(t=>t!==ae.REDIRECTING),Ct(1)).subscribe(()=>{r()})}var Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Us={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},K=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(ke);stateManager=d(gi);options=d($t,{optional:!0})||{};pendingTasks=d(zr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(_r);urlSerializer=d(ye);location=d(Jt);urlHandlingStrategy=d(wr);_events=new L;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(Ps);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(ge,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(tn,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new nn;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(n,i),n instanceof et&&n.code!==z.Redirect&&n.code!==z.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof q)this.navigated=!0;else if(n instanceof jt){let a=n.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),s=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Os(o.source)},a);this.scheduleNavigation(c,ce,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fs(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ce,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let i={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let s=m({},o);delete s.navigationId,delete s.\u0275routerPageId,Object.keys(s).length!==0&&(i.state=s)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(vr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:o,queryParams:i,fragment:a,queryParamsHandling:c,preserveFragment:s}=n,l=s?this.currentUrlTree.fragment:a,u=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let p;try{let b=o?o.snapshot:this.routerState.snapshot.root;p=Ko(b)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),p=this.currentUrlTree.root}return Xo(p,t,u,l??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=wt(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ce,null,n)}navigate(t,n={skipLocationChange:!1}){return js(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=m({},Ns):n===!1?o=m({},Us):o=n,wt(t))return Ao(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Ao(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,i])=>(i!=null&&(n[o]=i),n),{})}scheduleNavigation(t,n,o,i,a){if(this.disposed)return Promise.resolve(!1);let c,s,l;a?(c=a.resolve,s=a.reject,l=a.promise):l=new Promise((p,b)=>{c=p,s=b});let u=this.pendingTasks.add();return vi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:c,reject:s,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function js(e){for(let r=0;r{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new L;constructor(t,n,o,i,a,c){this.router=t,this.route=n,this.tabIndexAttribute=o,this.renderer=i,this.el=a,this.locationStrategy=c;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof q&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(wt(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,o,i,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(t!==0||n||o||i||a||typeof this.target=="string"&&this.target!="_self"))return!0;let s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,s),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:Gr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let o=this.renderer,i=this.el.nativeElement;n!==null?o.setAttribute(i,t,n):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:wt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||e)($(K),$(mt),Pr("tabindex"),$(wn),$(ht),$(Et))};static \u0275dir=J({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&Xr("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&Y("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",j],skipLocationChange:[2,"skipLocationChange","skipLocationChange",j],replaceUrl:[2,"replaceUrl","replaceUrl",j],routerLink:"routerLink"},features:[lt,Zt]})}return e})(),nl=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Rt;constructor(t,n,o,i,a){this.router=t,this.element=n,this.renderer=o,this.cdr=i,this.link=a,this.routerEventsSubscription=t.events.subscribe(c=>{c instanceof q&&this.update()})}ngAfterContentInit(){h(this.links.changes,h(null)).pipe(Wt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=A(t).pipe(Wt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let n=Bs(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,n):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(n){return new(n||e)($(K),$(ht),$(wn),$(Xt),$(Uo,8))};static \u0275dir=J({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,o,i){if(n&1&&Jr(i,Uo,5),n&2){let a;Dn(a=Mn())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Zt]})}return e})();function Bs(e){return!!e.paths}var Je=class{};var $s=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,n,o,i,a){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(X(t=>t instanceof q),xt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let o=[];for(let i of n){i.providers&&!i._injector&&(i._injector=_n(i.providers,t,`Route: ${i.path}`));let a=i._injector??t,c=i._loadedInjector??a;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(a,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(c,i.children??i._loadedRoutes))}return A(o).pipe(Wt())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(t,n):o=h(null);let i=o.pipe(O(a=>a===null?h(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(n);return A([i,a]).pipe(Wt())}else return i})}static \u0275fac=function(n){return new(n||e)(v(K),v(Oe),v(Gt),v(Je),v(yr))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yi=new S(""),Vs=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,n,o,i,a={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=o,this.zone=i,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof q?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ut&&t.code===He.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof We&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new We(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Zr()};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function rl(e,...r){return fn([{provide:ge,multi:!0,useValue:e},[],{provide:mt,useFactory:wi,deps:[K]},{provide:xn,multi:!0,useFactory:_i},r.map(t=>t.\u0275providers)])}function wi(e){return e.routerState.root}function _t(e,r){return{\u0275kind:e,\u0275providers:r}}function _i(){let e=d(Te);return r=>{let t=e.get(Cn);if(r!==t.components[0])return;let n=e.get(K),o=e.get(Si);e.get(Sr)===1&&n.initialNavigation(),e.get(xi,null,hn.Optional)?.setUpPreloading(),e.get(yi,null,hn.Optional)?.init(),n.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Si=new S("",{factory:()=>new L}),Sr=new S("",{providedIn:"root",factory:()=>1});function Hs(){return _t(2,[{provide:Sr,useValue:0},{provide:Sn,multi:!0,deps:[Te],useFactory:r=>{let t=r.get(io,Promise.resolve());return()=>t.then(()=>new Promise(n=>{let o=r.get(K),i=r.get(Si);vi(o,()=>{n(!0)}),r.get(_r).afterPreactivation=()=>(n(!0),i.closed?h(void 0):i),o.initialNavigation()}))}}])}function qs(){return _t(3,[{provide:Sn,multi:!0,useFactory:()=>{let r=d(K);return()=>{r.setUpLocationChangeListener()}}},{provide:Sr,useValue:2}])}var xi=new S("");function Ws(e){return _t(0,[{provide:xi,useExisting:$s},{provide:Je,useExisting:e}])}function ol(e){return _t(5,[{provide:$t,useValue:e}])}function il(){return _t(6,[{provide:Et,useClass:En}])}function Gs(){return _t(8,[Po,{provide:tn,useExisting:Po}])}function Zs(e){let r=[{provide:hi,useValue:Ts},{provide:fi,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return _t(9,r)}var jo=new S("ROUTER_FORROOT_GUARD"),Ys=[Jt,{provide:ye,useClass:Nt},K,_e,{provide:mt,useFactory:wi,deps:[K]},yr,[]],al=(()=>{class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[Ys,[],{provide:ge,multi:!0,useValue:t},{provide:jo,useFactory:Js,deps:[[K,new Ae,new kr]]},n?.errorHandler?{provide:bi,useValue:n.errorHandler}:[],{provide:$t,useValue:n||{}},n?.useHash?Ks():Xs(),Qs(),n?.preloadingStrategy?Ws(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?tc(n):[],n?.bindToComponentInputs?Gs().\u0275providers:[],n?.enableViewTransitions?Zs().\u0275providers:[],ec()]}}static forChild(t){return{ngModule:e,providers:[{provide:ge,multi:!0,useValue:t}]}}static \u0275fac=function(n){return new(n||e)(v(jo,8))};static \u0275mod=ct({type:e});static \u0275inj=at({})}return e})();function Qs(){return{provide:yi,useFactory:()=>{let e=d(lo),r=d(T),t=d($t),n=d(_r),o=d(ye);return t.scrollOffset&&e.setOffset(t.scrollOffset),new Vs(o,n,e,r,t)}}}function Ks(){return{provide:Et,useClass:En}}function Xs(){return{provide:Et,useClass:ao}}function Js(e){return"guarded"}function tc(e){return[e.initialNavigation==="disabled"?qs().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Hs().\u0275providers:[]]}var Fo=new S("");function ec(){return[{provide:Fo,useFactory:_i},{provide:xn,multi:!0,useExisting:Fo}]}var Ci=["mat-button",""],xe=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ce=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],nc='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',xr="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",Ri=["mat-fab",""],rc=["mat-mini-fab",""],Di='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Mi=["mat-icon-button",""],Ei=["*"],oc='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ic=new S("MAT_BUTTON_CONFIG");var ac=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Re=(()=>{class e{_elementRef=d(ht);_platform=d(te);_ngZone=d(T);_animationMode=d(jr,{optional:!0});_focusMonitor=d(fo);_rippleLoader=d(yo);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){d(po).load(go);let t=d(ic,{optional:!0}),n=this._elementRef.nativeElement,o=n.classList;this.disabledInteractive=t?.disabledInteractive??!1,this.color=t?.color??null,this._rippleLoader?.configureRipple(n,{className:"mat-mdc-button-ripple"});for(let{attribute:i,mdcClasses:a}of ac)n.hasAttribute(i)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",j],disabled:[2,"disabled","disabled",j],ariaDisabled:[2,"aria-disabled","ariaDisabled",j],disabledInteractive:[2,"disabledInteractive","disabledInteractive",j]},features:[lt]})}return e})();var Ii=(()=>{class e extends Re{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275dir=J({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:eo(t)]},features:[lt,Z]})}return e})(),wl=(()=>{class e extends Re{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:Ci,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return e})(),sc=(()=>{class e extends Ii{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Z],attrs:Ci,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[nc,xr],encapsulation:2,changeDetection:0})}return e})(),Cr=new S("mat-mdc-fab-default-options",{providedIn:"root",factory:Ai});function Ai(){return{color:"accent"}}var Vt=Ai(),_l=(()=>{class e extends Re{_options=d(Cr,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[2,"extended","extended",j]},exportAs:["matButton"],features:[lt,Z],attrs:Ri,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return e})(),Sl=(()=>{class e extends Re{_options=d(Cr,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:rc,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Di],encapsulation:2,changeDetection:0})}return e})(),xl=(()=>{class e extends sc{_options=d(Cr,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Vt,this.color=this._options.color||Vt.color}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["a","mat-fab",""]],hostVars:19,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[2,"extended","extended",j]},exportAs:["matButton","matAnchor"],features:[lt,Z],attrs:Ri,ngContentSelectors:Ce,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(xe),C(0,"span",0),x(1),bt(2,"span",1),x(3,1),gt(),x(4,2),C(5,"span",2)(6,"span",3)),n&2&&k("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Di],encapsulation:2,changeDetection:0})}return e})();var Cl=(()=>{class e extends Re{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=V({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Z],attrs:Mi,ngContentSelectors:Ei,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(),C(0,"span",0),x(1),C(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',xr],encapsulation:2,changeDetection:0})}return e})(),Rl=(()=>{class e extends Ii{static \u0275fac=(()=>{let t;return function(o){return(t||(t=st(e)))(o||e)}})();static \u0275cmp=V({type:e,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(Y("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),dt(o.color?"mat-"+o.color:""),k("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Z],attrs:Mi,ngContentSelectors:Ei,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(tt(),C(0,"span",0),x(1),C(2,"span",1)(3,"span",2))},styles:[oc,xr],encapsulation:2,changeDetection:0})}return e})(),Dl=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({imports:[Tn,vo,Tn]})}return e})();var cc=20,lc=(()=>{class e{_ngZone=d(T);_platform=d(te);_document=d(M,{optional:!0});constructor(){}_scrolled=new L;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=cc){return this._platform.isBrowser?new rn(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(dn(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):h()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(X(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&n.push(i)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=ho(n),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return ln(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),od=(()=>{class e{elementRef=d(ht);scrollDispatcher=d(lc);ngZone=d(T);dir=d(bo,{optional:!0});_destroyed=new L;_elementScrolled=new rn(t=>this.ngZone.runOutsideAngular(()=>ln(this.elementRef.nativeElement,"scroll").pipe(Ie(this._destroyed)).subscribe(t)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let n=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=n.scrollHeight-n.clientHeight-t.bottom),o&&At()!=It.NORMAL?(t.left!=null&&(t.right=n.scrollWidth-n.clientWidth-t.left),At()==It.INVERTED?t.left=t.right:At()==It.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=n.scrollWidth-n.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let n=this.elementRef.nativeElement;mo()?n.scrollTo(t):(t.top!=null&&(n.scrollTop=t.top),t.left!=null&&(n.scrollLeft=t.left))}measureScrollOffset(t){let n="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?o:n:t=="end"&&(t=a?n:o),a&&At()==It.INVERTED?t==n?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:a&&At()==It.NEGATED?t==n?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==n?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(n){return new(n||e)};static \u0275dir=J({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),dc=20,id=(()=>{class e{_platform=d(te);_viewportSize;_change=new L;_changeListener=t=>{this._change.next(t)};_document=d(M,{optional:!0});constructor(){d(T).runOutsideAngular(()=>{if(this._platform.isBrowser){let n=this._getWindow();n.addEventListener("resize",this._changeListener),n.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),a=-i.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-i.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=dc){return t>0?this._change.pipe(dn(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ti=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({})}return e})(),ad=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ct({type:e});static \u0275inj=at({imports:[An,Ti,An,Ti]})}return e})();export{So as a,Pc as b,zc as c,Io as d,na as e,q as f,mt as g,za as h,K as i,Uo as j,nl as k,rl as l,ol as m,il as n,Zs as o,al as p,wl as q,sc as r,_l as s,Sl as t,xl as u,Cl as v,Rl as w,Dl as x,lc as y,od as z,id as A,Ti as B,ad as C}; diff --git a/chunk-V6KASOE3.js b/chunk-7ZNDEEZ6.js similarity index 98% rename from chunk-V6KASOE3.js rename to chunk-7ZNDEEZ6.js index 2f42793d..041de4c2 100644 --- a/chunk-V6KASOE3.js +++ b/chunk-7ZNDEEZ6.js @@ -1 +1 @@ -import{a as s}from"./chunk-XIUDFJWJ.js";import{A as L,a as j,b as q,c as O,d as D,i as T,j as w,n as v,t as k,u as H}from"./chunk-XYJHVZQT.js";import{F as c,L as p,O as a,a as I,b as A,ba as g,c as b,t as F}from"./chunk-TEKHUYWQ.js";var o=class extends j{};var d=class{eventService;constructor(e){this.eventService=e}execute({id:e,title:r}){return this.eventService.copy(e,{id:e,title:r})}};function W(){return s(d,[o])}var m=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.create(e)}};function Y(){return s(m,[o])}var u=class{eventService;constructor(e){this.eventService=e}execute({event:e,status:r}){return this.eventService.createRSVP(e,r)}};function Q(){return s(u,[o])}var f=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.delete(e)}};function z(){return s(f,[o])}var x=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findAll(e)}};function _(){return s(x,[o])}var l=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findOne(e)}};function G(){return s(l,[o])}var h=class{eventService;constructor(e){this.eventService=e}execute(i){var R=i,{start:e,end:r}=R,n=b(R,["start","end"]);return this.eventService.findDateRange(e,r,n)}};function J(){return s(h,[o])}var E=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findUntil(e)}};function K(){return s(E,[o])}var C=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.find(e)}};function N(){return s(C,[o])}var S=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findMyEvents(e)}};function X(){return s(S,[o])}var U=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findRSVPByEvent(e)}};function Z(){return s(U,[o])}var y=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findRSVPConfirmedByEvent(e)}};function ee(){return s(y,[o])}var P=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.update(e.id,e)}};function te(){return s(P,[o])}var M=class extends H{findAll(e){let r=[`${this.url}/all`,v(e)];return this.http.get(r.join("?"))}findUntil(e){let r=[`${this.url}/until`,v(e)];return this.http.get(r.join("?"))}findDateRange(e,r,n){let i=[`${this.url}/range/${e}/${r}`,v(n)];return this.http.get(i.join("?"))}findMyEvents(e){let r=[`${this.url}/my`,v(e)];return this.http.get(r.join("?"))}copy(e,r){let n=[this.url,e,"copy"];return this.http.patch(n.join("/"),r)}createRSVP(e,r){let n=[this.url,e,"rsvps"];return this.http.post(n.join("/"),{status:r})}findRSVPByEvent(e){let r=[this.url,e,"rsvps"];return this.http.get(r.join("/"))}findRSVPConfirmedByEvent(e){let r=[this.url,e,"rsvps","confirmed"];return this.http.get(r.join("/"))}};function re(){return{provide:o,useFactory(t,e){return new M(t,e,"events")},deps:[O,q]}}var Se=Math.pow(10,8)*24*60*60*1e3,kt=-Se;var oe=6e4;var Ue=3600;var ne=Ue*24,Ht=ne*7,ye=ne*365.2425,Pe=ye/12,Lt=Pe*3,V=Symbol.for("constructDateFrom");function se(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&V in t?t[V](e):t instanceof Date?new t.constructor(e):new Date(e)}function ie(t,e){return se(e||t,t)}function ce(t,e,r){let n=ie(t,r?.in);return n.setTime(n.getTime()+e*oe),n}function pe(t){let e=new Date(t.date??""),r=T(t.duration??"2h"),n=ce(e,r);return A(I({},t),{start:e,end:n})}var ae=t=>{switch(t){case"in-person":return"OfflineEventAttendanceMode";case"online":return"OnlineEventAttendanceMode";case"mixed":default:return"MixedEventAttendanceMode"}};function ve(t){return{"@context":"https://schema.org","@type":"Event",name:t.title,description:w(t.description??""),startDate:`${t.start}`,endDate:`${t.end}`,eventAttendanceMode:ae(t.format),eventSchedule:[{"@type":"Schedule"}]}}var $=class extends L{createEventUseCase;findEventsUseCase;findMyEventsUseCase;findAllEventsUseCase;findEventsUntilUseCase;findEventsDateRangeUseCase;findEventByIDUseCase;updateEventUseCase;copyEventUseCase;deleteEventUseCase;page$=this.select(e=>e.selected).pipe(c(e=>!!e),F(e=>pe(e)));schema$=this.page$.pipe(F(e=>ve(e)));constructor(e,r,n,i,R,xe,le,he,Ee,Ce){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",format:""},sort:{date:"asc"}},selected:null}),this.createEventUseCase=e,this.findEventsUseCase=r,this.findMyEventsUseCase=n,this.findAllEventsUseCase=i,this.findEventsUntilUseCase=R,this.findEventsDateRangeUseCase=xe,this.findEventByIDUseCase=le,this.updateEventUseCase=he,this.copyEventUseCase=Ee,this.deleteEventUseCase=Ce}load(){this.onLoad(this.findEventsUseCase.execute(this.state.params))}loadAll(){this.onLoad(this.findAllEventsUseCase.execute(this.state.params))}loadDateRange(e,r){let n=I({start:e,end:r},this.state.params);this.onLoad(this.findEventsDateRangeUseCase.execute(n))}loadUntil(){this.onLoad(this.findEventsUntilUseCase.execute(this.state.params))}loadMyEvents(){this.onLoad(this.findMyEventsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findEventByIDUseCase.execute(e))}create(e){let r=this.createEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}copy(e){let r=this.copyEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}update(e){let r=this.updateEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}delete(e){this.onDelete(this.deleteEventUseCase.execute(e))}};function de(){return D($,[m,C,S,x,E,h,l,P,d,f])}var B=class extends k{createRSVPUseCase;findRSVPByEventUseCase;findRSVPConfirmedByEventUseCase;response$=this.select(e=>e.response);constructor(e,r,n){super({response:[]}),this.createRSVPUseCase=e,this.findRSVPByEventUseCase=r,this.findRSVPConfirmedByEventUseCase=n}load(e){let r=this.findRSVPByEventUseCase.execute(e),n=i=>{this.setState({response:i})};r.pipe(p(1)).subscribe(n)}loadConfirmed(e){let r=this.findRSVPConfirmedByEventUseCase.execute(e),n=i=>{this.setState({response:i})};r.pipe(p(1)).subscribe(n)}create(e){this.createRSVPUseCase.execute(e).pipe(p(1)).subscribe(()=>this.loadConfirmed(e.event))}};function me(){return D(B,[u,U,y])}function ue(){return[re(),Y(),N(),X(),_(),K(),J(),G(),te(),z(),W(),de()]}function fe(){return[Q(),Z(),ee(),me()]}function Ar(){return[...ue(),...fe()]}var qr=(t,e)=>(t.loadOne(e.id),t.page$.pipe(a(),c(r=>!!r)));var wr=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(a(),c(r=>!!r)));var Lr=(t,e)=>(t.loadOne(e.id),t.schema$.pipe(a(),c(r=>!!r)));export{se as a,ie as b,$ as c,B as d,Ar as e,qr as f,wr as g,Lr as h}; +import{a as s}from"./chunk-XIUDFJWJ.js";import{A as L,a as j,b as q,c as O,d as D,i as T,j as w,n as v,t as k,u as H}from"./chunk-7BKB7KKA.js";import{F as c,L as p,O as a,a as I,b as A,ba as g,c as b,t as F}from"./chunk-5L47ZUSK.js";var o=class extends j{};var d=class{eventService;constructor(e){this.eventService=e}execute({id:e,title:r}){return this.eventService.copy(e,{id:e,title:r})}};function W(){return s(d,[o])}var m=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.create(e)}};function Y(){return s(m,[o])}var u=class{eventService;constructor(e){this.eventService=e}execute({event:e,status:r}){return this.eventService.createRSVP(e,r)}};function Q(){return s(u,[o])}var f=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.delete(e)}};function z(){return s(f,[o])}var x=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findAll(e)}};function _(){return s(x,[o])}var l=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findOne(e)}};function G(){return s(l,[o])}var h=class{eventService;constructor(e){this.eventService=e}execute(i){var R=i,{start:e,end:r}=R,n=b(R,["start","end"]);return this.eventService.findDateRange(e,r,n)}};function J(){return s(h,[o])}var E=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findUntil(e)}};function K(){return s(E,[o])}var C=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.find(e)}};function N(){return s(C,[o])}var S=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findMyEvents(e)}};function X(){return s(S,[o])}var U=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findRSVPByEvent(e)}};function Z(){return s(U,[o])}var y=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.findRSVPConfirmedByEvent(e)}};function ee(){return s(y,[o])}var P=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.update(e.id,e)}};function te(){return s(P,[o])}var M=class extends H{findAll(e){let r=[`${this.url}/all`,v(e)];return this.http.get(r.join("?"))}findUntil(e){let r=[`${this.url}/until`,v(e)];return this.http.get(r.join("?"))}findDateRange(e,r,n){let i=[`${this.url}/range/${e}/${r}`,v(n)];return this.http.get(i.join("?"))}findMyEvents(e){let r=[`${this.url}/my`,v(e)];return this.http.get(r.join("?"))}copy(e,r){let n=[this.url,e,"copy"];return this.http.patch(n.join("/"),r)}createRSVP(e,r){let n=[this.url,e,"rsvps"];return this.http.post(n.join("/"),{status:r})}findRSVPByEvent(e){let r=[this.url,e,"rsvps"];return this.http.get(r.join("/"))}findRSVPConfirmedByEvent(e){let r=[this.url,e,"rsvps","confirmed"];return this.http.get(r.join("/"))}};function re(){return{provide:o,useFactory(t,e){return new M(t,e,"events")},deps:[O,q]}}var Se=Math.pow(10,8)*24*60*60*1e3,kt=-Se;var oe=6e4;var Ue=3600;var ne=Ue*24,Ht=ne*7,ye=ne*365.2425,Pe=ye/12,Lt=Pe*3,V=Symbol.for("constructDateFrom");function se(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&V in t?t[V](e):t instanceof Date?new t.constructor(e):new Date(e)}function ie(t,e){return se(e||t,t)}function ce(t,e,r){let n=ie(t,r?.in);return n.setTime(n.getTime()+e*oe),n}function pe(t){let e=new Date(t.date??""),r=T(t.duration??"2h"),n=ce(e,r);return A(I({},t),{start:e,end:n})}var ae=t=>{switch(t){case"in-person":return"OfflineEventAttendanceMode";case"online":return"OnlineEventAttendanceMode";case"mixed":default:return"MixedEventAttendanceMode"}};function ve(t){return{"@context":"https://schema.org","@type":"Event",name:t.title,description:w(t.description??""),startDate:`${t.start}`,endDate:`${t.end}`,eventAttendanceMode:ae(t.format),eventSchedule:[{"@type":"Schedule"}]}}var $=class extends L{createEventUseCase;findEventsUseCase;findMyEventsUseCase;findAllEventsUseCase;findEventsUntilUseCase;findEventsDateRangeUseCase;findEventByIDUseCase;updateEventUseCase;copyEventUseCase;deleteEventUseCase;page$=this.select(e=>e.selected).pipe(c(e=>!!e),F(e=>pe(e)));schema$=this.page$.pipe(F(e=>ve(e)));constructor(e,r,n,i,R,xe,le,he,Ee,Ce){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",format:""},sort:{date:"asc"}},selected:null}),this.createEventUseCase=e,this.findEventsUseCase=r,this.findMyEventsUseCase=n,this.findAllEventsUseCase=i,this.findEventsUntilUseCase=R,this.findEventsDateRangeUseCase=xe,this.findEventByIDUseCase=le,this.updateEventUseCase=he,this.copyEventUseCase=Ee,this.deleteEventUseCase=Ce}load(){this.onLoad(this.findEventsUseCase.execute(this.state.params))}loadAll(){this.onLoad(this.findAllEventsUseCase.execute(this.state.params))}loadDateRange(e,r){let n=I({start:e,end:r},this.state.params);this.onLoad(this.findEventsDateRangeUseCase.execute(n))}loadUntil(){this.onLoad(this.findEventsUntilUseCase.execute(this.state.params))}loadMyEvents(){this.onLoad(this.findMyEventsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findEventByIDUseCase.execute(e))}create(e){let r=this.createEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}copy(e){let r=this.copyEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}update(e){let r=this.updateEventUseCase.execute(e),n=i=>this.setState({selected:i});return r.pipe(p(1),g(n))}delete(e){this.onDelete(this.deleteEventUseCase.execute(e))}};function de(){return D($,[m,C,S,x,E,h,l,P,d,f])}var B=class extends k{createRSVPUseCase;findRSVPByEventUseCase;findRSVPConfirmedByEventUseCase;response$=this.select(e=>e.response);constructor(e,r,n){super({response:[]}),this.createRSVPUseCase=e,this.findRSVPByEventUseCase=r,this.findRSVPConfirmedByEventUseCase=n}load(e){let r=this.findRSVPByEventUseCase.execute(e),n=i=>{this.setState({response:i})};r.pipe(p(1)).subscribe(n)}loadConfirmed(e){let r=this.findRSVPConfirmedByEventUseCase.execute(e),n=i=>{this.setState({response:i})};r.pipe(p(1)).subscribe(n)}create(e){this.createRSVPUseCase.execute(e).pipe(p(1)).subscribe(()=>this.loadConfirmed(e.event))}};function me(){return D(B,[u,U,y])}function ue(){return[re(),Y(),N(),X(),_(),K(),J(),G(),te(),z(),W(),de()]}function fe(){return[Q(),Z(),ee(),me()]}function Ar(){return[...ue(),...fe()]}var qr=(t,e)=>(t.loadOne(e.id),t.page$.pipe(a(),c(r=>!!r)));var wr=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(a(),c(r=>!!r)));var Lr=(t,e)=>(t.loadOne(e.id),t.schema$.pipe(a(),c(r=>!!r)));export{se as a,ie as b,$ as c,B as d,Ar as e,qr as f,wr as g,Lr as h}; diff --git a/chunk-A3N3AUUJ.js b/chunk-A3N3AUUJ.js deleted file mode 100644 index 47d53571..00000000 --- a/chunk-A3N3AUUJ.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as r,Ba as u,g as n,ka as o,ra as s}from"./chunk-TEKHUYWQ.js";function i(t){t||(s(i),t=o(u));let c=new n(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(r(c))}export{i as a}; diff --git a/chunk-A74J7Y3C.js b/chunk-A74J7Y3C.js new file mode 100644 index 00000000..4f26fee7 --- /dev/null +++ b/chunk-A74J7Y3C.js @@ -0,0 +1 @@ +import{f as Z,g as U,j as A}from"./chunk-TJJFEYFG.js";import{e as G,g as K,k as $,p as Y}from"./chunk-E5QACR6S.js";import{$ as q,V as j,_ as M,da as W,h,j as x,k as z,s as E,v as y,w as k,z as w}from"./chunk-CG5OOKZO.js";import{$ as F,A as C,Fa as d,Fc as P,G as T,Ja as m,Mb as p,Sb as B,Vb as D,Vc as v,Zc as V,ea as S,ed as O,fa as c,ha as b,ic as N,j as l,ka as r,kc as g,n as I,sa as R,ub as L,vb as _,wb as f,zb as H}from"./chunk-5L47ZUSK.js";var J=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=L({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return s})(),X=z({passive:!0}),Q=(()=>{class s{_platform=r(h);_ngZone=r(d);_styleLoader=r(E);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return I;this._styleLoader.load(J);let t=w(e),i=this._monitoredElements.get(t);if(i)return i.subject;let n=new l,a="cdk-text-field-autofilled",o=u=>{u.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>n.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>n.next({target:u.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",o,X),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",o,X)}}),n}stopMonitoring(e){let t=w(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||s)};static \u0275prov=S({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var xe=(()=>{class s{_elementRef=r(m);_platform=r(h);_ngZone=r(d);_previousValue;_initialHeight;_destroyed=new l;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(e){this._minRows=k(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=k(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=r(O,{optional:!0});_hasFocus;_isViewInited=!1;constructor(){r(E).load(J),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();C(e,"resize").pipe(T(16),F(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,t=e.style.marginBottom||"",i=this._platform.FIREFOX,n=i&&this._hasFocus,a=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";n&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(a);let o=e.scrollHeight-4;return e.classList.remove(a),n&&(e.style.marginBottom=t),o}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let t=this._elementRef.nativeElement,i=t.value;if(!e&&this._minRows===this._previousMinRows&&i===this._previousValue)return;let n=this._measureScrollHeight(),a=Math.max(n,this._cachedPlaceholderHeight||0);t.style.height=`${a}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){let{selectionStart:t,selectionEnd:i}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,i)}static \u0275fac=function(t){return new(t||s)};static \u0275dir=f({type:s,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,i){t&1&&g("input",function(){return i._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",v],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],features:[p]})}return s})(),ee=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=_({type:s});static \u0275inj=c({})}return s})();var ie=new b("MAT_INPUT_VALUE_ACCESSOR"),se=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ne=new b("MAT_INPUT_CONFIG"),Be=(()=>{class s{_elementRef=r(m);_platform=r(h);ngControl=r(K,{optional:!0,self:!0});_autofillMonitor=r(Q);_ngZone=r(d);_formField=r(U,{optional:!0});_uid=r(j).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=r(ne,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new l;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=y(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=y(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&x().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=y(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>x().has(e));constructor(){let e=r($,{optional:!0}),t=r(Y,{optional:!0}),i=r(W),n=r(ie,{optional:!0,self:!0}),a=this._elementRef.nativeElement,o=a.nodeName.toLowerCase();n?H(n.value)?this._signalBasedValueAccessor=n:this._inputValueAccessor=n:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{a.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new q(i,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=o==="select",this._isTextarea=o==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&V(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){se.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,i=t.getAttribute("aria-describedby"),n;if(i){let a=this._formFieldDescribedBy||e;n=e.concat(i.split(" ").filter(o=>o&&!a.includes(o)))}else n=e;this._formFieldDescribedBy=e,n.length?t.setAttribute("aria-describedby",n.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||s)};static \u0275dir=f({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&g("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),t&2&&(N("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),B("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),D("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",v]},exportAs:["matInput"],features:[P([{provide:Z,useExisting:s}]),p,R]})}return s})(),De=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=_({type:s});static \u0275inj=c({imports:[M,A,A,ee,M]})}return s})();export{xe as a,ee as b,ie as c,Be as d,De as e}; diff --git a/chunk-AF344KWA.js b/chunk-AF344KWA.js new file mode 100644 index 00000000..8ddc8c17 --- /dev/null +++ b/chunk-AF344KWA.js @@ -0,0 +1 @@ +import{a as wn,b as Pn,c as On}from"./chunk-LKFEOD7V.js";import{a as An}from"./chunk-DQZ22ZG2.js";import{a as Un}from"./chunk-34JIMYEM.js";import{b as nn,c as on,d as an,e as rn,g as sn}from"./chunk-GXWUGGBK.js";import{a as Qe,b as ce}from"./chunk-R4QCZCL2.js";import{a as gn,b as bn}from"./chunk-I7HMQKPZ.js";import{a as Dn,b as En,c as Tn,d as kn,e as In,f as Bn,g as Rn,h as Ln,i as Vn,j as $n,k as Nn}from"./chunk-TDAJGOKB.js";import{a as qe,b as Sn}from"./chunk-HOUESFGN.js";import{a as Fn}from"./chunk-5XJFAPMG.js";import{a as xn}from"./chunk-Z63MF55O.js";import"./chunk-6PKCOWVT.js";import{b as Mn,e as vn,f as yn}from"./chunk-BJPVFIKR.js";import{a as V,b as mn,d as ln}from"./chunk-FY4SNPSV.js";import{a as dn,b as pn,c as $e}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import{a as Xt,b as Kt}from"./chunk-4OXAFH6K.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as hn,b as _n}from"./chunk-5MUU2WLY.js";import{k as L,q as Fe,s as Qt}from"./chunk-7BKB7KKA.js";import{d as me,e as le}from"./chunk-A74J7Y3C.js";import{b as W,c as Ae,d as qt,i as X,j as K,o as cn}from"./chunk-TJJFEYFG.js";import{f as en,g as tn}from"./chunk-76QZXEBP.js";import{a as se}from"./chunk-366DNJGU.js";import{g as Z,h as $t,i as Pe,j as Nt,p as Oe,q as re,s as Yt,v as k,w as Jt,x as I}from"./chunk-7RMPQIRR.js";import{c as Ut,d as tt,e as nt,g as it,h as ot,j as at,k as rt,l as st}from"./chunk-I7VYXJU2.js";import{a as Cn}from"./chunk-YARZXNSP.js";import{a as te,c as ne,e as Le,f as ie,g as oe,i as Ve,l as ae}from"./chunk-UANEMOTZ.js";import{a as Ne,b as Ue,c as un,d as fn,e as ze,f as He,i as je}from"./chunk-BJ2ND26O.js";import{a as P,c as Y,e as Zt,h as J,i as De,j as Ee,l as D,m as Te,o as Wt,p as ke,r as Ie,s as Be,w as Re,x as ee}from"./chunk-E5QACR6S.js";import{F as Ht,G as H,Y as mt,Z as lt,_ as ct,b as et,pa as jt,u as zt,za as Gt}from"./chunk-CG5OOKZO.js";import{$b as S,Ac as ye,D as xt,Ea as Ot,F as T,Fb as U,Fc as Se,Gc as we,Ha as N,I as Mt,Ia as _e,J as vt,Ja as At,Jc as A,Kb as G,Kc as F,L as O,Nb as b,Sb as Tt,Sc as Bt,Tb as u,Xc as Rt,Yb as y,Z as yt,Zc as Lt,a as ge,ac as w,b as gt,ba as St,bc as s,cc as r,d as q,dc as p,ea as wt,ec as xe,fa as Pt,fc as Me,gb as Ft,ha as Je,hc as M,j as bt,jc as kt,je as R,ka as d,kc as f,lb as m,lc as It,mc as h,o as Ct,pe as Vt,t as he,ta as _,u as Q,ua as g,ub as C,vb as Dt,wb as Ce,wc as ve,xa as be,xb as Et,xc as l,yc as v,zc as z}from"./chunk-5L47ZUSK.js";var zn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-feature-admin"]],decls:1,vars:0,template:function(n,i){n&1&&p(0,"router-outlet")},dependencies:[$t],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var fi=(t,a)=>a.id;function hi(t,a){if(t&1&&(s(0,"mat-option",3),l(1),r()),t&2){let e=a.$implicit;u("value",e),m(),v(e.displayName)}}function _i(t,a){t&1&&S(0,hi,2,2,"mat-option",3,fi),t&2&&w(a.data)}var Qn=(()=>{class t{userFacade=d(_n);selected=N();label=_e("Usu\xE1rio");hint=_e("");control=new D("");constructor(){this.control.valueChanges.pipe(yt(" "),T(e=>typeof e=="string"),T(e=>e.length>0),se(),vt(400)).subscribe(e=>{this.userFacade.setFilter({displayName:e}),this.userFacade.load()})}displayFn(e){return e&&e.displayName?e.displayName:""}onOptionSelected(e){this.selected.emit(e),this.control.setValue("")}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-search-user"]],inputs:{label:[1,"label"],hint:[1,"hint"]},outputs:{selected:"selected"},decls:10,vars:8,consts:[["auto","matAutocomplete"],["matInput","",3,"formControl","matAutocomplete"],[3,"optionSelected","displayWith"],[3,"value"]],template:function(n,i){if(n&1){let o=M();s(0,"mat-form-field")(1,"mat-label"),l(2),r(),p(3,"input",1),s(4,"mat-hint"),l(5),r(),s(6,"mat-autocomplete",2,0),f("optionSelected",function(x){return _(o),g(i.onOptionSelected(x.option.value))}),b(8,_i,2,0),A(9,"async"),r()()}if(n&2){let o,c=ve(7);m(2),v(i.label()),m(),u("formControl",i.control)("matAutocomplete",c),m(2),v(i.hint()),m(),u("displayWith",i.displayFn),m(2),y((o=F(9,6,i.userFacade.response$))?8:-1,o)}},dependencies:[ee,Y,J,Wt,On,wn,jt,Pn,K,X,W,qt,le,me,R],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();function bi(t,a){}var Ci={bottomSheetState:Ut("state",[ot("void, hidden",it({transform:"translateY(100%)"})),ot("visible",it({transform:"translateY(0%)"})),at("visible => void, visible => hidden",nt([tt(`${lt.COMPLEX} ${mt.ACCELERATION_CURVE}`),st("@*",rt(),{optional:!0})])),at("void => visible",nt([tt(`${lt.EXITING} ${mt.DECELERATION_CURVE}`),st("@*",rt(),{optional:!0})]))])},xi=(()=>{class t extends Mn{_breakpointSubscription;_animationState="void";_animationStateChanged=new Ot;_destroyed;constructor(){super();let e=d(Ht);this._breakpointSubscription=e.observe([H.Medium,H.Large,H.XLarge]).subscribe(()=>{let n=this._elementRef.nativeElement.classList;n.toggle("mat-bottom-sheet-container-medium",e.isMatched(H.Medium)),n.toggle("mat-bottom-sheet-container-large",e.isMatched(H.Large)),n.toggle("mat-bottom-sheet-container-xlarge",e.isMatched(H.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(n,i){n&1&&It("@state.start",function(c){return i._onAnimationStart(c)})("@state.done",function(c){return i._onAnimationDone(c)}),n&2&&(kt("@state",i._animationState),Tt("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-label",i._config.ariaLabel))},features:[G],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,i){n&1&&b(0,bi,0,0,"ng-template",0)},dependencies:[en],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color, var(--mat-sys-surface-container-low));color:var(--mat-bottom-sheet-container-text-color, var(--mat-sys-on-surface));font-family:var(--mat-bottom-sheet-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-bottom-sheet-container-text-size, var(--mat-sys-body-large-size));line-height:var(--mat-bottom-sheet-container-text-line-height, var(--mat-sys-body-large-line-height));font-weight:var(--mat-bottom-sheet-container-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-bottom-sheet-container-text-tracking, var(--mat-sys-body-large-tracking))}@media(forced-colors: active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape, 28px);border-top-right-radius:var(--mat-bottom-sheet-container-shape, 28px)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Ci.bottomSheetState]}})}return t})(),pt=new Je("MatBottomSheetData"),dt=class{viewContainerRef;panelClass;direction;data=null;hasBackdrop=!0;backdropClass;disableClose=!1;ariaLabel=null;ariaModal=!0;closeOnNavigation=!0;autoFocus="dialog";restoreFocus=!0;scrollStrategy;height="";minHeight;maxHeight},de=class{_ref;get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}containerInstance;disableClose;_afterOpened=new bt;_result;_closeFallbackTimeout;constructor(a,e,n){this._ref=a,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(T(i=>i.phaseName==="done"&&i.toState==="visible"),O(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(T(i=>i.phaseName==="done"&&i.toState==="hidden"),O(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),a.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),xt(this.backdropClick(),this.keydownEvents().pipe(T(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!zt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(a){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(T(e=>e.phaseName==="start"),O(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=a,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},Mi=new Je("mat-bottom-sheet-default-options"),ut=(()=>{class t{_overlay=d(cn);_parentBottomSheet=d(t,{optional:!0,skipSelf:!0});_defaultOptions=d(Mi,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=d(vn);get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(){}open(e,n){let i=ge(ge({},this._defaultOptions||new dt),n),o;return this._dialog.open(e,gt(ge({},i),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:xi,scrollStrategy:i.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:o}),providers:(c,x,j)=>(o=new de(c,i,j),[{provide:de,useValue:o},{provide:pt,useValue:i.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ge=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Dt({type:t});static \u0275inj=Pt({providers:[ut],imports:[yn,ct,tn,ct]})}return t})();var Ze=(()=>{class t{ref=d(de);data=d(pt);close(e){this.ref.dismiss(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=Ce({type:t})}return t})();var $=class{sheet;constructor(a){this.sheet=a}open(a,e){return this.sheet.open(a,{data:e,autoFocus:!0,restoreFocus:!0,panelClass:"devmx-sheet"}).afterDismissed()}};function Gn(){return{provide:$,deps:[ut]}}var Zn=[ce(),Sn(),Gn()];var Wn=t=>ln(d(V),t.params);function yi(t,a){t&1&&(s(0,"th",15),l(1,"T\xEDtulo do album"),r())}function Si(t,a){if(t&1&&(s(0,"td",16),l(1),r()),t&2){let e=a.$implicit;m(),v(e.title)}}function wi(t,a){t&1&&(s(0,"th",15),l(1,"Criado por"),r())}function Pi(t,a){if(t&1&&(s(0,"td",16),l(1),r()),t&2){let e=a.$implicit;m(),v(e.owner.displayName)}}function Oi(t,a){t&1&&p(0,"th",15)}function Ai(t,a){if(t&1){let e=M();s(0,"td",16)(1,"button",17),f("click",function(){let i=_(e).$implicit,o=h(2);return g(o.openDelete(i))}),p(2,"devmx-icon",18),r()()}}function Fi(t,a){t&1&&p(0,"tr",19)}function Di(t,a){t&1&&p(0,"tr",20)}function Ei(t,a){if(t&1){let e=M();s(0,"table",5),xe(1,6),b(2,yi,2,0,"th",7)(3,Si,2,1,"td",8),Me(),xe(4,9),b(5,wi,2,0,"th",7)(6,Pi,2,1,"td",8),Me(),xe(7,10),b(8,Oi,1,0,"th",7)(9,Ai,3,0,"td",8),Me(),b(10,Fi,1,0,"tr",11)(11,Di,1,0,"tr",12),r(),s(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(i){_(e);let o=h();return g(o.onPageChange(i))}),r()()}if(t&2){let e=a,n=h();u("dataSource",e.data),m(10),u("matHeaderRowDef",n.columns),m(),u("matRowDefColumns",n.columns),m(2),u("size",10)("items",e.items)}}var Xn=(()=>{class t{router=d(Pe);route=d(Z);dialogFacade=d(qe);albumFacade=d(V);selectUser=d(Qe);#e=Qt(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(he(i=>i?i.id:"")),n=this.route.queryParams;Q([e,n]).pipe(se()).subscribe(this.onQueryParams)}onQueryParams=([e,n])=>{let{page:i=0,size:o=10}=n,c={title:"",owner:e};this.albumFacade.setParams({page:i,size:o,filter:c}),this.albumFacade.load()};openDelete({id:e,title:n}){this.dialogFacade.confirm(`Confirme que deseja apagar o album ${n}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.albumFacade.delete(e)})}openSelectUser(){this.selectUser.open({multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}onSearchChange(e=""){this.albumFacade.setFilter({title:e}),this.albumFacade.load()}onPageChange({page:e,size:n}){let i={page:e,size:n};this.router.navigate([],{queryParams:i})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-admin-manage-albums"]],decls:10,vars:4,consts:[[1,"albums-card"],[1,"albums-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(n,i){if(n&1&&(s(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),l(3,"Albuns"),r(),s(4,"div")(5,"button",2),f("click",function(){return i.openSelectUser()}),p(6,"devmx-icon",3),r(),s(7,"devmx-search-field",4),f("searchChange",function(c){return i.onSearchChange(c)}),r()()(),b(8,Ei,14,5),A(9,"async"),r()),n&2){let o;m(7),u("debounce",1e3),m(),y((o=F(9,2,i.albumFacade.response$))?8:-1,o)}},dependencies:[Oe,I,k,Fn,$e,Nn,Dn,Tn,Rn,kn,En,Ln,In,Bn,Vn,$n,je,Ne,ze,He,Ue,P,R],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .albums-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .albums-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .albums-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();function Kn(t){return L((a,e)=>{let n=new FileReader;n.onload=()=>{n.result instanceof ArrayBuffer&&a(n.result)},n.onerror=()=>{e(new Error("Falha ao ler ArrayBuffer"))},n.readAsArrayBuffer(t)})}function Yn(t){return"0x"+parseInt(`${t}`).toString(16)}function Jn(t){return L(a=>q(this,null,function*(){let e=t.slice(0,4),n=yield Kn(e),o=new DataView(n).getUint32(0,!1);switch(console.log(Yn(o)),o){case 2303741511:return a("image/png");case 1195984440:return a("image/gif");case 1380533830:return a("image/webp");case 1014199911:return a("image/svg+xml");case 4292411360:case 4292411361:case 4292411374:return a("image/jpeg");default:return a(null)}}))}var Xe=(()=>{class t{elRef=d(At);get el(){return this.elRef.nativeElement}accept=_e([]);enter=N();over=N();leave=N();files=N();onEnter(e){e instanceof DragEvent&&(e.preventDefault(),this.el.classList.add("drag-over"),this.enter.emit(e))}onOver(e){e instanceof DragEvent&&(e.preventDefault(),this.over.emit(e))}onLeave(e){e instanceof DragEvent&&(e.preventDefault(),this.el.classList.remove("drag-over"),this.leave.emit(e))}onDrop(e){return q(this,null,function*(){if(e instanceof DragEvent){e.preventDefault(),this.el.classList.remove("drag-over");let n=e.dataTransfer?.files;if(n&&n.length){let i=Array.from(n),o=[];for(let c of i){let x=yield Jn(c);x&&this.accept().includes(x)&&o.push(c)}this.files.emit(o)}}})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=Ce({type:t,selectors:[["","devmxDropZone",""]],hostBindings:function(n,i){n&1&&f("dragenter",function(c){return i.onEnter(c)})("dragover",function(c){return i.onOver(c)})("dragleave",function(c){return i.onLeave(c)})("drop",function(c){return i.onDrop(c)})},inputs:{accept:[1,"accept"]},outputs:{enter:"enter",over:"over",leave:"leave",files:"files"}})}return t})();var ei=(()=>{class t{transform(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(2)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Et({name:"fileSize",type:t,pure:!0})}return t})();function ti(t){return L((a,e)=>{let n=new FileReader;n.onload=()=>{typeof n.result=="string"&&a(n.result)},n.onerror=i=>{i instanceof Error?e(i):e(new Error("Falha ao carregar imagem"))},n.readAsDataURL(t)})}function ni(t,a=1280){return L((e,n)=>{ti(t).then(Un).then(i=>{let o=document.createElement("canvas");o.width=a;let c=a/i.width;o.height=i.height*c;let x=o.getContext("2d");if(!x)throw n(new Error("Context error"));x.drawImage(i,0,0,o.width,o.height);let j="image/webp";o.toBlob(B=>{if(B){let{width:ue,height:fe}=o,Ye=new File([B],t.name,{type:j});e(Object.assign(Ye,{width:ue,height:fe}))}},j)})})}var ft=class extends Ee{constructor(a){super({id:new D("",{nonNullable:!0}),data:new D("",{nonNullable:!0}),width:new D(0,{nonNullable:!0}),height:new D(0,{nonNullable:!0}),type:new D("image/webp",{nonNullable:!0})}),a&&this.patchValue(a)}},Ke=class extends Re{constructor(){super([])}add(a){this.push(new ft(a))}};var ht=class extends Re{constructor(){super([])}add(a){this.push(new An(a))}},pe=class extends Ee{constructor(){super({id:new D("",{nonNullable:!0}),title:new D("",{nonNullable:!0,validators:[Zt.required]}),contributors:new ht,photos:new Ke})}get contributors(){return this.controls.contributors}patch(a){if(this.patchValue(a),a.contributors&&a.contributors.length>0)for(let e of a.contributors)this.contributors.add(e)}};var Ti=(t,a)=>a.value;function ki(t,a){if(t&1){let e=M();s(0,"mat-list-item"),p(1,"devmx-icon",6),s(2,"span",7),l(3),r(),s(4,"button",8),f("click",function(){let i=_(e).$index,o=h();return g(o.form.contributors.removeAt(i))}),p(5,"devmx-icon",9),r()()}if(t&2){let e=a.$implicit;m(3),v(e.value.displayName)}}var oi=(()=>{class t extends Ze{form=new pe;cdr=d(Bt);selectUser=d(Qe);ngOnInit(){this.data&&this.form.patch(this.data)}selectContributors(){this.selectUser.open({multiple:!0}).pipe(O(1)).subscribe(n=>{if(n){for(let i of n)this.form.contributors.add(i);this.cdr.detectChanges()}})}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return console.log(e),this.close(e)}return this.form.markAllAsTouched()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=be(t)))(i||t)}})();static \u0275cmp=C({type:t,selectors:[["devmx-album-details"]],features:[Se([ce()]),G],decls:19,vars:1,consts:[[3,"submit","formGroup"],["matInput","","formControlName","title"],["formArrayName","contributors"],["mat-subheader",""],["type","button","mat-button","",3,"click"],["mat-flat-button",""],["matListItemIcon","","name","user-circle"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(n,i){n&1&&(s(0,"form",0),f("submit",function(){return i.onSubmit()}),s(1,"mat-form-field")(2,"mat-label"),l(3,"T\xEDtulo do album"),r(),p(4,"input",1),s(5,"mat-error"),l(6,"Obrigat\xF3rio"),r()(),s(7,"mat-list",2)(8,"p",3),l(9,"Contribuidores"),r(),S(10,ki,6,1,"mat-list-item",null,Ti),r(),s(12,"button",4),f("click",function(){return i.selectContributors()}),l(13," Permitir contribui\xE7\xE3o de outras pessoas "),r(),s(14,"footer")(15,"button",5),l(16,"Salvar"),r(),s(17,"button",4),f("click",function(){return i.close()}),l(18,"Fechar"),r()()()),n&2&&(u("formGroup",i.form),m(10),w(i.form.contributors.controls))},dependencies:[Ge,ee,Te,Y,J,De,ke,Be,Ie,K,X,W,Ae,I,re,k,le,me,ae,ie,oe,Le,Ve,te,ne,P],styles:["[_nghost-%COMP%]{display:flex;padding:1.5em 1em .5em;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{flex:1;gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin-top:1em;display:flex;flex-direction:row-reverse;justify-content:space-between}"],changeDetection:0})}return t})();var Ii=(t,a)=>a.value;function Bi(t,a){if(t&1){let e=M();s(0,"mat-list-item"),p(1,"devmx-icon",7),s(2,"span",8),l(3),r(),s(4,"button",9),f("click",function(){let i=_(e).$index,o=h();return g(o.form.contributors.removeAt(i))}),p(5,"devmx-icon",10),r()()}if(t&2){let e=a.$implicit;m(3),v(e.value.displayName)}}var ai=(()=>{class t extends Ze{form=new pe;ngOnInit(){this.data&&this.form.patch(this.data)}onContributorSelected(e){this.form.contributors.add(e)}onSubmit(){return this.form.valid?this.close(this.form.getRawValue()):this.form.markAllAsTouched()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=be(t)))(i||t)}})();static \u0275cmp=C({type:t,selectors:[["devmx-create-album"]],features:[Se([ce()]),G],decls:18,vars:1,consts:[[3,"submit","formGroup"],["matInput","","formControlName","title"],["formArrayName","contributors"],["mat-subheader",""],["label","Encontre um contribuidor","hint","Contribuidores tamb\xE9m podem editar o album",3,"selected"],["mat-flat-button",""],["type","button","mat-button","",3,"click"],["matListItemIcon","","name","user-circle"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(n,i){n&1&&(s(0,"form",0),f("submit",function(){return i.onSubmit()}),s(1,"mat-form-field")(2,"mat-label"),l(3,"T\xEDtulo do album"),r(),p(4,"input",1),s(5,"mat-error"),l(6,"Obrigat\xF3rio"),r()(),s(7,"mat-list",2)(8,"p",3),l(9,"Contribuidores"),r(),S(10,Bi,6,1,"mat-list-item",null,Ii),r(),s(12,"devmx-search-user",4),f("selected",function(c){return i.onContributorSelected(c)}),r(),s(13,"footer")(14,"button",5),l(15,"Salvar"),r(),s(16,"button",6),f("click",function(){return i.close()}),l(17,"Fechar"),r()()()),n&2&&(u("formGroup",i.form),m(10),w(i.form.contributors.controls))},dependencies:[Qn,Ge,ee,Te,Y,J,De,ke,Be,Ie,K,X,W,Ae,I,re,k,le,me,ae,ie,oe,Le,Ve,te,ne,P],styles:["[_nghost-%COMP%]{display:flex;padding:1.5em 1em .5em;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{flex:1;gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin-top:1em;display:flex;flex-direction:row-reverse;justify-content:space-between}"],changeDetection:0})}return t})();var Ri=(t,a)=>a.id,Li=()=>["image/jpeg","image/png","image/webp"];function Vi(t,a){if(t&1){let e=M();s(0,"devmx-album-card",3)(1,"a",6),p(2,"devmx-icon",7),r(),s(3,"button",8),f("click",function(){let i=_(e).$implicit,o=h(2);return g(o.deleteAlbum(i))}),p(4,"devmx-icon",9),r()()}if(t&2){let e=a.$implicit;u("data",e),m(),u("routerLink",e.id)}}function $i(t,a){t&1&&(s(0,"div",4)(1,"h2"),l(2,"N\xE3o temos nada aqui..."),r(),s(3,"h3"),l(4," Siga nessa dire\xE7\xE3o "),p(5,"devmx-icon",10)(6,"br"),l(7," at\xE9 encontrar o bot\xE3o com um "),p(8,"devmx-icon",11)(9,"br"),l(10," e cadastre suas fotos. "),p(11,"devmx-icon",12),r()()),t&2&&(m(5),u("size",32),m(3),u("size",32),m(3),u("size",32))}function Ni(t,a){if(t&1){let e=M();s(0,"div",2),f("files",function(i){_(e);let o=h();return g(o.onDropFiles(i))}),S(1,Vi,5,2,"devmx-album-card",3,Ri),r(),b(3,$i,12,3,"div",4),s(4,"footer")(5,"devmx-paginator",5),f("pageChange",function(i){_(e);let o=h();return g(o.onPageChange(i))}),r()()}if(t&2){let e=a;u("accept",we(4,Li)),m(),w(e.data),m(2),y(e.items?-1:3),m(2),u("size",10)("items",e.items)}}var ri=(()=>{class t{router=d(Pe);route=d(Z);dialogFacade=d(qe);sheetFacade=d($);authFacade=d(hn);albumFacade=d(V);constructor(){let e=this.authFacade.auth$.pipe(T(i=>!!i),he(({id:i})=>i)),n=this.route.queryParams.pipe(he(({page:i,size:o,title:c})=>({page:i,size:o,title:c})));Q([e,n]).pipe(se()).subscribe(this.onQueryParams)}onQueryParams=([e,n])=>{let{page:i,size:o,title:c}=n,x={title:c,owner:e};this.albumFacade.setParams({page:i,size:o,filter:x}),this.albumFacade.load()};onDropFiles(e){console.log(e)}createAlbum(){this.sheetFacade.open(ai).pipe(O(1)).subscribe(e=>{e&&this.albumFacade.create(e).pipe(O(1)).subscribe(i=>{this.router.navigate([i.id],{relativeTo:this.route})})})}deleteAlbum({id:e,title:n}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${n}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.albumFacade.delete(e)})}onPageChange({page:e,size:n}){let i={page:e,size:n};this.router.navigate([],{queryParams:i})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-admin-my-albums"]],decls:4,vars:3,consts:[["mat-fab","",1,"top","right","tertiary-fab",3,"click"],["name","plus"],["devmxDropZone","",1,"albums-container","drag-area",3,"files","accept"],[3,"data"],[1,"no-albums-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar album","matTooltipPosition","above",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar album","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(n,i){if(n&1&&(s(0,"button",0),f("click",function(){return i.createAlbum()}),p(1,"devmx-icon",1),r(),b(2,Ni,6,5),A(3,"async")),n&2){let o;m(2),y((o=F(3,1,i.albumFacade.response$))?2:-1,o)}},dependencies:[Oe,Nt,I,Jt,k,Yt,pn,dn,$e,Cn,Xe,P,R],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;flex-flow:row wrap;justify-content:flex-start;grid-template-columns:repeat(2,1fr)}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:50%}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (min-width: 1920px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:33%}}@media (max-width: 767px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{align-content:flex-start;grid-template-columns:1fr}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-flex;min-width:100%}}[_nghost-%COMP%] .add-button[_ngcontent-%COMP%]{position:fixed;right:4em;top:2em}"],changeDetection:0})}return t})();var Ui=(t,a)=>a.photo.name;function zi(t,a){if(t&1&&(s(0,"mat-list-item")(1,"span",2),l(2),A(3,"fileSize"),r(),s(4,"span",3),l(5),r(),p(6,"mat-progress-bar",4),r()),t&2){let e=a.$implicit;m(2),z(" ",F(3,3,e.photo.size)," "),m(3),z(" ",e.progress(),"% "),m(),u("value",e.progress())}}function Hi(t,a){t&1&&l(0," Preparando imagens ")}function ji(t,a){t&1&&l(0," Enviando imagens ")}function qi(t,a){if(t&1&&(s(0,"mat-list-item")(1,"span",2),b(2,Hi,1,0)(3,ji,1,0),r(),s(4,"span",3),l(5),r(),p(6,"mat-progress-bar",4),r()),t&2){let e=a;m(2),y(e<100?2:3),m(3),z(" ",e,"% "),m(),u("value",e)}}var si=(()=>{class t{queue=U([]);opened=U(!1);resizing=U(0);total=Rt(()=>this.queue().length);completed=U(0);constructor(){Lt(()=>{let{length:e}=this.queue().filter(({progress:n})=>n()>=90);this.completed.set(e)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-upload-queue"]],exportAs:["devmxUploadQueue"],decls:12,vars:5,consts:[[3,"expanded","hideToggle"],["name","arrow/chevron-down"],["matListItemTitle",""],["matListItemMeta",""],["mode","determinate",3,"value"]],template:function(n,i){if(n&1&&(s(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),l(3," Enviando "),r(),s(4,"mat-panel-description"),l(5),p(6,"devmx-icon",1),r()(),s(7,"section")(8,"mat-list"),S(9,zi,7,5,"mat-list-item",null,Ui),b(11,qi,7,3,"mat-list-item"),r()()()),n&2){let o;u("expanded",i.opened())("hideToggle",!0),m(5),ye(" ",i.completed()," de ",i.total()," "),m(4),w(i.queue()),m(2),y((o=i.resizing())?11:-1,o)}},dependencies:[Kt,Xt,sn,nn,on,rn,an,ae,ie,oe,te,ne,P,ei],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:18em;position:fixed;bottom:64px;right:12px}[_nghost-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .mat-expansion-panel-content .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;max-height:80vh;overflow:auto}"],changeDetection:0})}return t})();var mi=(t,a)=>a.id,Qi=()=>["image/jpeg","image/png","image/webp","image/svg+xml"];function Gi(t,a){if(t&1){let e=M();s(0,"figure"),p(1,"img",9),s(2,"figcaption"),l(3),r(),s(4,"mat-checkbox",10),f("change",function(i){let o=_(e).$implicit,c=h(2);return g(i?c.selection.toggle(o.id):null)}),r()()}if(t&2){let e=a.$implicit,n=h(2);m(),u("src",e.data,Ft)("alt",e.caption),m(2),v(e.caption),m(),u("checked",n.selection.isSelected(e.id))}}function Zi(t,a){if(t&1&&(s(0,"strong"),l(1),r()),t&2){let e=a.$implicit,n=a.$index,i=a.$count;m(),ye("",e.displayName,"",n===i-1?"":", ","")}}function Wi(t,a){if(t&1&&(s(0,"mat-card-content"),S(1,Zi,2,2,"strong",null,mi),l(3," tem permiss\xE3o para contribuir neste album. "),r()),t&2){let e=h();m(),w(e.contributors)}}function Xi(t,a){if(t&1){let e=M();s(0,"mat-card",1)(1,"mat-card-header",2)(2,"mat-card-title"),l(3),r(),s(4,"mat-card-subtitle"),l(5),A(6,"date"),r(),s(7,"button",3),f("click",function(){let i=_(e),o=h();return g(o.editAlbum(i))}),p(8,"devmx-icon",4),r()(),s(9,"mat-card-actions",5)(10,"mat-checkbox",6),f("change",function(i){let o=_(e),c=h();return g(i?c.toggleAll(o.photos,c.selection.selected):null)}),r(),s(11,"button",7),f("click",function(){let i=_(e),o=h();return g(o.deleteSelection(o.selection.selected,i.id))}),l(12),r()(),s(13,"mat-card-content",8),f("files",function(i){let o=_(e),c=ve(18),x=h();return g(x.onDrop(o.id,i,c))}),S(14,Gi,5,4,"figure",null,mi),r(),b(16,Wi,4,0,"mat-card-content"),r(),p(17,"devmx-upload-queue",null,0)}if(t&2){let e=a,n=h();m(3),v(e.title),m(2),z(" Criado dia ",F(6,8,e.createdAt)," "),m(5),u("indeterminate",n.selection.hasValue()&&!n.isAllSelected(e.photos,n.selection.selected))("checked",n.selection.hasValue()&&n.isAllSelected(e.photos,n.selection.selected)),m(),u("disabled",n.selection.selected.length===0),m(),z(" Remover ",n.selection.selected.length," foto(s) "),m(),u("accept",we(10,Qi)),m(),w(e.photos),m(2),y(e.contributors&&e.contributors.length>0?16:-1)}}var li=(()=>{class t{route=d(Z);albumFacade=d(V);photoFacade=d(mn);sheetFacade=d($);selection=new Gt(!0);onDrop(e,n,i){return q(this,null,function*(){let o=n.length*2,c=0;i.opened.set(!0);for(let B of n){c+=1,i.resizing.set(Fe(c,o));let ue=U(0),fe=yield ni(B,640);i.queue.set([...i.queue(),{photo:fe,progress:ue}]),c+=1,i.resizing.set(Fe(c,o))}let x=0,j=({photo:B,progress:ue})=>{let fe=({loaded:pi,total:ui,type:_t})=>{_t===et.UploadProgress&&ue.set(Fe(pi,ui??B.size)),_t===et.Response&&(x+=1,x>=i.total()&&this.albumFacade.loadOne(e))},{width:Ye,height:ci}=B,di={album:e,width:Ye,height:ci,photo:B};return this.photoFacade.upload(di).pipe(St(fe))};Ct(i.queue()).pipe(Mt(j)).subscribe()})}isAllSelected(e,n){return n.length===e.length}toggleAll(e,n){if(this.isAllSelected(e,n))return this.selection.clear();this.selection.select(...e.map(({id:i})=>i))}deleteSelection(e,n){Q(e.map(i=>(this.selection.deselect(i),this.photoFacade.delete(i)))).subscribe(()=>this.albumFacade.loadOne(n))}editAlbum(e){this.sheetFacade.open(oi,e).pipe(O(1)).subscribe(i=>{i&&this.albumFacade.update(i)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-admin-album"]],decls:2,vars:3,consts:[["uploadQueue","devmxUploadQueue"],[1,"album-card"],[1,"album-card-header"],["mat-icon-button","",3,"click"],["name","software/edit"],[1,"album-card-actions"],[1,"photo-checkbox",3,"change","indeterminate","checked"],["color","warn","type","button","mat-flat-button","",3,"click","disabled"],["devmxDropZone","",1,"album-card-content","drag-area",3,"files","accept"],[3,"src","alt"],[1,"photo-checkbox",3,"change","checked"]],template:function(n,i){if(n&1&&(b(0,Xi,19,11),A(1,"async")),n&2){let o;y((o=F(1,1,i.albumFacade.selected$))?0:-1,o)}},dependencies:[si,Xe,bn,gn,I,re,k,je,Ne,ze,un,He,fn,Ue,P,R,Vt],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]{gap:1em}[_nghost-%COMP%] .album-card-header[_ngcontent-%COMP%]{justify-content:space-between}[_nghost-%COMP%] .album-card-header[_ngcontent-%COMP%] .mat-mdc-card-header-text{flex:1;justify-self:flex-start}[_nghost-%COMP%] .album-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{gap:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{margin:0;box-sizing:border-box;border-radius:.4em;position:relative;overflow:hidden;background-color:#0000000a}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:flex;object-fit:cover;height:24em}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{display:flex;width:100%;padding:.4em;position:absolute;bottom:0;background-color:#0006;color:#fff9;z-index:100}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] .photo-checkbox[_ngcontent-%COMP%]{background-color:#fff;position:absolute;border-radius:50%;opacity:0;right:1em;top:-2em;transition:top .25s ease-in-out,opacity .25s ease-in-out}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]:hover .photo-checkbox[_ngcontent-%COMP%]{opacity:1;top:1em}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] .photo-checkbox.mat-mdc-checkbox-checked[_ngcontent-%COMP%]{opacity:1;top:1em}[_nghost-%COMP%] .album-card-content.drag-area[_ngcontent-%COMP%]{min-height:32em;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:background-image .6s ease-in-out}[_nghost-%COMP%] .album-card-content.drag-area.drag-over[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff6;background-image:url(/figures/drop-photos.svg);background-position:center center;background-repeat:no-repeat}"],changeDetection:0})}return t})();var Os=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Zn,component:zn,children:[{path:"meus-albuns/:id",data:{breadcrumb:t=>t.album.title},title:"Meu album",resolve:{album:Wn},component:li},{path:"meus-albuns",data:{breadcrumb:"Meus albuns"},title:"Meus albuns",component:ri},{path:"gerenciar-albuns",data:{breadcrumb:"Gerenciar albuns"},title:"Gerenciar albuns",canActivate:[xn("director","manager","staff")],component:Xn},{path:"",pathMatch:"prefix",redirectTo:"meus-albuns"}]}];export{zn as AlbumFeatureAdminComponent,Os as albumFeatureAdminRoutes}; diff --git a/chunk-WK53HQNR.js b/chunk-B7ATSCPT.js similarity index 78% rename from chunk-WK53HQNR.js rename to chunk-B7ATSCPT.js index 8d14c49d..c351295a 100644 --- a/chunk-WK53HQNR.js +++ b/chunk-B7ATSCPT.js @@ -1 +1 @@ -import{xb as t}from"./chunk-TEKHUYWQ.js";var a=(()=>{class e{transform(r){switch(r){case"hybrid":return"H\xEDbrido";case"office":return"Presencial";case"remote":return"Remoto"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=t({name:"jobMode",type:e,pure:!0})}return e})();export{a}; +import{xb as t}from"./chunk-5L47ZUSK.js";var a=(()=>{class e{transform(r){switch(r){case"hybrid":return"H\xEDbrido";case"office":return"Presencial";case"remote":return"Remoto"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=t({name:"jobMode",type:e,pure:!0})}return e})();export{a}; diff --git a/chunk-TQRFHWEI.js b/chunk-BET5XOG5.js similarity index 86% rename from chunk-TQRFHWEI.js rename to chunk-BET5XOG5.js index 8dd42cc4..bba70b0c 100644 --- a/chunk-TQRFHWEI.js +++ b/chunk-BET5XOG5.js @@ -1 +1 @@ -import{a as ye}from"./chunk-XUKBPA5N.js";import{a as ve,b as Me}from"./chunk-MEIYYXQK.js";import{a as ae}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import{a as R}from"./chunk-Q33OVU5J.js";import{a as S,e as se}from"./chunk-6P3MPDKA.js";import{b as re}from"./chunk-WKFJTKSD.js";import{a as I}from"./chunk-ZHS65JNW.js";import{c as ce}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-MLNPCJDD.js";import"./chunk-UOTKRQ63.js";import"./chunk-2IAXMR6M.js";import"./chunk-XIUDFJWJ.js";import{a as xe}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import{c as me,e as le,f as de}from"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as y}from"./chunk-A3N3AUUJ.js";import{g as O,i as w,j as b,p as x,r as ne,w as ie,x as oe}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as K,b as X,e as Y,f as Z,g as ee,l as te}from"./chunk-PAP2P7QR.js";import{a as pe,b as ue,c as fe,e as Ce,f as _e,h as he,i as ge}from"./chunk-EC6LD5KM.js";import{a as J}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as P,Ba as U,F as B,Ha as V,Hc as M,Jc as C,Kc as _,Nb as u,Ob as E,Pb as N,Rb as Q,Tb as c,Yb as h,a as k,ac as D,bc as i,cc as o,dc as s,fb as T,gb as q,hc as G,je as W,ka as m,kc as v,lb as r,mc as f,t as $,ta as z,ua as H,ub as p,xc as l,yc as F,zc as A}from"./chunk-TEKHUYWQ.js";var Pe=(()=>{class e{router=m(w);destroyRef=m(U);authFacade=m(xe);layoutFacade=m(re);constructor(){this.authFacade.auth$.pipe(y()).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(y(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,d){n&1&&s(0,"devmx-layout")},dependencies:[x,ae],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Se=(e,a)=>a.subject.id;function Le(e,a){if(e&1&&l(0),e&2){let t=f().$implicit;A(" com ",t.instructor," ")}}function ke(e,a){if(e&1&&(i(0,"mat-list-item"),s(1,"devmx-icon",11),i(2,"span",8),l(3),o(),i(4,"span",12),l(5),u(6,Le,1,1),o()()),e&2){let t=a.$implicit;r(3),F(t.subject.name),r(2),A("",t.hours," horas "),r(),h(t.instructor?6:-1)}}function Te(e,a){if(e&1&&(i(0,"mat-card-content")(1,"h3"),l(2,"Detalhes"),o(),s(3,"div",9),C(4,"markdown"),C(5,"html"),o()),e&2){let t=f();r(3),c("innerHTML",_(5,3,_(4,1,t.details)),T)}}function Ee(e,a){if(e&1&&(i(0,"mat-card-actions",10)(1,"a",13),s(2,"devmx-icon",14),i(3,"span"),l(4,"Inscreva-se"),o()()()),e&2){let t=f();r(),c("href",t.link,q)}}function Ae(e,a){if(e&1&&(i(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),o(),i(4,"mat-card-title",4),l(5),o(),i(6,"a",5),s(7,"devmx-icon",6),o()(),i(8,"mat-list")(9,"mat-list-item"),s(10,"devmx-icon",7),i(11,"span",8),l(12),o()()(),i(13,"mat-card-content")(14,"h3"),l(15,"Objetivo"),o(),s(16,"div",9),C(17,"markdown"),C(18,"html"),o(),i(19,"mat-list"),P(20,ke,7,3,"mat-list-item",null,Se),o(),u(22,Te,6,5,"mat-card-content")(23,Ee,5,1,"mat-card-actions",10),o()),e&2){let t=a;r(5),F(t.name),r(7),F(t.institution.name),r(4),c("innerHTML",_(18,7,_(17,5,t.goal)),T),r(4),D(t.subjects),r(2),h(t.details?22:-1),r(),h(t.link?23:-1)}}var De=(()=>{class e{route=m(O);course$=this.route.data.pipe(B(t=>"course"in t),$(t=>t.course));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-course-details"]],decls:2,vars:3,consts:[[1,"course-card"],[1,"course-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"course-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["matListItemIcon","","name","building/school"],["matListItemTitle",""],[3,"innerHTML"],[1,"course-card-actions"],["matListItemIcon","","name","arrow/chevron-right"],["matListItemLine",""],["target","_blank","rel","noopener noreferrer","mat-stroked-button","",3,"href"],["name","external-link"]],template:function(n,d){if(n&1&&(u(0,Ae,24,9,"mat-card",0),C(1,"async")),n&2){let g;h((g=_(1,1,d.course$))?0:-1,g)}},dependencies:[x,b,ge,pe,Ce,he,fe,_e,ue,te,Z,ee,Y,X,K,oe,ne,ie,J,ve,Me,W],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]{height:100%;box-shadow:none;position:relative}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:1.2em}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .course-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .course-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .course-card-actions[_ngcontent-%COMP%] .mdc-button__label{gap:.6em;display:flex;align-items:center}"],changeDetection:0})}return e})();var Fe=(()=>{class e{filterChange=V();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-course-ead-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:1,consts:[[3,"change"],[3,"value"]],template:function(n,d){n&1&&(i(0,"mat-chip-listbox",0),v("change",function(L){return d.filterChange.emit(L.value)}),i(1,"mat-chip-option",1),l(2," EAD "),o()()),n&2&&(r(),c("value",!0))},dependencies:[de,le,me],encapsulation:2,changeDetection:0})}return e})();var Ie=(e,a)=>a.id,Re=()=>[ce,I,import("./chunk-QQ3DFMVY.js").then(e=>e.AsyncPipe)],je=()=>[ye,b],$e=e=>[e],Be=e=>({right:e}),ze=e=>({outlets:e}),He=e=>["/","academia",e];function Ue(e,a){if(e&1&&(i(0,"a",4),s(1,"devmx-course-card",5),o()),e&2){let t=f().$implicit;c("routerLink",M(8,He,M(6,ze,M(4,Be,M(2,$e,t.id))))),r(),c("data",t)}}function Ve(e,a){e&1&&s(0,"devmx-skeleton",6),e&2&&c("rows",3)}function qe(e,a){e&1&&(u(0,Ue,2,10)(1,Ve,1,1),E(2,0,je,null,1),Q(0,-1))}function Ne(e,a){if(e&1){let t=G();i(0,"div",1),P(1,qe,4,0,null,null,Ie),o(),s(3,"div",2),i(4,"footer")(5,"devmx-paginator",3),v("pageChange",function(d){z(t);let g=f(2);return H(g.onPageChange(d))}),o()()}if(e&2){let t=a;r(),D(t.data),r(4),c("size",10)("items",t.items)}}function Qe(e,a){if(e&1&&(u(0,Ne,6,2),C(1,"async")),e&2){let t,n=f();h((t=_(1,1,n.courseFacade.response$))?0:-1,t)}}function Ge(e,a){e&1&&(i(0,"div",1),s(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),o()),e&2&&(r(),c("rows",3),r(),c("rows",2),r(),c("rows",3))}var Oe=(()=>{class e{courseFacade=m(S);router=m(w);route=m(O);constructor(){this.route.queryParams.pipe(y()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:d=10}=t;this.courseFacade.setParams({page:n,size:d}),this.courseFacade.load()};onEADFilterChange(t){let n=this.mergeParams({ead:t});this.router.navigate([],{queryParams:n})}mergeParams(t){return k(k({},this.route.snapshot.queryParams),t)}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-courses"]],decls:6,vars:0,consts:[[3,"filterChange"],[1,"courses-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(n,d){n&1&&(i(0,"header")(1,"devmx-course-ead-filter",0),v("filterChange",function(L){return d.onEADFilterChange(L)}),o()(),u(2,Qe,2,3)(3,Ge,4,3),E(4,2,Re,null,3),N(500))},dependencies:[Fe,I,x],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var we=e=>se(m(S),e.params);var Qt=[{path:"",data:{breadcrumb:"Academia"},title:"Academia",canActivate:[R("member")],component:Pe,children:[{path:"administracao",canActivate:[R("academic","director","manager","staff")],loadChildren:()=>import("./chunk-SVV7FRLS.js").then(e=>e.academyFeatureAdminRoutes)},{path:"",data:{breadcrumb:"Cursos"},title:"Cursos",component:Oe},{path:":id",data:{breadcrumb:e=>e.course.name},resolve:{course:we},component:De,outlet:"right"}]}];export{Pe as AcademyFeatureShellComponent,Qt as academyFeatureShellRoutes}; +import{a as ye}from"./chunk-3ICSMDPT.js";import{a as ve,b as Me}from"./chunk-F7SWVKKK.js";import{a as ae}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import{a as R}from"./chunk-Z63MF55O.js";import{a as S,e as se}from"./chunk-XCFSI5KM.js";import{b as re}from"./chunk-RN4QN3AM.js";import{a as I}from"./chunk-EM27EDGS.js";import{c as ce}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-4OXAFH6K.js";import"./chunk-OQLD3BC6.js";import"./chunk-SBPBG2DZ.js";import"./chunk-XIUDFJWJ.js";import{a as xe}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import{c as me,e as le,f as de}from"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as y}from"./chunk-366DNJGU.js";import{g as O,i as w,j as b,p as x,r as ne,w as ie,x as oe}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as K,b as X,e as Y,f as Z,g as ee,l as te}from"./chunk-UANEMOTZ.js";import{a as pe,b as ue,c as fe,e as Ce,f as _e,h as he,i as ge}from"./chunk-BJ2ND26O.js";import{a as J}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as P,Ba as U,F as B,Ha as V,Hc as M,Jc as C,Kc as _,Nb as u,Ob as E,Pb as N,Rb as Q,Tb as c,Yb as h,a as k,ac as D,bc as i,cc as o,dc as s,fb as T,gb as q,hc as G,je as W,ka as m,kc as v,lb as r,mc as f,t as $,ta as z,ua as H,ub as p,xc as l,yc as F,zc as A}from"./chunk-5L47ZUSK.js";var Pe=(()=>{class e{router=m(w);destroyRef=m(U);authFacade=m(xe);layoutFacade=m(re);constructor(){this.authFacade.auth$.pipe(y()).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(y(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,d){n&1&&s(0,"devmx-layout")},dependencies:[x,ae],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Se=(e,a)=>a.subject.id;function Le(e,a){if(e&1&&l(0),e&2){let t=f().$implicit;A(" com ",t.instructor," ")}}function ke(e,a){if(e&1&&(i(0,"mat-list-item"),s(1,"devmx-icon",11),i(2,"span",8),l(3),o(),i(4,"span",12),l(5),u(6,Le,1,1),o()()),e&2){let t=a.$implicit;r(3),F(t.subject.name),r(2),A("",t.hours," horas "),r(),h(t.instructor?6:-1)}}function Te(e,a){if(e&1&&(i(0,"mat-card-content")(1,"h3"),l(2,"Detalhes"),o(),s(3,"div",9),C(4,"markdown"),C(5,"html"),o()),e&2){let t=f();r(3),c("innerHTML",_(5,3,_(4,1,t.details)),T)}}function Ee(e,a){if(e&1&&(i(0,"mat-card-actions",10)(1,"a",13),s(2,"devmx-icon",14),i(3,"span"),l(4,"Inscreva-se"),o()()()),e&2){let t=f();r(),c("href",t.link,q)}}function Ae(e,a){if(e&1&&(i(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),o(),i(4,"mat-card-title",4),l(5),o(),i(6,"a",5),s(7,"devmx-icon",6),o()(),i(8,"mat-list")(9,"mat-list-item"),s(10,"devmx-icon",7),i(11,"span",8),l(12),o()()(),i(13,"mat-card-content")(14,"h3"),l(15,"Objetivo"),o(),s(16,"div",9),C(17,"markdown"),C(18,"html"),o(),i(19,"mat-list"),P(20,ke,7,3,"mat-list-item",null,Se),o(),u(22,Te,6,5,"mat-card-content")(23,Ee,5,1,"mat-card-actions",10),o()),e&2){let t=a;r(5),F(t.name),r(7),F(t.institution.name),r(4),c("innerHTML",_(18,7,_(17,5,t.goal)),T),r(4),D(t.subjects),r(2),h(t.details?22:-1),r(),h(t.link?23:-1)}}var De=(()=>{class e{route=m(O);course$=this.route.data.pipe(B(t=>"course"in t),$(t=>t.course));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-course-details"]],decls:2,vars:3,consts:[[1,"course-card"],[1,"course-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"course-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["matListItemIcon","","name","building/school"],["matListItemTitle",""],[3,"innerHTML"],[1,"course-card-actions"],["matListItemIcon","","name","arrow/chevron-right"],["matListItemLine",""],["target","_blank","rel","noopener noreferrer","mat-stroked-button","",3,"href"],["name","external-link"]],template:function(n,d){if(n&1&&(u(0,Ae,24,9,"mat-card",0),C(1,"async")),n&2){let g;h((g=_(1,1,d.course$))?0:-1,g)}},dependencies:[x,b,ge,pe,Ce,he,fe,_e,ue,te,Z,ee,Y,X,K,oe,ne,ie,J,ve,Me,W],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%]{height:100%;box-shadow:none;position:relative}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:1.2em}[_nghost-%COMP%] .course-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .course-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .course-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .course-card-actions[_ngcontent-%COMP%] .mdc-button__label{gap:.6em;display:flex;align-items:center}"],changeDetection:0})}return e})();var Fe=(()=>{class e{filterChange=V();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-course-ead-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:1,consts:[[3,"change"],[3,"value"]],template:function(n,d){n&1&&(i(0,"mat-chip-listbox",0),v("change",function(L){return d.filterChange.emit(L.value)}),i(1,"mat-chip-option",1),l(2," EAD "),o()()),n&2&&(r(),c("value",!0))},dependencies:[de,le,me],encapsulation:2,changeDetection:0})}return e})();var Ie=(e,a)=>a.id,Re=()=>[ce,I,import("./chunk-NAKSAAO7.js").then(e=>e.AsyncPipe)],je=()=>[ye,b],$e=e=>[e],Be=e=>({right:e}),ze=e=>({outlets:e}),He=e=>["/","academia",e];function Ue(e,a){if(e&1&&(i(0,"a",4),s(1,"devmx-course-card",5),o()),e&2){let t=f().$implicit;c("routerLink",M(8,He,M(6,ze,M(4,Be,M(2,$e,t.id))))),r(),c("data",t)}}function Ve(e,a){e&1&&s(0,"devmx-skeleton",6),e&2&&c("rows",3)}function qe(e,a){e&1&&(u(0,Ue,2,10)(1,Ve,1,1),E(2,0,je,null,1),Q(0,-1))}function Ne(e,a){if(e&1){let t=G();i(0,"div",1),P(1,qe,4,0,null,null,Ie),o(),s(3,"div",2),i(4,"footer")(5,"devmx-paginator",3),v("pageChange",function(d){z(t);let g=f(2);return H(g.onPageChange(d))}),o()()}if(e&2){let t=a;r(),D(t.data),r(4),c("size",10)("items",t.items)}}function Qe(e,a){if(e&1&&(u(0,Ne,6,2),C(1,"async")),e&2){let t,n=f();h((t=_(1,1,n.courseFacade.response$))?0:-1,t)}}function Ge(e,a){e&1&&(i(0,"div",1),s(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),o()),e&2&&(r(),c("rows",3),r(),c("rows",2),r(),c("rows",3))}var Oe=(()=>{class e{courseFacade=m(S);router=m(w);route=m(O);constructor(){this.route.queryParams.pipe(y()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:d=10}=t;this.courseFacade.setParams({page:n,size:d}),this.courseFacade.load()};onEADFilterChange(t){let n=this.mergeParams({ead:t});this.router.navigate([],{queryParams:n})}mergeParams(t){return k(k({},this.route.snapshot.queryParams),t)}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-courses"]],decls:6,vars:0,consts:[[3,"filterChange"],[1,"courses-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(n,d){n&1&&(i(0,"header")(1,"devmx-course-ead-filter",0),v("filterChange",function(L){return d.onEADFilterChange(L)}),o()(),u(2,Qe,2,3)(3,Ge,4,3),E(4,2,Re,null,3),N(500))},dependencies:[Fe,I,x],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var we=e=>se(m(S),e.params);var Qt=[{path:"",data:{breadcrumb:"Academia"},title:"Academia",canActivate:[R("member")],component:Pe,children:[{path:"administracao",canActivate:[R("academic","director","manager","staff")],loadChildren:()=>import("./chunk-ECERSGDL.js").then(e=>e.academyFeatureAdminRoutes)},{path:"",data:{breadcrumb:"Cursos"},title:"Cursos",component:Oe},{path:":id",data:{breadcrumb:e=>e.course.name},resolve:{course:we},component:De,outlet:"right"}]}];export{Pe as AcademyFeatureShellComponent,Qt as academyFeatureShellRoutes}; diff --git a/chunk-EC6LD5KM.js b/chunk-BJ2ND26O.js similarity index 98% rename from chunk-EC6LD5KM.js rename to chunk-BJ2ND26O.js index d92433e3..18a90111 100644 --- a/chunk-EC6LD5KM.js +++ b/chunk-BJ2ND26O.js @@ -1,3 +1,3 @@ -import{Y as o}from"./chunk-W5KNOAKV.js";import{Vb as n,bc as p,cc as f,fa as s,ha as l,ka as g,nc as m,oc as i,ub as c,vb as u,wb as r}from"./chunk-TEKHUYWQ.js";var v=["*"];var h=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],y=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, +import{_ as o}from"./chunk-CG5OOKZO.js";import{Vb as n,bc as p,cc as f,fa as s,ha as l,ka as g,nc as m,oc as i,ub as c,vb as u,wb as r}from"./chunk-5L47ZUSK.js";var v=["*"];var h=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],y=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, [mat-card-title], [mat-card-subtitle], [matCardTitle], [matCardSubtitle]`,"*"],b=new l("MAT_CARD_CONFIG"),j=(()=>{class t{appearance;constructor(){let e=g(b,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=c({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,d){a&2&&n("mat-mdc-card-outlined",d.appearance==="outlined")("mdc-card--outlined",d.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:v,decls:1,vars:0,template:function(a,d){a&1&&(m(),i(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return t})(),S=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var k=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),T=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),z=(()=>{class t{align="start";static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(a,d){a&2&&n("mat-mdc-card-actions-align-end",d.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),L=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275cmp=c({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:y,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(a,d){a&1&&(m(h),i(0),p(1,"div",0),i(2,1),f(),i(3,2))},encapsulation:2,changeDetection:0})}return t})();var E=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]})}return t})();var B=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=r({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return t})();var G=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=u({type:t});static \u0275inj=s({imports:[o,o]})}return t})();export{j as a,S as b,k as c,T as d,z as e,L as f,E as g,B as h,G as i}; diff --git a/chunk-Q2N7RZTH.js b/chunk-BJPVFIKR.js similarity index 97% rename from chunk-Q2N7RZTH.js rename to chunk-BJPVFIKR.js index e134ac13..3613994d 100644 --- a/chunk-Q2N7RZTH.js +++ b/chunk-BJPVFIKR.js @@ -1 +1 @@ -import{k as J,l as X,m as D,o as b,r as ee}from"./chunk-AND6K73U.js";import{a as v,b as $,c as K,f as g,g as C}from"./chunk-BJXILAOS.js";import{K as z,L as Y,Q as q,S as Z,T as U,U as y,f as Q,n as m,s as W}from"./chunk-W5KNOAKV.js";import{Fa as F,Ja as I,Kb as P,Nb as M,Sb as j,Sc as H,Va as L,Z as E,a as d,ea as T,ed as V,fa as w,ha as _,j as f,ka as s,ob as R,p as O,qc as x,rc as N,sc as G,ub as S,vb as B,y as k,za as h}from"./chunk-TEKHUYWQ.js";function ie(a,r){}var c=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var oe=(()=>{class a extends K{_elementRef=s(I);_focusTrapFactory=s(Y);_config;_interactivityChecker=s(z);_ngZone=s(F);_overlayRef=s(D);_focusMonitor=s(q);_platform=s(Q);_document=s(V,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=s(H);_injector=s(h);_isDestroyed=!1;constructor(){super(),this._config=s(c,{optional:!0})||new c,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{e.removeEventListener("blur",i),e.removeEventListener("mousedown",i),e.removeAttribute("tabindex")};e.addEventListener("blur",i),e.addEventListener("mousedown",i)})),e.focus(t)}_focusByCssSelector(e,t){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,t)}_trapFocus(){this._isDestroyed||L(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let i=m(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=m();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=m()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=S({type:a,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(t&1&&x(g,7),t&2){let o;N(o=G())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){t&2&&j("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[P],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){t&1&&M(0,ie,0,0,"ng-template",0)},dependencies:[g],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return a})(),u=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new f;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(r,e){this.overlayRef=r,this.config=e,this.disableClose=e.disableClose,this.backdropClick=r.backdropClick(),this.keydownEvents=r.keydownEvents(),this.outsidePointerEvents=r.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!W(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=r.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(r,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(r),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(r="",e=""){return this.overlayRef.updateSize({width:r,height:e}),this}addPanelClass(r){return this.overlayRef.addPanelClass(r),this}removePanelClass(r){return this.overlayRef.removePanelClass(r),this}},ne=new _("DialogScrollStrategy",{providedIn:"root",factory:()=>{let a=s(b);return()=>a.scrollStrategies.block()}}),ae=new _("DialogData"),se=new _("DefaultDialogConfig");var re=(()=>{class a{_overlay=s(b);_injector=s(h);_defaultOptions=s(se,{optional:!0});_parentDialog=s(a,{optional:!0,skipSelf:!0});_overlayContainer=s(X);_idGenerator=s(U);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new f;_afterOpenedAtThisLevel=new f;_ariaHiddenElements=new Map;_scrollStrategy=s(ne);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=k(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(E(void 0)));constructor(){}open(e,t){let i=this._defaultOptions||new c;t=d(d({},i),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),l=this._overlay.create(o),n=new u(l,t),p=this._attachContainer(l,n,t);return n.containerInstance=p,this._attachDialogContent(e,n,p,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(n),n.closed.subscribe(()=>this._removeOpenDialog(n,!0)),this.afterOpened.next(n),n}closeAll(){A(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){A(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),A(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new J({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,i){let o=i.injector||i.viewContainerRef?.injector,l=[{provide:c,useValue:i},{provide:u,useValue:t},{provide:D,useValue:e}],n;i.container?typeof i.container=="function"?n=i.container:(n=i.container.type,l.push(...i.container.providers(i))):n=oe;let p=new v(n,i.viewContainerRef,h.create({parent:o||this._injector,providers:l}));return e.attach(p).instance}_attachDialogContent(e,t,i,o){if(e instanceof R){let l=this._createInjector(o,t,i,void 0),n={$implicit:o.data,dialogRef:t};o.templateContext&&(n=d(d({},n),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new $(e,null,n,l))}else{let l=this._createInjector(o,t,i,this._injector),n=i.attachComponentPortal(new v(e,o.viewContainerRef,l));t.componentRef=n,t.componentInstance=n.instance}}_createInjector(e,t,i,o){let l=e.injector||e.viewContainerRef?.injector,n=[{provide:ae,useValue:e.data},{provide:u,useValue:t}];return e.providers&&(typeof e.providers=="function"?n.push(...e.providers(t,e,i)):n.push(...e.providers)),e.direction&&(!l||!l.get(y,null,{optional:!0}))&&n.push({provide:y,useValue:{value:e.direction,change:O()}}),h.create({parent:l||o,providers:n})}_removeOpenDialog(e,t){let i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let o=t[i];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||a)};static \u0275prov=T({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function A(a,r){let e=a.length;for(;e--;)r(a[e])}var Ee=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=B({type:a});static \u0275inj=w({providers:[re],imports:[ee,C,Z,C]})}return a})();export{c as a,oe as b,u as c,ae as d,re as e,Ee as f}; +import{k as J,l as X,m as D,o as b,r as ee}from"./chunk-TJJFEYFG.js";import{a as v,b as $,c as K,f as g,g as C}from"./chunk-76QZXEBP.js";import{M as z,N as Y,S as q,U as Z,V as U,W as y,h as Q,p as m,u as W}from"./chunk-CG5OOKZO.js";import{Fa as F,Ja as I,Kb as P,Nb as M,Sb as j,Sc as H,Va as L,Z as E,a as d,ea as T,ed as V,fa as w,ha as _,j as f,ka as s,ob as R,p as O,qc as x,rc as N,sc as G,ub as S,vb as B,y as k,za as h}from"./chunk-5L47ZUSK.js";function ie(a,r){}var c=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var oe=(()=>{class a extends K{_elementRef=s(I);_focusTrapFactory=s(Y);_config;_interactivityChecker=s(z);_ngZone=s(F);_overlayRef=s(D);_focusMonitor=s(q);_platform=s(Q);_document=s(V,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=s(H);_injector=s(h);_isDestroyed=!1;constructor(){super(),this._config=s(c,{optional:!0})||new c,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{e.removeEventListener("blur",i),e.removeEventListener("mousedown",i),e.removeAttribute("tabindex")};e.addEventListener("blur",i),e.addEventListener("mousedown",i)})),e.focus(t)}_focusByCssSelector(e,t){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,t)}_trapFocus(){this._isDestroyed||L(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let i=m(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=m();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=m()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=S({type:a,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(t&1&&x(g,7),t&2){let o;N(o=G())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){t&2&&j("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[P],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){t&1&&M(0,ie,0,0,"ng-template",0)},dependencies:[g],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return a})(),u=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new f;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(r,e){this.overlayRef=r,this.config=e,this.disableClose=e.disableClose,this.backdropClick=r.backdropClick(),this.keydownEvents=r.keydownEvents(),this.outsidePointerEvents=r.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!W(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=r.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(r,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(r),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(r="",e=""){return this.overlayRef.updateSize({width:r,height:e}),this}addPanelClass(r){return this.overlayRef.addPanelClass(r),this}removePanelClass(r){return this.overlayRef.removePanelClass(r),this}},ne=new _("DialogScrollStrategy",{providedIn:"root",factory:()=>{let a=s(b);return()=>a.scrollStrategies.block()}}),ae=new _("DialogData"),se=new _("DefaultDialogConfig");var re=(()=>{class a{_overlay=s(b);_injector=s(h);_defaultOptions=s(se,{optional:!0});_parentDialog=s(a,{optional:!0,skipSelf:!0});_overlayContainer=s(X);_idGenerator=s(U);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new f;_afterOpenedAtThisLevel=new f;_ariaHiddenElements=new Map;_scrollStrategy=s(ne);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=k(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(E(void 0)));constructor(){}open(e,t){let i=this._defaultOptions||new c;t=d(d({},i),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),l=this._overlay.create(o),n=new u(l,t),p=this._attachContainer(l,n,t);return n.containerInstance=p,this._attachDialogContent(e,n,p,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(n),n.closed.subscribe(()=>this._removeOpenDialog(n,!0)),this.afterOpened.next(n),n}closeAll(){A(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){A(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),A(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new J({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,i){let o=i.injector||i.viewContainerRef?.injector,l=[{provide:c,useValue:i},{provide:u,useValue:t},{provide:D,useValue:e}],n;i.container?typeof i.container=="function"?n=i.container:(n=i.container.type,l.push(...i.container.providers(i))):n=oe;let p=new v(n,i.viewContainerRef,h.create({parent:o||this._injector,providers:l}));return e.attach(p).instance}_attachDialogContent(e,t,i,o){if(e instanceof R){let l=this._createInjector(o,t,i,void 0),n={$implicit:o.data,dialogRef:t};o.templateContext&&(n=d(d({},n),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new $(e,null,n,l))}else{let l=this._createInjector(o,t,i,this._injector),n=i.attachComponentPortal(new v(e,o.viewContainerRef,l));t.componentRef=n,t.componentInstance=n.instance}}_createInjector(e,t,i,o){let l=e.injector||e.viewContainerRef?.injector,n=[{provide:ae,useValue:e.data},{provide:u,useValue:t}];return e.providers&&(typeof e.providers=="function"?n.push(...e.providers(t,e,i)):n.push(...e.providers)),e.direction&&(!l||!l.get(y,null,{optional:!0}))&&n.push({provide:y,useValue:{value:e.direction,change:O()}}),h.create({parent:l||o,providers:n})}_removeOpenDialog(e,t){let i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let o=t[i];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||a)};static \u0275prov=T({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function A(a,r){let e=a.length;for(;e--;)r(a[e])}var Ee=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=B({type:a});static \u0275inj=w({providers:[re],imports:[ee,C,Z,C]})}return a})();export{c as a,oe as b,u as c,ae as d,re as e,Ee as f}; diff --git a/chunk-YGTSZDQ5.js b/chunk-BN44ELXF.js similarity index 91% rename from chunk-YGTSZDQ5.js rename to chunk-BN44ELXF.js index 8978b1f2..6c47f3f5 100644 --- a/chunk-YGTSZDQ5.js +++ b/chunk-BN44ELXF.js @@ -1 +1 @@ -import{a as m,c as M,d as C}from"./chunk-ZTWYID37.js";import{B as g,C as d}from"./chunk-W5KNOAKV.js";import{Ba as c,Fb as p,bc as a,cc as s,ka as o,nc as h,oc as l,ub as r}from"./chunk-TEKHUYWQ.js";var x=[[["mat-toolbar"]],[["router-outlet"]]],_=["mat-toolbar","router-outlet"],w=(()=>{class t{destroyRef=o(c);isMobile=p(!1);media=o(d);constructor(){let n=this.media.matchMedia("(max-width: 600px)"),e=i=>{this.isMobile.set(i.matches)};n.addEventListener("change",e),this.destroyRef.onDestroy(()=>{n.removeEventListener("change",e)})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=r({type:t,selectors:[["devmx-app-shell"]],ngContentSelectors:_,decls:6,vars:0,consts:[[1,"app-shell-container"],[1,"sidenav-content"],[1,"app-shell-scroll-wrapper"],[1,"app-shell-content"]],template:function(e,i){e&1&&(h(x),a(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),l(2),a(3,"div",2)(4,"div",3),l(5,1),s()()()())},dependencies:[C,M,m,g],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-height:100vh;align-items:center}[_nghost-%COMP%] .mat-toolbar.mat-primary[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1}[_nghost-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{flex:1;margin:1em;display:flex;flex-direction:column;max-width:1280px;width:calc(100% - 2em);height:100%;overflow:auto;border-radius:16px;box-sizing:border-box}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;height:100%;overflow-y:auto;box-sizing:border-box}@media (pointer: fine){[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent;width:8px}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px}}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 32px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%] .app-shell-content[_ngcontent-%COMP%]{max-height:calc(100vh - 32px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .app-shell-scroll-wrapper[_ngcontent-%COMP%]{max-height:calc(100dvh - 64px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .app-shell-scroll-wrapper[_ngcontent-%COMP%] .app-shell-content[_ngcontent-%COMP%]{max-height:calc(100vh - 96px)}@media (max-width: 959.98px){[_nghost-%COMP%] mat-app-shell-content[_ngcontent-%COMP%]{padding-right:8px;padding-left:8px}[_nghost-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 32px)}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]{overflow-y:visible}}"],changeDetection:0})}return t})();export{w as a}; +import{a as m,c as M,d as C}from"./chunk-HEUAONWX.js";import{D as g,E as d}from"./chunk-CG5OOKZO.js";import{Ba as c,Fb as p,bc as a,cc as s,ka as o,nc as h,oc as l,ub as r}from"./chunk-5L47ZUSK.js";var x=[[["mat-toolbar"]],[["router-outlet"]]],_=["mat-toolbar","router-outlet"],w=(()=>{class t{destroyRef=o(c);isMobile=p(!1);media=o(d);constructor(){let n=this.media.matchMedia("(max-width: 600px)"),e=i=>{this.isMobile.set(i.matches)};n.addEventListener("change",e),this.destroyRef.onDestroy(()=>{n.removeEventListener("change",e)})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=r({type:t,selectors:[["devmx-app-shell"]],ngContentSelectors:_,decls:6,vars:0,consts:[[1,"app-shell-container"],[1,"sidenav-content"],[1,"app-shell-scroll-wrapper"],[1,"app-shell-content"]],template:function(e,i){e&1&&(h(x),a(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),l(2),a(3,"div",2)(4,"div",3),l(5,1),s()()()())},dependencies:[C,M,m,g],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-height:100vh;align-items:center}[_nghost-%COMP%] .mat-toolbar.mat-primary[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1}[_nghost-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{flex:1;margin:1em;display:flex;flex-direction:column;max-width:1280px;width:calc(100% - 2em);height:100%;overflow:auto;border-radius:16px;box-sizing:border-box}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;height:100%;overflow-y:auto;box-sizing:border-box}@media (pointer: fine){[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent;width:8px}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px}}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 32px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%] .app-shell-content[_ngcontent-%COMP%]{max-height:calc(100vh - 32px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .app-shell-scroll-wrapper[_ngcontent-%COMP%]{max-height:calc(100dvh - 64px)}[_nghost-%COMP%] .app-shell-container[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .app-shell-scroll-wrapper[_ngcontent-%COMP%] .app-shell-content[_ngcontent-%COMP%]{max-height:calc(100vh - 96px)}@media (max-width: 959.98px){[_nghost-%COMP%] mat-app-shell-content[_ngcontent-%COMP%]{padding-right:8px;padding-left:8px}[_nghost-%COMP%] .app-shell-scroll-wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 32px)}[_nghost-%COMP%] .app-shell-content[_ngcontent-%COMP%]{overflow-y:visible}}"],changeDetection:0})}return t})();export{w as a}; diff --git a/chunk-JNB3NYAZ.js b/chunk-C7FIZGKV.js similarity index 96% rename from chunk-JNB3NYAZ.js rename to chunk-C7FIZGKV.js index d1207836..3e76619c 100644 --- a/chunk-JNB3NYAZ.js +++ b/chunk-C7FIZGKV.js @@ -1 +1 @@ -import{A as P,a as u,b as m,c as v,d as C,f as o,u as U}from"./chunk-XYJHVZQT.js";import{F as f}from"./chunk-TEKHUYWQ.js";var r=class extends u{};var s=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.create(e)}};var n=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.delete(e)}};var i=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.findOne(e)}};var a=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.find(e)}};var p=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.update(e.id,e)}};var x=class extends P{createPresentationUseCase;findPresentationsUseCase;findPresentationByIDUseCase;updatePresentationUseCase;deletePresentationUseCase;constructor(e,c,D,B,I){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",format:""}},selected:null}),this.createPresentationUseCase=e,this.findPresentationsUseCase=c,this.findPresentationByIDUseCase=D,this.updatePresentationUseCase=B,this.deletePresentationUseCase=I}load(){this.onLoad(this.findPresentationsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findPresentationByIDUseCase.execute(e))}create(e){this.onCreate(this.createPresentationUseCase.execute(e))}update(e){this.onUpdate(this.updatePresentationUseCase.execute(e))}delete(e){this.onDelete(this.deletePresentationUseCase.execute(e))}};function l(){return C(x,[s,a,i,p,n])}function h(){return[l()]}var d=class extends U{};function S(){return{provide:r,useFactory(t,e){return new d(t,e,"presentations")},deps:[v,m]}}function F(){return[S()]}function O(){return o(s,[r])}function E(){return o(a,[r])}function H(){return o(i,[r])}function g(){return o(p,[r])}function L(){return o(n,[r])}function y(){return[O(),E(),H(),g(),L()]}function Ie(){return[...F(),...y(),...h()]}var He=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(f(c=>!!c)));export{x as a,Ie as b,He as c}; +import{A as P,a as u,b as m,c as v,d as C,f as o,u as U}from"./chunk-7BKB7KKA.js";import{F as f}from"./chunk-5L47ZUSK.js";var r=class extends u{};var s=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.create(e)}};var n=class{eventService;constructor(e){this.eventService=e}execute(e){return this.eventService.delete(e)}};var i=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.findOne(e)}};var a=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.find(e)}};var p=class{presentationService;constructor(e){this.presentationService=e}execute(e){return this.presentationService.update(e.id,e)}};var x=class extends P{createPresentationUseCase;findPresentationsUseCase;findPresentationByIDUseCase;updatePresentationUseCase;deletePresentationUseCase;constructor(e,c,D,B,I){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",format:""}},selected:null}),this.createPresentationUseCase=e,this.findPresentationsUseCase=c,this.findPresentationByIDUseCase=D,this.updatePresentationUseCase=B,this.deletePresentationUseCase=I}load(){this.onLoad(this.findPresentationsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findPresentationByIDUseCase.execute(e))}create(e){this.onCreate(this.createPresentationUseCase.execute(e))}update(e){this.onUpdate(this.updatePresentationUseCase.execute(e))}delete(e){this.onDelete(this.deletePresentationUseCase.execute(e))}};function l(){return C(x,[s,a,i,p,n])}function h(){return[l()]}var d=class extends U{};function S(){return{provide:r,useFactory(t,e){return new d(t,e,"presentations")},deps:[v,m]}}function F(){return[S()]}function O(){return o(s,[r])}function E(){return o(a,[r])}function H(){return o(i,[r])}function g(){return o(p,[r])}function L(){return o(n,[r])}function y(){return[O(),E(),H(),g(),L()]}function Ie(){return[...F(),...y(),...h()]}var He=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(f(c=>!!c)));export{x as a,Ie as b,He as c}; diff --git a/chunk-W5KNOAKV.js b/chunk-CG5OOKZO.js similarity index 99% rename from chunk-W5KNOAKV.js rename to chunk-CG5OOKZO.js index 93b99c5e..5192e008 100644 --- a/chunk-W5KNOAKV.js +++ b/chunk-CG5OOKZO.js @@ -1,2 +1,2 @@ -import{$ as ye,Be as dn,Da as Gt,Db as Qe,Ea as S,F as q,Fa as T,Fb as Xt,Ge as ln,I as St,J as ee,Ja as R,Ka as Xe,L as Ye,Ma as Je,Mb as te,Nb as He,O as jt,Oa as Ee,P as Ut,Pa as Ie,Qa as Yt,Qc as sn,Sb as qe,Sc as rn,Tb as Te,Va as Zt,Vb as le,Vc as Y,Xd as cn,Y as be,Yb as we,Z as Bt,Zc as on,_ as Vt,_c as an,a as y,b as Rt,ba as Ze,bc as et,ca as zt,cc as tt,d as Ge,dc as Ae,e as Ot,ea as u,ed as w,fa as E,g as $,ha as _,i as Nt,ic as Jt,j as v,ja as P,k as Ct,ka as a,kc as Qt,lb as ce,mc as De,na as Wt,nc as nt,o as Ft,oc as Me,p as H,pa as ve,qa as Kt,qc as Ht,rc as qt,sa as $t,sc as en,t as A,u as Lt,ub as j,vb as I,wb as U,x as Pt,xc as tn,za as G,zb as de,zc as nn}from"./chunk-TEKHUYWQ.js";var he=class{},xe=class{},C=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` -`).forEach(e=>{let n=e.indexOf(":");if(n>0){let s=e.slice(0,n),r=e.slice(n+1).trim();this.addHeaderEntry(s,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let s=(i.op==="a"?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(d=>r.indexOf(d)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(r=>r.toString()),s=i.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(i,s)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var st=class{encodeKey(i){return un(i)}encodeValue(i){return un(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function ei(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{let r=s.indexOf("="),[o,d]=r==-1?[i.decodeKey(s),""]:[i.decodeKey(s.slice(0,r)),i.decodeValue(s.slice(r+1))],c=e.get(o)||[];c.push(d),e.set(o,c)}),e}var ti=/%(\d[a-f0-9])/gi,ni={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function un(t){return encodeURIComponent(t).replace(ti,(i,e)=>ni[e]??i)}function ke(t){return`${t}`}var V=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new st,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ei(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],s=Array.isArray(n)?n.map(ke):[ke(n)];this.map.set(e,s)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let s=i[n];Array.isArray(s)?s.forEach(r=>{e.push({param:n,value:r,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(ke(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],s=n.indexOf(ke(i.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var rt=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function ii(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hn(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function mn(t){return typeof Blob<"u"&&t instanceof Blob}function fn(t){return typeof FormData<"u"&&t instanceof FormData}function si(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ue=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,s){this.url=e,this.method=i.toUpperCase();let r;if(ii(this.method)||s?(this.body=n!==void 0?n:null,r=s):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new C,this.context??=new rt,!this.params)this.params=new V,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let d=e.indexOf("?"),c=d===-1?"?":dO.set(p,i.setHeaders[p]),m)),i.setParams&&(l=Object.keys(i.setParams).reduce((O,p)=>O.set(p,i.setParams[p]),l)),new t(e,n,o,{params:l,headers:m,context:g,reportProgress:c,responseType:s,withCredentials:d,transferCache:r})}},z=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(z||{}),me=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new C,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Re=class t extends me{constructor(i={}){super(i)}type=z.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},fe=class t extends me{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=z.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},B=class extends me{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},bn=200,ri=204;function it(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var oi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,s={}){let r;if(e instanceof ue)r=e;else{let c;s.headers instanceof C?c=s.headers:c=new C(s.headers);let m;s.params&&(s.params instanceof V?m=s.params:m=new V({fromObject:s.params})),r=new ue(e,n,s.body!==void 0?s.body:null,{headers:c,context:s.context,params:m,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let o=H(r).pipe(St(c=>this.handler.handle(c)));if(e instanceof ue||s.observe==="events")return o;let d=o.pipe(q(c=>c instanceof fe));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return d.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return d.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return d.pipe(A(c=>c.body))}case"response":return d;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new V().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,s={}){return this.request("PATCH",e,it(s,n))}post(e,n,s={}){return this.request("POST",e,it(s,n))}put(e,n,s={}){return this.request("PUT",e,it(s,n))}static \u0275fac=function(n){return new(n||t)(P(he))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),ai=/^\)\]\}',?\n/,ci="X-Request-URL";function pn(t){if(t.url)return t.url;let i=ci.toLocaleLowerCase();return t.headers.get(i)}var di=(()=>{class t{fetchImpl=a(ot,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=a(T);handle(e){return new $(n=>{let s=new AbortController;return this.doRequest(e,s.signal,n).then(at,r=>n.error(new B({error:r}))),()=>s.abort()})}doRequest(e,n,s){return Ge(this,null,function*(){let r=this.createRequestInit(e),o;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,y({signal:n},r)));li(p),s.next({type:z.Sent}),o=yield p}catch(p){s.error(new B({error:p,status:p.status??0,statusText:p.statusText,url:e.urlWithParams,headers:p.headers}));return}let d=new C(o.headers),c=o.statusText,m=pn(o)??e.urlWithParams,l=o.status,g=null;if(e.reportProgress&&s.next(new Re({headers:d,status:l,statusText:c,url:m})),o.body){let p=o.headers.get("content-length"),N=[],h=o.body.getReader(),f=0,k,x,b=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ge(this,null,function*(){for(;;){let{done:K,value:ae}=yield h.read();if(K)break;if(N.push(ae),f+=ae.length,e.reportProgress){x=e.responseType==="text"?(x??"")+(k??=new TextDecoder).decode(ae,{stream:!0}):void 0;let xt=()=>s.next({type:z.DownloadProgress,total:p?+p:void 0,loaded:f,partialText:x});b?b.run(xt):xt()}}}));let oe=this.concatChunks(N,f);try{let K=o.headers.get("Content-Type")??"";g=this.parseBody(e,oe,K)}catch(K){s.error(new B({error:K,headers:new C(o.headers),status:o.status,statusText:o.statusText,url:pn(o)??e.urlWithParams}));return}}l===0&&(l=g?bn:0),l>=200&&l<300?(s.next(new fe({body:g,headers:d,status:l,statusText:c,url:m})),s.complete()):s.error(new B({error:g,headers:d,status:l,statusText:c,url:m}))})}parseBody(e,n,s){switch(e.responseType){case"json":let r=new TextDecoder().decode(n).replace(ai,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:s});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},s=e.withCredentials?"include":void 0;if(e.headers.forEach((r,o)=>n[r]=o.join(",")),e.headers.has("Accept")||(n.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(n["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:s}}concatChunks(e,n){let s=new Uint8Array(n),r=0;for(let o of e)s.set(o,r),r+=o.length;return s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),ot=class{};function at(){}function li(t){t.then(at,at)}function ui(t,i){return i(t)}function hi(t,i,e){return(n,s)=>Kt(e,()=>i(n,r=>t(r,s)))}var ct=new _(""),mi=new _(""),fi=new _("",{providedIn:"root",factory:()=>!0});var _n=(()=>{class t extends he{backend;injector;chain=null;pendingTasks=a(Gt);contributeToStability=a(fi);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ct),...this.injector.get(mi,[])]));this.chain=n.reduceRight((s,r)=>hi(s,r,this.injector),ui)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(Ut(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(P(xe),P(ve))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();var pi=/^\)\]\}',?\n/;function _i(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var gn=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new zt(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Ft(n.\u0275loadImpl()):H(null)).pipe(Vt(()=>new $(r=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((h,f)=>o.setRequestHeader(h,f.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let h=e.detectContentTypeHeader();h!==null&&o.setRequestHeader("Content-Type",h)}if(e.responseType){let h=e.responseType.toLowerCase();o.responseType=h!=="json"?h:"text"}let d=e.serializeBody(),c=null,m=()=>{if(c!==null)return c;let h=o.statusText||"OK",f=new C(o.getAllResponseHeaders()),k=_i(o)||e.url;return c=new Re({headers:f,status:o.status,statusText:h,url:k}),c},l=()=>{let{headers:h,status:f,statusText:k,url:x}=m(),b=null;f!==ri&&(b=typeof o.response>"u"?o.responseText:o.response),f===0&&(f=b?bn:0);let oe=f>=200&&f<300;if(e.responseType==="json"&&typeof b=="string"){let K=b;b=b.replace(pi,"");try{b=b!==""?JSON.parse(b):null}catch(ae){b=K,oe&&(oe=!1,b={error:ae,text:b})}}oe?(r.next(new fe({body:b,headers:h,status:f,statusText:k,url:x||void 0})),r.complete()):r.error(new B({error:b,headers:h,status:f,statusText:k,url:x||void 0}))},g=h=>{let{url:f}=m(),k=new B({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:f||void 0});r.error(k)},O=!1,p=h=>{O||(r.next(m()),O=!0);let f={type:z.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),e.responseType==="text"&&o.responseText&&(f.partialText=o.responseText),r.next(f)},N=h=>{let f={type:z.UploadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),r.next(f)};return o.addEventListener("load",l),o.addEventListener("error",g),o.addEventListener("timeout",g),o.addEventListener("abort",g),e.reportProgress&&(o.addEventListener("progress",p),d!==null&&o.upload&&o.upload.addEventListener("progress",N)),o.send(d),r.next({type:z.Sent}),()=>{o.removeEventListener("error",g),o.removeEventListener("abort",g),o.removeEventListener("load",l),o.removeEventListener("timeout",g),e.reportProgress&&(o.removeEventListener("progress",p),d!==null&&o.upload&&o.upload.removeEventListener("progress",N)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(P(ln))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),yn=new _(""),gi="XSRF-TOKEN",bi=new _("",{providedIn:"root",factory:()=>gi}),yi="X-XSRF-TOKEN",vi=new _("",{providedIn:"root",factory:()=>yi}),Oe=class{},Ei=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n,s){this.doc=e,this.platform=n,this.cookieName=s}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=cn(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(P(w),P(Ee),P(bi))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();function Ii(t,i){let e=t.url.toLowerCase();if(!a(yn)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=a(Oe).getToken(),s=a(vi);return n!=null&&!t.headers.has(s)&&(t=t.clone({headers:t.headers.set(s,n)})),i(t)}var vn=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(vn||{});function Ti(t,i){return{\u0275kind:t,\u0275providers:i}}function pr(...t){let i=[oi,gn,_n,{provide:he,useExisting:_n},{provide:xe,useFactory:()=>a(di,{optional:!0})??a(gn)},{provide:ct,useValue:Ii,multi:!0},{provide:yn,useValue:!0},{provide:Oe,useClass:Ei}];for(let e of t)i.push(...e.\u0275providers);return Wt(i)}function _r(t){return Ti(vn.Interceptors,t.map(i=>({provide:ct,useValue:i,multi:!0})))}var lt;try{lt=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lt=!1}var D=(()=>{class t{_platformId=a(Ee);isBrowser=this._platformId?dn(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||lt)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})(),ne,En=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wr(){if(ne)return ne;if(typeof document!="object"||!document)return ne=new Set(En),ne;let t=document.createElement("input");return ne=new Set(En.filter(i=>(t.setAttribute("type",i),t.type===i))),ne}var pe;function wi(){if(pe==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>pe=!0}))}finally{pe=pe||!1}return pe}function ie(t){return wi()?t:!!t.capture}var _e=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(_e||{}),Ne,Z;function Ar(){if(Z==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Z=!1,Z;if("scrollBehavior"in document.documentElement.style)Z=!0;else{let t=Element.prototype.scrollTo;t?Z=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Z=!1}}return Z}function Dr(){if(typeof document!="object"||!document)return _e.NORMAL;if(Ne==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Ne=_e.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ne=t.scrollLeft===0?_e.NEGATED:_e.INVERTED),t.remove()}return Ne}var dt;function Ai(){if(dt==null){let t=typeof document<"u"?document.head:null;dt=!!(t&&(t.createShadowRoot||t.attachShadow))}return dt}function In(t){if(Ai()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Tn(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function F(t){return t.composedPath?t.composedPath()[0]:t.target}function Mr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ce=new WeakMap,X=(()=>{class t{_appRef;_injector=a(G);_environmentInjector=a(ve);load(e){let n=this._appRef=this._appRef||this._injector.get(Qe),s=Ce.get(n);s||(s={loaders:new Set,refs:[]},Ce.set(n,s),n.onDestroy(()=>{Ce.get(n)?.refs.forEach(r=>r.destroy()),Ce.delete(n)})),s.loaders.has(e)||(s.loaders.add(e),s.refs.push(an(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ge=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,s){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return t})();function Fe(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Sr(t){return t!=null&&`${t}`!="false"}function wn(t,i=0){return Di(t)?Number(t):arguments.length===2?i:0}function Di(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ut(t){return Array.isArray(t)?t:[t]}function jr(t){return t==null?"":typeof t=="string"?t:`${t}px`}function L(t){return t instanceof R?t.nativeElement:t}function Ur(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let s of n){let r=`${s}`.trim();r&&e.push(r)}}return e}function Mi(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dn=(()=>{class t{_mutationObserverFactory=a(An);_observedElements=new Map;_ngZone=a(T);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=L(e);return new $(s=>{let o=this._observeElement(n).pipe(A(d=>d.filter(c=>!Mi(c))),q(d=>!!d.length)).subscribe(d=>{this._ngZone.run(()=>{s.next(d)})});return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new v,s=this._mutationObserverFactory.create(r=>n.next(r));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:s}=this._observedElements.get(e);n&&n.disconnect(),s.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jr=(()=>{class t{_contentObserver=a(Dn);_elementRef=a(R);event=new S;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=wn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ee(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Y],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[te]})}return t})(),Mn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({providers:[An]})}return t})();var ro=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})(),kn=new Set,J,ki=(()=>{class t{_platform=a(D);_nonce=a(Yt,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ri}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&xi(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xi(t,i){if(!kn.has(t))try{J||(J=document.createElement("style"),i&&J.setAttribute("nonce",i),J.setAttribute("type","text/css"),document.head.appendChild(J)),J.sheet&&(J.sheet.insertRule(`@media ${t} {body{ }}`,0),kn.add(t))}catch(e){console.error(e)}}function Ri(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Rn=(()=>{class t{_mediaMatcher=a(ki);_zone=a(T);_queries=new Map;_destroySubject=new v;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xn(ut(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let s=xn(ut(e)).map(o=>this._registerQuery(o).observable),r=Lt(s);return r=Pt(r.pipe(Ye(1)),r.pipe(be(1),ee(0))),r.pipe(A(o=>{let d={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:m})=>{d.matches=d.matches||c,d.breakpoints[m]=c}),d}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),r={observable:new $(o=>{let d=c=>this._zone.run(()=>o.next(c));return n.addListener(d),()=>{n.removeListener(d)}}).pipe(Bt(n),A(({matches:o})=>({query:e,matches:o})),ye(this._destroySubject)),mql:n};return this._queries.set(e,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xn(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var oo={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Sn=" ";function Ji(t,i,e){let n=je(t,i);e=e.trim(),!n.some(s=>s.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(Sn)))}function Qi(t,i,e){let n=je(t,i);e=e.trim();let s=n.filter(r=>r!==e);s.length?t.setAttribute(i,s.join(Sn)):t.removeAttribute(i)}function je(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var jn="cdk-describedby-message",Le="cdk-describedby-host",pt=0,wo=(()=>{class t{_platform=a(D);_document=a(w);_messageRegistry=new Map;_messagesContainer=null;_id=`${pt++}`;constructor(){a(X).load(ge),this._id=a(Je)+"-"+pt++}describe(e,n,s){if(!this._canBeDescribed(e,n))return;let r=ht(n,s);typeof n!="string"?(On(n,this._id),this._messageRegistry.set(r,{messageElement:n,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(n,s),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,n,s){if(!n||!this._isElementNode(e))return;let r=ht(n,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof n=="string"){let o=this._messageRegistry.get(r);o&&o.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Le}="${this._id}"]`);for(let n=0;ns.indexOf(jn)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let s=this._messageRegistry.get(n);Ji(e,"aria-describedby",s.messageElement.id),e.setAttribute(Le,this._id),s.referenceCount++}_removeMessageReference(e,n){let s=this._messageRegistry.get(n);s.referenceCount--,Qi(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Le)}_isElementDescribedByMessage(e,n){let s=je(e,"aria-describedby"),r=this._messageRegistry.get(n),o=r&&r.messageElement.id;return!!o&&s.indexOf(o)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let s=n==null?"":`${n}`.trim(),r=e.getAttribute("aria-label");return s?!r||r.trim()!==s:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ht(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function On(t,i){t.id||(t.id=`${jn}-${i}-${pt++}`)}var Hi=200,_t=class{_letterKeyStream=new v;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new v;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:Hi;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ze(e=>this._pressedLetters.push(e)),ee(i),q(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;ni.disabled;constructor(i,e){this._items=i,i instanceof Xe?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):de(i)&&(this._effectRef=on(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new v;change=new v;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new _t(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}}},Nn=class extends Ue{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}},Cn=class extends Ue{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var qi=(()=>{class t{_platform=a(D);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return ts(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=es(ds(e));if(n&&(Fn(n)===-1||!this.isVisible(n)))return!1;let s=e.nodeName.toLowerCase(),r=Fn(e);return e.hasAttribute("contenteditable")?r!==-1:s==="iframe"||s==="object"||this._platform.WEBKIT&&this._platform.IOS&&!as(e)?!1:s==="audio"?e.hasAttribute("controls")?r!==-1:!1:s==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return cs(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function es(t){try{return t.frameElement}catch{return null}}function ts(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ns(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function is(t){return rs(t)&&t.type=="hidden"}function ss(t){return os(t)&&t.hasAttribute("href")}function rs(t){return t.nodeName.toLowerCase()=="input"}function os(t){return t.nodeName.toLowerCase()=="a"}function Un(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function Fn(t){if(!Un(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function as(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function cs(t){return is(t)?!1:ns(t)||ss(t)||t.hasAttribute("contenteditable")||Un(t)}function ds(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var gt=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,s,r=!1,o){this._element=i,this._checker=e,this._ngZone=n,this._document=s,this._injector=o,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let s=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(s)return s}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?Zt(i,{injector:this._injector}):setTimeout(i)}},ls=(()=>{class t{_checker=a(qi);_ngZone=a(T);_document=a(w);_injector=a(G);constructor(){a(X).load(ge)}create(e,n=!1){return new gt(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ao=(()=>{class t{_elementRef=a(R);_focusTrapFactory=a(ls);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){a(D).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Tn(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Y],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Y]},exportAs:["cdkTrapFocus"],features:[te,$t]})}return t})();function bt(t){return t.buttons===0||t.detail===0}function yt(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var us=new _("cdk-input-modality-detector-options"),hs={ignoreKeys:[18,17,224,91,16]},Bn=650,se=ie({passive:!0,capture:!0}),ms=(()=>{class t{_platform=a(D);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ct(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=F(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(yt(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=F(e)};constructor(){let e=a(T),n=a(w),s=a(us,{optional:!0});this._options=y(y({},hs),s),this.modalityDetected=this._modality.pipe(be(1)),this.modalityChanged=this.modalityDetected.pipe(jt()),this._platform.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,se),n.addEventListener("mousedown",this._onMousedown,se),n.addEventListener("touchstart",this._onTouchstart,se)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,se),document.removeEventListener("mousedown",this._onMousedown,se),document.removeEventListener("touchstart",this._onTouchstart,se))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fs=new _("liveAnnouncerElement",{providedIn:"root",factory:ps});function ps(){return null}var _s=new _("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gs=0,Do=(()=>{class t{_ngZone=a(T);_defaultOptions=a(_s,{optional:!0});_liveElement;_document=a(w);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=a(fs,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let s=this._defaultOptions,r,o;return n.length===1&&typeof n[0]=="number"?o=n[0]:[r,o]=n,this.clear(),clearTimeout(this._previousTimeout),r||(r=s&&s.politeness?s.politeness:"polite"),o==null&&s&&(o=s.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(d=>this._currentResolve=d)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{class t{_ngZone=a(T);_platform=a(D);_inputModalityDetector=a(ms);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=a(w,{optional:!0});_stopInputModalityDetector=new v;constructor(){let e=a(bs,{optional:!0});this._detectionMode=e?.detectionMode||Se.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=F(e);for(let s=n;s;s=s.parentElement)e.type==="focus"?this._onFocus(e,s):this._onBlur(e,s)};monitor(e,n=!1){let s=L(e);if(!this._platform.isBrowser||s.nodeType!==1)return H();let r=In(s)||this._getDocument(),o=this._elementInfo.get(s);if(o)return n&&(o.checkChildren=!0),o.subject;let d={checkChildren:n,subject:new v,rootNode:r};return this._elementInfo.set(s,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(e){let n=L(e),s=this._elementInfo.get(n);s&&(s.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(s))}focusVia(e,n,s){let r=L(e),o=this._getDocument().activeElement;r===o?this._getClosestElementsInfo(r).forEach(([d,c])=>this._originChanged(d,n,c)):(this._setOrigin(n),typeof r.focus=="function"&&r.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Se.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Se.IMMEDIATE){clearTimeout(this._originTimeoutId);let s=this._originFromTouchInteraction?Bn:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(e,n){let s=this._elementInfo.get(n),r=F(e);!s||!s.checkChildren&&n!==r||this._originChanged(n,this._getFocusOrigin(r),s)}_onBlur(e,n){let s=this._elementInfo.get(n);!s||s.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(s,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,s=this._rootNodeFocusListenerCount.get(n)||0;s||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pe)}),this._rootNodeFocusListenerCount.set(n,s+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ye(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let s=this._rootNodeFocusListenerCount.get(n);s>1?this._rootNodeFocusListenerCount.set(n,s-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pe),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,s){this._setClasses(e,n),this._emitOrigin(s,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((s,r)=>{(r===e||s.checkChildren&&r.contains(e))&&n.push([r,s])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:s}=this._inputModalityDetector;if(s!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let o=0;o{class t{_elementRef=a(R);_focusMonitor=a(ys);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new S;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})(),Q=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Q||{}),Ln="cdk-high-contrast-black-on-white",Pn="cdk-high-contrast-white-on-black",mt="cdk-high-contrast-active",vt=(()=>{class t{_platform=a(D);_hasCheckedHighContrastMode;_document=a(w);_breakpointSubscription;constructor(){this._breakpointSubscription=a(Rn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Q.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,s=n&&n.getComputedStyle?n.getComputedStyle(e):null,r=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Q.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Q.BLACK_ON_WHITE}return Q.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(mt,Ln,Pn),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Q.BLACK_ON_WHITE?e.add(mt,Ln):n===Q.WHITE_ON_BLACK&&e.add(mt,Pn)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ko=(()=>{class t{constructor(){a(vt)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Mn]})}return t})(),ft={},Vn=(()=>{class t{_appId=a(Je);getId(e){return this._appId!=="ng"&&(e+=this._appId),ft.hasOwnProperty(e)||(ft[e]=0),`${e}${ft[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Es=new _("cdk-dir-doc",{providedIn:"root",factory:Is});function Is(){return a(w)}var Ts=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ws(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?Ts.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var jo=(()=>{class t{value="ltr";change=new S;constructor(){let e=a(Es,{optional:!0});if(e){let n=e.body?e.body.dir:null,s=e.documentElement?e.documentElement.dir:null;this.value=ws(n||s||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Et=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})();var Ms=["text"],ks=[[["mat-icon"]],"*"],xs=["mat-icon","*"];function Rs(t,i){if(t&1&&Ae(0,"mat-pseudo-checkbox",1),t&2){let e=De();Te("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Os(t,i){if(t&1&&Ae(0,"mat-pseudo-checkbox",3),t&2){let e=De();Te("disabled",e.disabled)}}function Ns(t,i){if(t&1&&(et(0,"span",4),tn(1),tt()),t&2){let e=De();ce(),nn("(",e.group.label,")")}}var Cs=["mat-internal-form-field",""],Fs=["*"];var ra=(()=>{class t{static STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return t})(),oa=(()=>{class t{static COMPLEX="375ms";static ENTERING="225ms";static EXITING="195ms"}return t})();var Ve=(()=>{class t{constructor(){a(vt)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Et,Et]})}return t})(),zn=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,s,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=s,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,s=this.ngControl?this.ngControl.control:null,r=n?.isErrorState(s,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}},Wn=new _("MAT_DATE_LOCALE",{providedIn:"root",factory:Ls});function Ls(){return a(sn)}var re="Method not implemented",ze=class{locale;_localeChanges=new v;localeChanges=this._localeChanges;setTime(i,e,n,s){throw new Error(re)}getHours(i){throw new Error(re)}getMinutes(i){throw new Error(re)}getSeconds(i){throw new Error(re)}parseTime(i,e){throw new Error(re)}addSeconds(i,e){throw new Error(re)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),s=this.isValid(e);return n&&s?!this.compareDate(i,e):n==s}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),s=this.isValid(e);return n&&s?!this.compareTime(i,e):n==s}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},Ps=new _("mat-date-formats"),Ss=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,js=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function It(t,i){let e=Array(t);for(let n=0;n{class t extends ze{useUtcForDisplay=!1;_matDateLocale=a(Wn,{optional:!0});constructor(){super();let e=a(Wn,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return It(12,s=>this._format(n,new Date(2017,s,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return It(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return It(7,s=>this._format(n,new Date(2017,0,s+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,s){let r=this._createDateWithOverflow(e,n,s);return r.getMonth()!=n,r}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Rt(y({},n),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+n)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Ss.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,s,r){let o=this.clone(e);return o.setHours(n,s,r,0),o}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let s=e.trim();if(s.length===0)return null;let r=this._parseTimeString(s);if(r===null){let o=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();o.length>0&&(r=this._parseTimeString(o))}return r||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,s){let r=new Date;return r.setFullYear(e,n,s),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let s=new Date;return s.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),s.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(s)}_parseTimeString(e){let n=e.toUpperCase().match(js);if(n){let s=parseInt(n[1]),r=parseInt(n[2]),o=n[3]==null?void 0:parseInt(n[3]),d=n[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),Tt(s,0,23)&&Tt(r,0,59)&&(o==null||Tt(o,0,59)))return this.setTime(this.today(),s,r,o||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();function Tt(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var Bs={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};function aa(t=Bs){return[{provide:ze,useClass:Us},{provide:Ps,useValue:t}]}var ca=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,s){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return t})();var M=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(M||{}),Dt=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=M.HIDDEN;constructor(i,e,n,s=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=s}fadeOut(){this._renderer.fadeOutRipple(this)}},Kn=ie({passive:!0,capture:!0}),Mt=class{_events=new Map;addHandler(i,e,n,s){let r=this._events.get(e);if(r){let o=r.get(n);o?o.add(s):r.set(n,new Set([s]))}else this._events.set(e,new Map([[n,new Set([s])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Kn)})}removeHandler(i,e,n){let s=this._events.get(i);if(!s)return;let r=s.get(e);r&&(r.delete(n),r.size===0&&s.delete(e),s.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Kn)))}_delegateEventHandler=i=>{let e=F(i);e&&this._events.get(i.type)?.forEach((n,s)=>{(s===e||s.contains(e))&&n.forEach(r=>r.handleEvent(i))})}},We={enterDuration:225,exitDuration:150},zs=800,$n=ie({passive:!0,capture:!0}),Gn=["mousedown","touchstart"],Yn=["mouseup","mouseleave","touchend","touchcancel"],Ws=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,s){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return t})(),Ke=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Mt;constructor(i,e,n,s,r){this._target=i,this._ngZone=e,this._platform=s,s.isBrowser&&(this._containerElement=L(n)),r&&r.get(X).load(Ws)}fadeInRipple(i,e,n={}){let s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=y(y({},We),n.animation);n.centered&&(i=s.left+s.width/2,e=s.top+s.height/2);let o=n.radius||Ks(i,e,s),d=i-s.left,c=e-s.top,m=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${d-o}px`,l.style.top=`${c-o}px`,l.style.height=`${o*2}px`,l.style.width=`${o*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(l);let g=window.getComputedStyle(l),O=g.transitionProperty,p=g.transitionDuration,N=O==="none"||p==="0s"||p==="0s, 0s"||s.width===0&&s.height===0,h=new Dt(this,l,n,N);l.style.transform="scale3d(1, 1, 1)",h.state=M.FADING_IN,n.persistent||(this._mostRecentTransientRipple=h);let f=null;return!N&&(m||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let k=()=>{f&&(f.fallbackTimer=null),clearTimeout(b),this._finishRippleTransition(h)},x=()=>this._destroyRipple(h),b=setTimeout(x,m+100);l.addEventListener("transitionend",k),l.addEventListener("transitioncancel",x),f={onTransitionEnd:k,onTransitionCancel:x,fallbackTimer:b}}),this._activeRipples.set(h,f),(N||!m)&&this._finishRippleTransition(h),h}fadeOutRipple(i){if(i.state===M.FADING_OUT||i.state===M.HIDDEN)return;let e=i.element,n=y(y({},We),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=M.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=L(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Gn.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Yn.forEach(e=>{this._triggerElement.addEventListener(e,this,$n)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===M.FADING_IN?this._startFadeOutTransition(i):i.state===M.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=M.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=M.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=bt(i),n=this._lastTouchStartEvent&&Date.now(){let e=i.state===M.VISIBLE||i.config.terminateOnPointerUp&&i.state===M.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Gn.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(Yn.forEach(e=>i.removeEventListener(e,this,$n)),this._pointerUpEventsRegistered=!1))}};function Ks(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+s*s)}var Qn=new _("mat-ripple-global-options"),$s=(()=>{class t{_elementRef=a(R);_animationMode=a(Ie,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=a(T),n=a(D),s=a(Qn,{optional:!0}),r=a(G);this._globalOptions=s||{},this._rippleRenderer=new Ke(this,e,this._elementRef,n,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:y(y(y({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,s){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,y(y({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,y(y({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,s){n&2&&le("mat-ripple-unbounded",s.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),Gs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Ve,Ve]})}return t})(),Ys=(()=>{class t{_animationMode=a(Ie,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,s){n&2&&le("mat-pseudo-checkbox-indeterminate",s.state==="indeterminate")("mat-pseudo-checkbox-checked",s.state==="checked")("mat-pseudo-checkbox-disabled",s.disabled)("mat-pseudo-checkbox-minimal",s.appearance==="minimal")("mat-pseudo-checkbox-full",s.appearance==="full")("_mat-animation-noopable",s._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,s){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),Zs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Ve]})}return t})(),Xs=new _("MAT_OPTION_PARENT_COMPONENT"),Js=new _("MatOptgroup");var kt=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},da=(()=>{class t{_element=a(R);_changeDetectorRef=a(rn);_parent=a(Xs,{optional:!0});group=a(Js,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=a(Vn).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new S;_text;_stateChanges=new v;constructor(){a(X).load(Vs),a(X).load(ge),this._signalDisableRipple=!!this._parent&&de(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let s=this._getHostElement();typeof s.focus=="function"&&s.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Fe(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new kt(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["mat-option"]],viewQuery:function(n,s){if(n&1&&Ht(Ms,7),n&2){let r;qt(r=en())&&(s._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,s){n&1&&Qt("click",function(){return s._selectViaInteraction()})("keydown",function(o){return s._handleKeydown(o)}),n&2&&(Jt("id",s.id),qe("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),le("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Y]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[te],ngContentSelectors:xs,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,s){n&1&&(nt(ks),He(0,Rs,1,2,"mat-pseudo-checkbox",1),Me(1),et(2,"span",2,0),Me(4,1),tt(),He(5,Os,1,1,"mat-pseudo-checkbox",3)(6,Ns,2,1,"span",4),Ae(7,"div",5)),n&2&&(we(s.multiple?0:-1),ce(5),we(!s.multiple&&s.selected&&!s.hideSingleSelectionIndicator?5:-1),ce(),we(s.group&&s.group._inert?6:-1),ce(),Te("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[Ys,$s],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();function la(t,i,e){if(e.length){let n=i.toArray(),s=e.toArray(),r=0;for(let o=0;oe+n?Math.max(0,t-n+i):e}var ha=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Gs,Ve,Zs]})}return t})(),Zn={capture:!0},Xn=["focus","mousedown","mouseenter","touchstart"],wt="mat-ripple-loader-uninitialized",At="mat-ripple-loader-class-name",Jn="mat-ripple-loader-centered",Be="mat-ripple-loader-disabled",ma=(()=>{class t{_document=a(w,{optional:!0});_animationMode=a(Ie,{optional:!0});_globalRippleOptions=a(Qn,{optional:!0});_platform=a(D);_ngZone=a(T);_injector=a(G);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of Xn)this._document?.addEventListener(e,this._onInteraction,Zn)})}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);for(let n of Xn)this._document?.removeEventListener(n,this._onInteraction,Zn)}configureRipple(e,n){e.setAttribute(wt,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(At))&&e.setAttribute(At,n.className||""),n.centered&&e.setAttribute(Jn,""),n.disabled&&e.setAttribute(Be,"")}setDisabled(e,n){let s=this._hosts.get(e);s?(s.target.rippleDisabled=n,!n&&!s.hasSetUpEvents&&(s.hasSetUpEvents=!0,s.renderer.setupTriggerEvents(e))):n?e.setAttribute(Be,""):e.removeAttribute(Be)}_onInteraction=e=>{let n=F(e);if(n instanceof HTMLElement){let s=n.closest(`[${wt}="${this._globalRippleOptions?.namespace??""}"]`);s&&this._createRipple(s)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(At)),e.append(n);let s=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,o=s?0:r?.animation?.enterDuration??We.enterDuration,d=s?0:r?.animation?.exitDuration??We.exitDuration,c={rippleDisabled:s||r?.disabled||e.hasAttribute(Be),rippleConfig:{centered:e.hasAttribute(Jn),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:d}}},m=new Ke(c,this._ngZone,n,this._platform,this._injector),l=!c.rippleDisabled;l&&m.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:m,hasSetUpEvents:l}),e.removeAttribute(wt)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fa=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,s){n&2&&le("mdc-form-field--align-end",s.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Cs,ngContentSelectors:Fs,decls:1,vars:0,template:function(n,s){n&1&&(nt(),Me(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return t})();function va(t){return t&&typeof t.connect=="function"&&!(t instanceof Nt)}var $e=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}($e||{}),Ea=new _("_ViewRepeater"),Hn=class{applyChanges(i,e,n,s,r){i.forEachOperation((o,d,c)=>{let m,l;if(o.previousIndex==null){let g=n(o,d,c);m=e.createEmbeddedView(g.templateRef,g.context,g.index),l=$e.INSERTED}else c==null?(e.remove(d),l=$e.REMOVED):(m=e.get(d),e.move(m,c),l=$e.MOVED);r&&r({context:m?.context,operation:l,record:o})})}detach(){}};var qn=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new v;constructor(i=!1,e,n=!0,s){this._multiple=i,this._emitChanges=n,this.compareWith=s,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i);i.forEach(r=>this._markSelected(r)),e.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var Ia=(()=>{class t{_listeners=[];notify(e,n){for(let s of this._listeners)s(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{z as a,B as b,oi as c,pr as d,_r as e,D as f,Tr as g,wr as h,ie as i,_e as j,Ar as k,Dr as l,In as m,Tn as n,F as o,Mr as p,X as q,ge as r,Fe as s,Sr as t,wn as u,ut as v,jr as w,L as x,Ur as y,Jr as z,Mn as A,ro as B,ki as C,Rn as D,oo as E,Ji as F,Qi as G,wo as H,Nn as I,Cn as J,qi as K,ls as L,Ao as M,bt as N,yt as O,Do as P,ys as Q,Mo as R,ko as S,Vn as T,jo as U,Et as V,ra as W,oa as X,Ve as Y,zn as Z,ze as _,Ps as $,aa,ca as ba,Vs as ca,M as da,Ke as ea,Qn as fa,$s as ga,Gs as ha,Ys as ia,Zs as ja,Xs as ka,Js as la,kt as ma,da as na,la as oa,ua as pa,ha as qa,ma as ra,fa as sa,va as ta,$e as ua,Ea as va,Hn as wa,qn as xa,Ia as ya}; +import{$ as ye,Be as dn,Da as Gt,Db as Qe,Ea as S,F as q,Fa as T,Fb as Xt,Ge as ln,I as St,J as ee,Ja as R,Ka as Xe,L as Ye,Ma as Je,Mb as te,Nb as He,O as jt,Oa as Ee,P as Ut,Pa as Ie,Qa as Yt,Qc as sn,Sb as qe,Sc as rn,Tb as Te,Va as Zt,Vb as le,Vc as Y,Xd as cn,Y as be,Yb as we,Z as Bt,Zc as on,_ as Vt,_c as an,a as y,b as Rt,ba as Ze,bc as et,ca as zt,cc as tt,d as Ge,dc as Ae,e as Ot,ea as u,ed as w,fa as E,g as $,ha as _,i as Nt,ic as Jt,j as v,ja as P,k as Ct,ka as a,kc as Qt,lb as ce,mc as De,na as Wt,nc as nt,o as Ft,oc as Me,p as H,pa as ve,qa as Kt,qc as Ht,rc as qt,sa as $t,sc as en,t as A,u as Lt,ub as j,vb as I,wb as U,x as Pt,xc as tn,za as G,zb as de,zc as nn}from"./chunk-5L47ZUSK.js";var he=class{},xe=class{},C=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` +`).forEach(e=>{let n=e.indexOf(":");if(n>0){let s=e.slice(0,n),r=e.slice(n+1).trim();this.addHeaderEntry(s,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let s=(i.op==="a"?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(d=>r.indexOf(d)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(r=>r.toString()),s=i.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(i,s)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var st=class{encodeKey(i){return un(i)}encodeValue(i){return un(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function ei(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{let r=s.indexOf("="),[o,d]=r==-1?[i.decodeKey(s),""]:[i.decodeKey(s.slice(0,r)),i.decodeValue(s.slice(r+1))],c=e.get(o)||[];c.push(d),e.set(o,c)}),e}var ti=/%(\d[a-f0-9])/gi,ni={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function un(t){return encodeURIComponent(t).replace(ti,(i,e)=>ni[e]??i)}function ke(t){return`${t}`}var V=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new st,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ei(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],s=Array.isArray(n)?n.map(ke):[ke(n)];this.map.set(e,s)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let s=i[n];Array.isArray(s)?s.forEach(r=>{e.push({param:n,value:r,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(ke(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],s=n.indexOf(ke(i.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var rt=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function ii(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hn(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function mn(t){return typeof Blob<"u"&&t instanceof Blob}function fn(t){return typeof FormData<"u"&&t instanceof FormData}function si(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ue=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,s){this.url=e,this.method=i.toUpperCase();let r;if(ii(this.method)||s?(this.body=n!==void 0?n:null,r=s):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new C,this.context??=new rt,!this.params)this.params=new V,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let d=e.indexOf("?"),c=d===-1?"?":dO.set(p,i.setHeaders[p]),m)),i.setParams&&(l=Object.keys(i.setParams).reduce((O,p)=>O.set(p,i.setParams[p]),l)),new t(e,n,o,{params:l,headers:m,context:g,reportProgress:c,responseType:s,withCredentials:d,transferCache:r})}},z=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(z||{}),me=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new C,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Re=class t extends me{constructor(i={}){super(i)}type=z.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},fe=class t extends me{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=z.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},B=class extends me{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},bn=200,ri=204;function it(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var oi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,s={}){let r;if(e instanceof ue)r=e;else{let c;s.headers instanceof C?c=s.headers:c=new C(s.headers);let m;s.params&&(s.params instanceof V?m=s.params:m=new V({fromObject:s.params})),r=new ue(e,n,s.body!==void 0?s.body:null,{headers:c,context:s.context,params:m,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let o=H(r).pipe(St(c=>this.handler.handle(c)));if(e instanceof ue||s.observe==="events")return o;let d=o.pipe(q(c=>c instanceof fe));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return d.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return d.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return d.pipe(A(c=>c.body))}case"response":return d;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new V().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,s={}){return this.request("PATCH",e,it(s,n))}post(e,n,s={}){return this.request("POST",e,it(s,n))}put(e,n,s={}){return this.request("PUT",e,it(s,n))}static \u0275fac=function(n){return new(n||t)(P(he))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),ai=/^\)\]\}',?\n/,ci="X-Request-URL";function pn(t){if(t.url)return t.url;let i=ci.toLocaleLowerCase();return t.headers.get(i)}var di=(()=>{class t{fetchImpl=a(ot,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=a(T);handle(e){return new $(n=>{let s=new AbortController;return this.doRequest(e,s.signal,n).then(at,r=>n.error(new B({error:r}))),()=>s.abort()})}doRequest(e,n,s){return Ge(this,null,function*(){let r=this.createRequestInit(e),o;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,y({signal:n},r)));li(p),s.next({type:z.Sent}),o=yield p}catch(p){s.error(new B({error:p,status:p.status??0,statusText:p.statusText,url:e.urlWithParams,headers:p.headers}));return}let d=new C(o.headers),c=o.statusText,m=pn(o)??e.urlWithParams,l=o.status,g=null;if(e.reportProgress&&s.next(new Re({headers:d,status:l,statusText:c,url:m})),o.body){let p=o.headers.get("content-length"),N=[],h=o.body.getReader(),f=0,k,x,b=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ge(this,null,function*(){for(;;){let{done:K,value:ae}=yield h.read();if(K)break;if(N.push(ae),f+=ae.length,e.reportProgress){x=e.responseType==="text"?(x??"")+(k??=new TextDecoder).decode(ae,{stream:!0}):void 0;let xt=()=>s.next({type:z.DownloadProgress,total:p?+p:void 0,loaded:f,partialText:x});b?b.run(xt):xt()}}}));let oe=this.concatChunks(N,f);try{let K=o.headers.get("Content-Type")??"";g=this.parseBody(e,oe,K)}catch(K){s.error(new B({error:K,headers:new C(o.headers),status:o.status,statusText:o.statusText,url:pn(o)??e.urlWithParams}));return}}l===0&&(l=g?bn:0),l>=200&&l<300?(s.next(new fe({body:g,headers:d,status:l,statusText:c,url:m})),s.complete()):s.error(new B({error:g,headers:d,status:l,statusText:c,url:m}))})}parseBody(e,n,s){switch(e.responseType){case"json":let r=new TextDecoder().decode(n).replace(ai,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:s});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},s=e.withCredentials?"include":void 0;if(e.headers.forEach((r,o)=>n[r]=o.join(",")),e.headers.has("Accept")||(n.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(n["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:s}}concatChunks(e,n){let s=new Uint8Array(n),r=0;for(let o of e)s.set(o,r),r+=o.length;return s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),ot=class{};function at(){}function li(t){t.then(at,at)}function ui(t,i){return i(t)}function hi(t,i,e){return(n,s)=>Kt(e,()=>i(n,r=>t(r,s)))}var ct=new _(""),mi=new _(""),fi=new _("",{providedIn:"root",factory:()=>!0});var _n=(()=>{class t extends he{backend;injector;chain=null;pendingTasks=a(Gt);contributeToStability=a(fi);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ct),...this.injector.get(mi,[])]));this.chain=n.reduceRight((s,r)=>hi(s,r,this.injector),ui)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(Ut(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(P(xe),P(ve))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();var pi=/^\)\]\}',?\n/;function _i(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var gn=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new zt(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Ft(n.\u0275loadImpl()):H(null)).pipe(Vt(()=>new $(r=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((h,f)=>o.setRequestHeader(h,f.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let h=e.detectContentTypeHeader();h!==null&&o.setRequestHeader("Content-Type",h)}if(e.responseType){let h=e.responseType.toLowerCase();o.responseType=h!=="json"?h:"text"}let d=e.serializeBody(),c=null,m=()=>{if(c!==null)return c;let h=o.statusText||"OK",f=new C(o.getAllResponseHeaders()),k=_i(o)||e.url;return c=new Re({headers:f,status:o.status,statusText:h,url:k}),c},l=()=>{let{headers:h,status:f,statusText:k,url:x}=m(),b=null;f!==ri&&(b=typeof o.response>"u"?o.responseText:o.response),f===0&&(f=b?bn:0);let oe=f>=200&&f<300;if(e.responseType==="json"&&typeof b=="string"){let K=b;b=b.replace(pi,"");try{b=b!==""?JSON.parse(b):null}catch(ae){b=K,oe&&(oe=!1,b={error:ae,text:b})}}oe?(r.next(new fe({body:b,headers:h,status:f,statusText:k,url:x||void 0})),r.complete()):r.error(new B({error:b,headers:h,status:f,statusText:k,url:x||void 0}))},g=h=>{let{url:f}=m(),k=new B({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:f||void 0});r.error(k)},O=!1,p=h=>{O||(r.next(m()),O=!0);let f={type:z.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),e.responseType==="text"&&o.responseText&&(f.partialText=o.responseText),r.next(f)},N=h=>{let f={type:z.UploadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),r.next(f)};return o.addEventListener("load",l),o.addEventListener("error",g),o.addEventListener("timeout",g),o.addEventListener("abort",g),e.reportProgress&&(o.addEventListener("progress",p),d!==null&&o.upload&&o.upload.addEventListener("progress",N)),o.send(d),r.next({type:z.Sent}),()=>{o.removeEventListener("error",g),o.removeEventListener("abort",g),o.removeEventListener("load",l),o.removeEventListener("timeout",g),e.reportProgress&&(o.removeEventListener("progress",p),d!==null&&o.upload&&o.upload.removeEventListener("progress",N)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(P(ln))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})(),yn=new _(""),gi="XSRF-TOKEN",bi=new _("",{providedIn:"root",factory:()=>gi}),yi="X-XSRF-TOKEN",vi=new _("",{providedIn:"root",factory:()=>yi}),Oe=class{},Ei=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n,s){this.doc=e,this.platform=n,this.cookieName=s}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=cn(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(P(w),P(Ee),P(bi))};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();function Ii(t,i){let e=t.url.toLowerCase();if(!a(yn)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=a(Oe).getToken(),s=a(vi);return n!=null&&!t.headers.has(s)&&(t=t.clone({headers:t.headers.set(s,n)})),i(t)}var vn=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(vn||{});function Ti(t,i){return{\u0275kind:t,\u0275providers:i}}function pr(...t){let i=[oi,gn,_n,{provide:he,useExisting:_n},{provide:xe,useFactory:()=>a(di,{optional:!0})??a(gn)},{provide:ct,useValue:Ii,multi:!0},{provide:yn,useValue:!0},{provide:Oe,useClass:Ei}];for(let e of t)i.push(...e.\u0275providers);return Wt(i)}function _r(t){return Ti(vn.Interceptors,t.map(i=>({provide:ct,useValue:i,multi:!0})))}var lt;try{lt=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lt=!1}var D=(()=>{class t{_platformId=a(Ee);isBrowser=this._platformId?dn(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||lt)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})(),ne,En=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wr(){if(ne)return ne;if(typeof document!="object"||!document)return ne=new Set(En),ne;let t=document.createElement("input");return ne=new Set(En.filter(i=>(t.setAttribute("type",i),t.type===i))),ne}var pe;function wi(){if(pe==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>pe=!0}))}finally{pe=pe||!1}return pe}function ie(t){return wi()?t:!!t.capture}var _e=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(_e||{}),Ne,Z;function Ar(){if(Z==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Z=!1,Z;if("scrollBehavior"in document.documentElement.style)Z=!0;else{let t=Element.prototype.scrollTo;t?Z=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Z=!1}}return Z}function Dr(){if(typeof document!="object"||!document)return _e.NORMAL;if(Ne==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Ne=_e.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ne=t.scrollLeft===0?_e.NEGATED:_e.INVERTED),t.remove()}return Ne}var dt;function Ai(){if(dt==null){let t=typeof document<"u"?document.head:null;dt=!!(t&&(t.createShadowRoot||t.attachShadow))}return dt}function In(t){if(Ai()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Tn(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function F(t){return t.composedPath?t.composedPath()[0]:t.target}function Mr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ce=new WeakMap,X=(()=>{class t{_appRef;_injector=a(G);_environmentInjector=a(ve);load(e){let n=this._appRef=this._appRef||this._injector.get(Qe),s=Ce.get(n);s||(s={loaders:new Set,refs:[]},Ce.set(n,s),n.onDestroy(()=>{Ce.get(n)?.refs.forEach(r=>r.destroy()),Ce.delete(n)})),s.loaders.has(e)||(s.loaders.add(e),s.refs.push(an(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ge=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,s){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return t})();function Fe(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Sr(t){return t!=null&&`${t}`!="false"}function wn(t,i=0){return Di(t)?Number(t):arguments.length===2?i:0}function Di(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ut(t){return Array.isArray(t)?t:[t]}function jr(t){return t==null?"":typeof t=="string"?t:`${t}px`}function L(t){return t instanceof R?t.nativeElement:t}function Ur(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let s of n){let r=`${s}`.trim();r&&e.push(r)}}return e}function Mi(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dn=(()=>{class t{_mutationObserverFactory=a(An);_observedElements=new Map;_ngZone=a(T);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=L(e);return new $(s=>{let o=this._observeElement(n).pipe(A(d=>d.filter(c=>!Mi(c))),q(d=>!!d.length)).subscribe(d=>{this._ngZone.run(()=>{s.next(d)})});return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new v,s=this._mutationObserverFactory.create(r=>n.next(r));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:s}=this._observedElements.get(e);n&&n.disconnect(),s.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jr=(()=>{class t{_contentObserver=a(Dn);_elementRef=a(R);event=new S;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=wn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ee(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Y],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[te]})}return t})(),Mn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({providers:[An]})}return t})();var ro=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})(),kn=new Set,J,ki=(()=>{class t{_platform=a(D);_nonce=a(Yt,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ri}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&xi(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xi(t,i){if(!kn.has(t))try{J||(J=document.createElement("style"),i&&J.setAttribute("nonce",i),J.setAttribute("type","text/css"),document.head.appendChild(J)),J.sheet&&(J.sheet.insertRule(`@media ${t} {body{ }}`,0),kn.add(t))}catch(e){console.error(e)}}function Ri(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Rn=(()=>{class t{_mediaMatcher=a(ki);_zone=a(T);_queries=new Map;_destroySubject=new v;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xn(ut(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let s=xn(ut(e)).map(o=>this._registerQuery(o).observable),r=Lt(s);return r=Pt(r.pipe(Ye(1)),r.pipe(be(1),ee(0))),r.pipe(A(o=>{let d={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:m})=>{d.matches=d.matches||c,d.breakpoints[m]=c}),d}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),r={observable:new $(o=>{let d=c=>this._zone.run(()=>o.next(c));return n.addListener(d),()=>{n.removeListener(d)}}).pipe(Bt(n),A(({matches:o})=>({query:e,matches:o})),ye(this._destroySubject)),mql:n};return this._queries.set(e,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xn(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var oo={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Sn=" ";function Ji(t,i,e){let n=je(t,i);e=e.trim(),!n.some(s=>s.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(Sn)))}function Qi(t,i,e){let n=je(t,i);e=e.trim();let s=n.filter(r=>r!==e);s.length?t.setAttribute(i,s.join(Sn)):t.removeAttribute(i)}function je(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var jn="cdk-describedby-message",Le="cdk-describedby-host",pt=0,wo=(()=>{class t{_platform=a(D);_document=a(w);_messageRegistry=new Map;_messagesContainer=null;_id=`${pt++}`;constructor(){a(X).load(ge),this._id=a(Je)+"-"+pt++}describe(e,n,s){if(!this._canBeDescribed(e,n))return;let r=ht(n,s);typeof n!="string"?(On(n,this._id),this._messageRegistry.set(r,{messageElement:n,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(n,s),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,n,s){if(!n||!this._isElementNode(e))return;let r=ht(n,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof n=="string"){let o=this._messageRegistry.get(r);o&&o.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Le}="${this._id}"]`);for(let n=0;ns.indexOf(jn)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let s=this._messageRegistry.get(n);Ji(e,"aria-describedby",s.messageElement.id),e.setAttribute(Le,this._id),s.referenceCount++}_removeMessageReference(e,n){let s=this._messageRegistry.get(n);s.referenceCount--,Qi(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Le)}_isElementDescribedByMessage(e,n){let s=je(e,"aria-describedby"),r=this._messageRegistry.get(n),o=r&&r.messageElement.id;return!!o&&s.indexOf(o)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let s=n==null?"":`${n}`.trim(),r=e.getAttribute("aria-label");return s?!r||r.trim()!==s:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ht(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function On(t,i){t.id||(t.id=`${jn}-${i}-${pt++}`)}var Hi=200,_t=class{_letterKeyStream=new v;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new v;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:Hi;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ze(e=>this._pressedLetters.push(e)),ee(i),q(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;ni.disabled;constructor(i,e){this._items=i,i instanceof Xe?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):de(i)&&(this._effectRef=on(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new v;change=new v;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new _t(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}}},Nn=class extends Ue{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}},Cn=class extends Ue{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var qi=(()=>{class t{_platform=a(D);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return ts(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=es(ds(e));if(n&&(Fn(n)===-1||!this.isVisible(n)))return!1;let s=e.nodeName.toLowerCase(),r=Fn(e);return e.hasAttribute("contenteditable")?r!==-1:s==="iframe"||s==="object"||this._platform.WEBKIT&&this._platform.IOS&&!as(e)?!1:s==="audio"?e.hasAttribute("controls")?r!==-1:!1:s==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return cs(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function es(t){try{return t.frameElement}catch{return null}}function ts(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ns(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function is(t){return rs(t)&&t.type=="hidden"}function ss(t){return os(t)&&t.hasAttribute("href")}function rs(t){return t.nodeName.toLowerCase()=="input"}function os(t){return t.nodeName.toLowerCase()=="a"}function Un(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function Fn(t){if(!Un(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function as(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function cs(t){return is(t)?!1:ns(t)||ss(t)||t.hasAttribute("contenteditable")||Un(t)}function ds(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var gt=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,s,r=!1,o){this._element=i,this._checker=e,this._ngZone=n,this._document=s,this._injector=o,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let s=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(s)return s}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?Zt(i,{injector:this._injector}):setTimeout(i)}},ls=(()=>{class t{_checker=a(qi);_ngZone=a(T);_document=a(w);_injector=a(G);constructor(){a(X).load(ge)}create(e,n=!1){return new gt(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ao=(()=>{class t{_elementRef=a(R);_focusTrapFactory=a(ls);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){a(D).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Tn(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Y],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Y]},exportAs:["cdkTrapFocus"],features:[te,$t]})}return t})();function bt(t){return t.buttons===0||t.detail===0}function yt(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var us=new _("cdk-input-modality-detector-options"),hs={ignoreKeys:[18,17,224,91,16]},Bn=650,se=ie({passive:!0,capture:!0}),ms=(()=>{class t{_platform=a(D);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ct(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=F(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(yt(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=F(e)};constructor(){let e=a(T),n=a(w),s=a(us,{optional:!0});this._options=y(y({},hs),s),this.modalityDetected=this._modality.pipe(be(1)),this.modalityChanged=this.modalityDetected.pipe(jt()),this._platform.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,se),n.addEventListener("mousedown",this._onMousedown,se),n.addEventListener("touchstart",this._onTouchstart,se)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,se),document.removeEventListener("mousedown",this._onMousedown,se),document.removeEventListener("touchstart",this._onTouchstart,se))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fs=new _("liveAnnouncerElement",{providedIn:"root",factory:ps});function ps(){return null}var _s=new _("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gs=0,Do=(()=>{class t{_ngZone=a(T);_defaultOptions=a(_s,{optional:!0});_liveElement;_document=a(w);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=a(fs,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let s=this._defaultOptions,r,o;return n.length===1&&typeof n[0]=="number"?o=n[0]:[r,o]=n,this.clear(),clearTimeout(this._previousTimeout),r||(r=s&&s.politeness?s.politeness:"polite"),o==null&&s&&(o=s.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(d=>this._currentResolve=d)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{class t{_ngZone=a(T);_platform=a(D);_inputModalityDetector=a(ms);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=a(w,{optional:!0});_stopInputModalityDetector=new v;constructor(){let e=a(bs,{optional:!0});this._detectionMode=e?.detectionMode||Se.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=F(e);for(let s=n;s;s=s.parentElement)e.type==="focus"?this._onFocus(e,s):this._onBlur(e,s)};monitor(e,n=!1){let s=L(e);if(!this._platform.isBrowser||s.nodeType!==1)return H();let r=In(s)||this._getDocument(),o=this._elementInfo.get(s);if(o)return n&&(o.checkChildren=!0),o.subject;let d={checkChildren:n,subject:new v,rootNode:r};return this._elementInfo.set(s,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(e){let n=L(e),s=this._elementInfo.get(n);s&&(s.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(s))}focusVia(e,n,s){let r=L(e),o=this._getDocument().activeElement;r===o?this._getClosestElementsInfo(r).forEach(([d,c])=>this._originChanged(d,n,c)):(this._setOrigin(n),typeof r.focus=="function"&&r.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Se.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Se.IMMEDIATE){clearTimeout(this._originTimeoutId);let s=this._originFromTouchInteraction?Bn:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(e,n){let s=this._elementInfo.get(n),r=F(e);!s||!s.checkChildren&&n!==r||this._originChanged(n,this._getFocusOrigin(r),s)}_onBlur(e,n){let s=this._elementInfo.get(n);!s||s.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(s,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,s=this._rootNodeFocusListenerCount.get(n)||0;s||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pe)}),this._rootNodeFocusListenerCount.set(n,s+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ye(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let s=this._rootNodeFocusListenerCount.get(n);s>1?this._rootNodeFocusListenerCount.set(n,s-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pe),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,s){this._setClasses(e,n),this._emitOrigin(s,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((s,r)=>{(r===e||s.checkChildren&&r.contains(e))&&n.push([r,s])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:s}=this._inputModalityDetector;if(s!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let o=0;o{class t{_elementRef=a(R);_focusMonitor=a(ys);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new S;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})(),Q=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Q||{}),Ln="cdk-high-contrast-black-on-white",Pn="cdk-high-contrast-white-on-black",mt="cdk-high-contrast-active",vt=(()=>{class t{_platform=a(D);_hasCheckedHighContrastMode;_document=a(w);_breakpointSubscription;constructor(){this._breakpointSubscription=a(Rn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Q.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,s=n&&n.getComputedStyle?n.getComputedStyle(e):null,r=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Q.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Q.BLACK_ON_WHITE}return Q.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(mt,Ln,Pn),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Q.BLACK_ON_WHITE?e.add(mt,Ln):n===Q.WHITE_ON_BLACK&&e.add(mt,Pn)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ko=(()=>{class t{constructor(){a(vt)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Mn]})}return t})(),ft={},Vn=(()=>{class t{_appId=a(Je);getId(e){return this._appId!=="ng"&&(e+=this._appId),ft.hasOwnProperty(e)||(ft[e]=0),`${e}${ft[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Es=new _("cdk-dir-doc",{providedIn:"root",factory:Is});function Is(){return a(w)}var Ts=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ws(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?Ts.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var jo=(()=>{class t{value="ltr";change=new S;constructor(){let e=a(Es,{optional:!0});if(e){let n=e.body?e.body.dir:null,s=e.documentElement?e.documentElement.dir:null;this.value=ws(n||s||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Et=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({})}return t})();var Ms=["text"],ks=[[["mat-icon"]],"*"],xs=["mat-icon","*"];function Rs(t,i){if(t&1&&Ae(0,"mat-pseudo-checkbox",1),t&2){let e=De();Te("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Os(t,i){if(t&1&&Ae(0,"mat-pseudo-checkbox",3),t&2){let e=De();Te("disabled",e.disabled)}}function Ns(t,i){if(t&1&&(et(0,"span",4),tn(1),tt()),t&2){let e=De();ce(),nn("(",e.group.label,")")}}var Cs=["mat-internal-form-field",""],Fs=["*"];var ra=(()=>{class t{static STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return t})(),oa=(()=>{class t{static COMPLEX="375ms";static ENTERING="225ms";static EXITING="195ms"}return t})();var Ve=(()=>{class t{constructor(){a(vt)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Et,Et]})}return t})(),zn=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,s,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=s,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,s=this.ngControl?this.ngControl.control:null,r=n?.isErrorState(s,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}},Wn=new _("MAT_DATE_LOCALE",{providedIn:"root",factory:Ls});function Ls(){return a(sn)}var re="Method not implemented",ze=class{locale;_localeChanges=new v;localeChanges=this._localeChanges;setTime(i,e,n,s){throw new Error(re)}getHours(i){throw new Error(re)}getMinutes(i){throw new Error(re)}getSeconds(i){throw new Error(re)}parseTime(i,e){throw new Error(re)}addSeconds(i,e){throw new Error(re)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),s=this.isValid(e);return n&&s?!this.compareDate(i,e):n==s}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),s=this.isValid(e);return n&&s?!this.compareTime(i,e):n==s}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},Ps=new _("mat-date-formats"),Ss=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,js=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function It(t,i){let e=Array(t);for(let n=0;n{class t extends ze{useUtcForDisplay=!1;_matDateLocale=a(Wn,{optional:!0});constructor(){super();let e=a(Wn,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return It(12,s=>this._format(n,new Date(2017,s,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return It(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return It(7,s=>this._format(n,new Date(2017,0,s+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,s){let r=this._createDateWithOverflow(e,n,s);return r.getMonth()!=n,r}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Rt(y({},n),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+n)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Ss.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,s,r){let o=this.clone(e);return o.setHours(n,s,r,0),o}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let s=e.trim();if(s.length===0)return null;let r=this._parseTimeString(s);if(r===null){let o=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();o.length>0&&(r=this._parseTimeString(o))}return r||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,s){let r=new Date;return r.setFullYear(e,n,s),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let s=new Date;return s.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),s.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(s)}_parseTimeString(e){let n=e.toUpperCase().match(js);if(n){let s=parseInt(n[1]),r=parseInt(n[2]),o=n[3]==null?void 0:parseInt(n[3]),d=n[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),Tt(s,0,23)&&Tt(r,0,59)&&(o==null||Tt(o,0,59)))return this.setTime(this.today(),s,r,o||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac})}return t})();function Tt(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var Bs={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};function aa(t=Bs){return[{provide:ze,useClass:Us},{provide:Ps,useValue:t}]}var ca=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,s){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return t})();var M=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(M||{}),Dt=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=M.HIDDEN;constructor(i,e,n,s=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=s}fadeOut(){this._renderer.fadeOutRipple(this)}},Kn=ie({passive:!0,capture:!0}),Mt=class{_events=new Map;addHandler(i,e,n,s){let r=this._events.get(e);if(r){let o=r.get(n);o?o.add(s):r.set(n,new Set([s]))}else this._events.set(e,new Map([[n,new Set([s])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Kn)})}removeHandler(i,e,n){let s=this._events.get(i);if(!s)return;let r=s.get(e);r&&(r.delete(n),r.size===0&&s.delete(e),s.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Kn)))}_delegateEventHandler=i=>{let e=F(i);e&&this._events.get(i.type)?.forEach((n,s)=>{(s===e||s.contains(e))&&n.forEach(r=>r.handleEvent(i))})}},We={enterDuration:225,exitDuration:150},zs=800,$n=ie({passive:!0,capture:!0}),Gn=["mousedown","touchstart"],Yn=["mouseup","mouseleave","touchend","touchcancel"],Ws=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,s){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return t})(),Ke=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Mt;constructor(i,e,n,s,r){this._target=i,this._ngZone=e,this._platform=s,s.isBrowser&&(this._containerElement=L(n)),r&&r.get(X).load(Ws)}fadeInRipple(i,e,n={}){let s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=y(y({},We),n.animation);n.centered&&(i=s.left+s.width/2,e=s.top+s.height/2);let o=n.radius||Ks(i,e,s),d=i-s.left,c=e-s.top,m=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${d-o}px`,l.style.top=`${c-o}px`,l.style.height=`${o*2}px`,l.style.width=`${o*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(l);let g=window.getComputedStyle(l),O=g.transitionProperty,p=g.transitionDuration,N=O==="none"||p==="0s"||p==="0s, 0s"||s.width===0&&s.height===0,h=new Dt(this,l,n,N);l.style.transform="scale3d(1, 1, 1)",h.state=M.FADING_IN,n.persistent||(this._mostRecentTransientRipple=h);let f=null;return!N&&(m||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let k=()=>{f&&(f.fallbackTimer=null),clearTimeout(b),this._finishRippleTransition(h)},x=()=>this._destroyRipple(h),b=setTimeout(x,m+100);l.addEventListener("transitionend",k),l.addEventListener("transitioncancel",x),f={onTransitionEnd:k,onTransitionCancel:x,fallbackTimer:b}}),this._activeRipples.set(h,f),(N||!m)&&this._finishRippleTransition(h),h}fadeOutRipple(i){if(i.state===M.FADING_OUT||i.state===M.HIDDEN)return;let e=i.element,n=y(y({},We),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=M.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=L(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Gn.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Yn.forEach(e=>{this._triggerElement.addEventListener(e,this,$n)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===M.FADING_IN?this._startFadeOutTransition(i):i.state===M.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=M.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=M.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=bt(i),n=this._lastTouchStartEvent&&Date.now(){let e=i.state===M.VISIBLE||i.config.terminateOnPointerUp&&i.state===M.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Gn.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(Yn.forEach(e=>i.removeEventListener(e,this,$n)),this._pointerUpEventsRegistered=!1))}};function Ks(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+s*s)}var Qn=new _("mat-ripple-global-options"),$s=(()=>{class t{_elementRef=a(R);_animationMode=a(Ie,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=a(T),n=a(D),s=a(Qn,{optional:!0}),r=a(G);this._globalOptions=s||{},this._rippleRenderer=new Ke(this,e,this._elementRef,n,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:y(y(y({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,s){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,y(y({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,y(y({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=U({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,s){n&2&&le("mat-ripple-unbounded",s.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),Gs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Ve,Ve]})}return t})(),Ys=(()=>{class t{_animationMode=a(Ie,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,s){n&2&&le("mat-pseudo-checkbox-indeterminate",s.state==="indeterminate")("mat-pseudo-checkbox-checked",s.state==="checked")("mat-pseudo-checkbox-disabled",s.disabled)("mat-pseudo-checkbox-minimal",s.appearance==="minimal")("mat-pseudo-checkbox-full",s.appearance==="full")("_mat-animation-noopable",s._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,s){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),Zs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Ve]})}return t})(),Xs=new _("MAT_OPTION_PARENT_COMPONENT"),Js=new _("MatOptgroup");var kt=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},da=(()=>{class t{_element=a(R);_changeDetectorRef=a(rn);_parent=a(Xs,{optional:!0});group=a(Js,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=a(Vn).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new S;_text;_stateChanges=new v;constructor(){a(X).load(Vs),a(X).load(ge),this._signalDisableRipple=!!this._parent&&de(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let s=this._getHostElement();typeof s.focus=="function"&&s.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Fe(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new kt(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["mat-option"]],viewQuery:function(n,s){if(n&1&&Ht(Ms,7),n&2){let r;qt(r=en())&&(s._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,s){n&1&&Qt("click",function(){return s._selectViaInteraction()})("keydown",function(o){return s._handleKeydown(o)}),n&2&&(Jt("id",s.id),qe("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),le("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Y]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[te],ngContentSelectors:xs,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,s){n&1&&(nt(ks),He(0,Rs,1,2,"mat-pseudo-checkbox",1),Me(1),et(2,"span",2,0),Me(4,1),tt(),He(5,Os,1,1,"mat-pseudo-checkbox",3)(6,Ns,2,1,"span",4),Ae(7,"div",5)),n&2&&(we(s.multiple?0:-1),ce(5),we(!s.multiple&&s.selected&&!s.hideSingleSelectionIndicator?5:-1),ce(),we(s.group&&s.group._inert?6:-1),ce(),Te("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[Ys,$s],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();function la(t,i,e){if(e.length){let n=i.toArray(),s=e.toArray(),r=0;for(let o=0;oe+n?Math.max(0,t-n+i):e}var ha=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=E({imports:[Gs,Ve,Zs]})}return t})(),Zn={capture:!0},Xn=["focus","mousedown","mouseenter","touchstart"],wt="mat-ripple-loader-uninitialized",At="mat-ripple-loader-class-name",Jn="mat-ripple-loader-centered",Be="mat-ripple-loader-disabled",ma=(()=>{class t{_document=a(w,{optional:!0});_animationMode=a(Ie,{optional:!0});_globalRippleOptions=a(Qn,{optional:!0});_platform=a(D);_ngZone=a(T);_injector=a(G);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of Xn)this._document?.addEventListener(e,this._onInteraction,Zn)})}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);for(let n of Xn)this._document?.removeEventListener(n,this._onInteraction,Zn)}configureRipple(e,n){e.setAttribute(wt,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(At))&&e.setAttribute(At,n.className||""),n.centered&&e.setAttribute(Jn,""),n.disabled&&e.setAttribute(Be,"")}setDisabled(e,n){let s=this._hosts.get(e);s?(s.target.rippleDisabled=n,!n&&!s.hasSetUpEvents&&(s.hasSetUpEvents=!0,s.renderer.setupTriggerEvents(e))):n?e.setAttribute(Be,""):e.removeAttribute(Be)}_onInteraction=e=>{let n=F(e);if(n instanceof HTMLElement){let s=n.closest(`[${wt}="${this._globalRippleOptions?.namespace??""}"]`);s&&this._createRipple(s)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(At)),e.append(n);let s=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,o=s?0:r?.animation?.enterDuration??We.enterDuration,d=s?0:r?.animation?.exitDuration??We.exitDuration,c={rippleDisabled:s||r?.disabled||e.hasAttribute(Be),rippleConfig:{centered:e.hasAttribute(Jn),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:d}}},m=new Ke(c,this._ngZone,n,this._platform,this._injector),l=!c.rippleDisabled;l&&m.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:m,hasSetUpEvents:l}),e.removeAttribute(wt)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fa=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=j({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,s){n&2&&le("mdc-form-field--align-end",s.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Cs,ngContentSelectors:Fs,decls:1,vars:0,template:function(n,s){n&1&&(nt(),Me(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return t})();function va(t){return t&&typeof t.connect=="function"&&!(t instanceof Nt)}var $e=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}($e||{}),Ea=new _("_ViewRepeater"),Hn=class{applyChanges(i,e,n,s,r){i.forEachOperation((o,d,c)=>{let m,l;if(o.previousIndex==null){let g=n(o,d,c);m=e.createEmbeddedView(g.templateRef,g.context,g.index),l=$e.INSERTED}else c==null?(e.remove(d),l=$e.REMOVED):(m=e.get(d),e.move(m,c),l=$e.MOVED);r&&r({context:m?.context,operation:l,record:o})})}detach(){}};var qn=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new v;constructor(i=!1,e,n=!0,s){this._multiple=i,this._emitChanges=n,this.compareWith=s,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i);i.forEach(r=>this._markSelected(r)),e.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var Ia=(()=>{class t{_listeners=[];notify(e,n){for(let s of this._listeners)s(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{xe as a,z as b,B as c,oi as d,gn as e,pr as f,_r as g,D as h,Tr as i,wr as j,ie as k,_e as l,Ar as m,Dr as n,In as o,Tn as p,F as q,Mr as r,X as s,ge as t,Fe as u,Sr as v,wn as w,ut as x,jr as y,L as z,Ur as A,Jr as B,Mn as C,ro as D,ki as E,Rn as F,oo as G,Ji as H,Qi as I,wo as J,Nn as K,Cn as L,qi as M,ls as N,Ao as O,bt as P,yt as Q,Do as R,ys as S,Mo as T,ko as U,Vn as V,jo as W,Et as X,ra as Y,oa as Z,Ve as _,zn as $,ze as aa,Ps as ba,aa as ca,ca as da,Vs as ea,M as fa,Ke as ga,Qn as ha,$s as ia,Gs as ja,Ys as ka,Zs as la,Xs as ma,Js as na,kt as oa,da as pa,la as qa,ua as ra,ha as sa,ma as ta,fa as ua,va,$e as wa,Ea as xa,Hn as ya,qn as za,Ia as Aa}; diff --git a/chunk-JQW63IXS.js b/chunk-DQZ22ZG2.js similarity index 80% rename from chunk-JQW63IXS.js rename to chunk-DQZ22ZG2.js index 6987e3ad..48aed227 100644 --- a/chunk-JQW63IXS.js +++ b/chunk-DQZ22ZG2.js @@ -1 +1 @@ -import{e as r,j as a,l as e}from"./chunk-EDIJ2EBQ.js";var t=class extends a{get name(){return this.controls.name.value}constructor(l){super({id:new e("",{nonNullable:!0,validators:[r.required]}),name:new e("",{nonNullable:!0}),displayName:new e("",{nonNullable:!0,validators:[r.required]})}),l&&this.patchValue(l)}};export{t as a}; +import{e as r,j as a,l as e}from"./chunk-E5QACR6S.js";var t=class extends a{get name(){return this.controls.name.value}constructor(l){super({id:new e("",{nonNullable:!0,validators:[r.required]}),name:new e("",{nonNullable:!0}),displayName:new e("",{nonNullable:!0,validators:[r.required]})}),l&&this.patchValue(l)}};export{t as a}; diff --git a/chunk-EDIJ2EBQ.js b/chunk-E5QACR6S.js similarity index 99% rename from chunk-EDIJ2EBQ.js rename to chunk-E5QACR6S.js index c1c35243..b06422d2 100644 --- a/chunk-EDIJ2EBQ.js +++ b/chunk-E5QACR6S.js @@ -1 +1 @@ -import{c as we}from"./chunk-W5KNOAKV.js";import{Ab as Fe,Ea as V,Fb as b,Fc as d,Ia as U,Ja as S,Kb as u,L as Ae,Sb as H,Vb as se,Xc as A,Yc as g,a as h,ad as oe,b as p,ba as Me,ca as B,da as f,fa as ie,ha as y,j as ye,ka as w,kc as O,mb as o,o as Ce,p as Ve,sa as I,sb as N,t as De,ub as Ee,vb as re,wb as l,xa as C,z as be}from"./chunk-TEKHUYWQ.js";var x=class{http;#e={};constructor(t){this.http=t}getIcon(t){return this.#e[t]?Ve(this.#e[t]):this.http.get(`icons/${t}.svg`,{responseType:"text"}).pipe(Me(this.#t(t)))}#t=t=>e=>{this.#e[t]=e}};var an=(()=>{class n{renderer=w(N);elRef=w(S);registry=w(x);name=U.required();color=U();size=U(24);ngOnInit(){this.registry.getIcon(this.name()).pipe(Ae(1)).subscribe(e=>{let s=new DOMParser().parseFromString(e,"image/svg+xml").firstChild,a=this.size()+"";this.renderer.setAttribute(s,"width",a),this.renderer.setAttribute(s,"height",a),this.color()&&this.renderer.setStyle(s,"color",this.color()),this.renderer.appendChild(this.elRef.nativeElement,s)})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=Ee({type:n,selectors:[["devmx-icon"]],inputs:{name:[1,"name"],color:[1,"color"],size:[1,"size"]},features:[d([{provide:x,deps:[we]}])],decls:0,vars:0,template:function(i,r){},styles:["[_nghost-%COMP%]{display:inline-flex}"]})}return n})();var Re=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(o(N),o(S))};static \u0275dir=l({type:n})}return n})(),Ge=(()=>{class n extends Re{static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,features:[u]})}return n})(),ee=new y("");var ct={provide:ee,useExisting:f(()=>Te),multi:!0};function ht(){let n=oe()?oe().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var ft=new y(""),Te=(()=>{class n extends Re{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!ht())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||n)(o(N),o(S),o(ft,8))};static \u0275dir=l({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[d([ct]),u]})}return n})();function _(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function je(n){return n!=null&&typeof n.length=="number"}var m=new y(""),F=new y(""),pt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ie=class{static min(t){return Be(t)}static max(t){return gt(t)}static required(t){return mt(t)}static requiredTrue(t){return _t(t)}static email(t){return vt(t)}static minLength(t){return Ue(t)}static maxLength(t){return He(t)}static pattern(t){return yt(t)}static nullValidator(t){return $(t)}static compose(t){return Ze(t)}static composeAsync(t){return Xe(t)}};function Be(n){return t=>{if(_(t.value)||_(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(_(t.value)||_(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function mt(n){return _(n.value)?{required:!0}:null}function _t(n){return n.value===!0?null:{required:!0}}function vt(n){return _(n.value)||pt.test(n.value)?null:{email:!0}}function Ue(n){return t=>_(t.value)||!je(t.value)?null:t.value.lengthje(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function yt(n){if(!n)return $;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(_(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function $(n){return null}function Le(n){return n!=null}function $e(n){return Fe(n)?Ce(n):n}function We(n){let t={};return n.forEach(e=>{t=e!=null?h(h({},t),e):t}),Object.keys(t).length===0?null:t}function qe(n,t){return t.map(e=>e(n))}function Ct(n){return!n.validate}function ze(n){return n.map(t=>Ct(t)?t:e=>t.validate(e))}function Ze(n){if(!n)return null;let t=n.filter(Le);return t.length==0?null:function(e){return We(qe(e,t))}}function de(n){return n!=null?Ze(ze(n)):null}function Xe(n){if(!n)return null;let t=n.filter(Le);return t.length==0?null:function(e){let i=qe(e,t).map($e);return be(i).pipe(De(We))}}function ce(n){return n!=null?Xe(ze(n)):null}function Se(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Ye(n){return n._rawValidators}function Ke(n){return n._rawAsyncValidators}function ae(n){return n?Array.isArray(n)?n:[n]:[]}function W(n,t){return Array.isArray(n)?n.includes(t):n===t}function Ne(n,t){let e=ae(t);return ae(n).forEach(r=>{W(e,r)||e.push(r)}),e}function Oe(n,t){return ae(t).filter(e=>!W(n,e))}var q=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},c=class extends q{name;get formDirective(){return null}get path(){return null}},D=class extends q{_parent=null;name=null;valueAccessor=null},z=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Vt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},In=p(h({},Vt),{"[class.ng-submitted]":"isSubmitted"}),Sn=(()=>{class n extends z{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(D,2))};static \u0275dir=l({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&se("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[u]})}return n})(),Nn=(()=>{class n extends z{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(c,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&se("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[u]})}return n})();var P="VALID",L="INVALID",M="PENDING",k="DISABLED",v=class{},Z=class extends v{value;source;constructor(t,e){super(),this.value=t,this.source=e}},G=class extends v{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},T=class extends v{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},E=class extends v{status;source;constructor(t,e){super(),this.status=t,this.source=e}},le=class extends v{source;constructor(t){super(),this.source=t}},ue=class extends v{source;constructor(t){super(),this.source=t}};function he(n){return(te(n)?n.validators:n)||null}function Dt(n){return Array.isArray(n)?de(n):n||null}function fe(n,t){return(te(t)?t.asyncValidators:n)||null}function bt(n){return Array.isArray(n)?ce(n):n||null}function te(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Je(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new B(1e3,"");if(!i[e])throw new B(1001,"")}function Qe(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new B(1002,"")})}var j=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return g(this.statusReactive)}set status(t){g(()=>this.statusReactive.set(t))}_status=A(()=>this.statusReactive());statusReactive=b(void 0);get valid(){return this.status===P}get invalid(){return this.status===L}get pending(){return this.status==M}get disabled(){return this.status===k}get enabled(){return this.status!==k}errors;get pristine(){return g(this.pristineReactive)}set pristine(t){g(()=>this.pristineReactive.set(t))}_pristine=A(()=>this.pristineReactive());pristineReactive=b(!0);get dirty(){return!this.pristine}get touched(){return g(this.touchedReactive)}set touched(t){g(()=>this.touchedReactive.set(t))}_touched=A(()=>this.touchedReactive());touchedReactive=b(!1);get untouched(){return!this.touched}_events=new ye;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ne(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ne(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Oe(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Oe(t,this._rawAsyncValidators))}hasValidator(t){return W(this._rawValidators,t)}hasAsyncValidator(t){return W(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(p(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new T(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new T(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(p(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new G(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new G(!0,i))}markAsPending(t={}){this.status=M;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new E(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(p(h({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=k,this.errors=null,this._forEachChild(r=>{r.disable(p(h({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Z(this.value,i)),this._events.next(new E(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=P,this._forEachChild(i=>{i.enable(p(h({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(p(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P||this.status===M)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Z(this.value,e)),this._events.next(new E(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(p(h({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?k:P}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=M,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=$e(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new E(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?k:this.errors?L:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(M)?M:this._anyControlsHaveStatus(L)?L:P}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new G(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new T(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){te(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Dt(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=bt(this._rawAsyncValidators)}},X=class extends j{constructor(t,e,i){super(he(e),fe(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Qe(this,!0,t),Object.keys(t).forEach(i=>{Je(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var ne=new y("CallSetDisabledState",{providedIn:"root",factory:()=>pe}),pe="always";function ge(n,t){return[...t.path,n]}function Y(n,t,e=pe){me(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Mt(n,t),Ft(n,t),Et(n,t),At(n,t)}function K(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Q(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function J(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function At(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function me(n,t){let e=Ye(n);t.validator!==null?n.setValidators(Se(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=Ke(n);t.asyncValidator!==null?n.setAsyncValidators(Se(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();J(t._rawValidators,r),J(t._rawAsyncValidators,r)}function Q(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=Ye(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.validator);s.length!==r.length&&(e=!0,n.setValidators(s))}}if(t.asyncValidator!==null){let r=Ke(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.asyncValidator);s.length!==r.length&&(e=!0,n.setAsyncValidators(s))}}}let i=()=>{};return J(t._rawValidators,i),J(t._rawAsyncValidators,i),e}function Mt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&et(n,t)})}function Et(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&et(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function et(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ft(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function tt(n,t){n==null,me(n,t)}function wt(n,t){return Q(n,t)}function nt(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function It(n){return Object.getPrototypeOf(n.constructor)===Ge}function it(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function rt(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(s=>{s.constructor===Te?e=s:It(s)?i=s:r=s}),r||i||e||null}function St(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}var Nt={provide:c,useExisting:f(()=>Ot)},R=Promise.resolve(),Ot=(()=>{class n extends c{callSetDisabledState;get submitted(){return g(this.submittedReactive)}_submitted=A(()=>this.submittedReactive());submittedReactive=b(!1);_directives=new Set;form;ngSubmit=new V;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new X({},de(e),ce(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){R.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Y(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){R.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){R.then(()=>{let i=this._findContainer(e.path),r=new X({});tt(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){R.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){R.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),it(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ne,8))};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[d([Nt]),u]})}return n})();function xe(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Pe(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var xt=class extends j{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(he(e),fe(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pe(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){xe(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){xe(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Pe(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Pt=n=>n instanceof xt,kt=(()=>{class n extends c{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,standalone:!1,features:[u]})}return n})();var xn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),Rt={provide:ee,useExisting:f(()=>Gt),multi:!0},Gt=(()=>{class n extends Ge{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[d([Rt]),u]})}return n})();var _e=new y(""),Tt={provide:D,useExisting:f(()=>jt)},jt=(()=>{class n extends D{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=rt(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&K(i,this,!1),Y(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nt(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&K(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ee,10),o(_e,8),o(ne,8))};static \u0275dir=l({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[d([Tt]),u,I]})}return n})(),Bt={provide:c,useExisting:f(()=>st)},st=(()=>{class n extends c{callSetDisabledState;get submitted(){return g(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=A(()=>this._submittedReactive());_submittedReactive=b(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new V;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Y(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){K(e.control||null,e,!1),St(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),it(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new le(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new ue(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(K(i||null,e),Pt(r)&&(Y(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);tt(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&wt(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){me(this.form,this),this._oldForm&&Q(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ne,8))};static \u0275dir=l({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[d([Bt]),u,I]})}return n})(),Ut={provide:c,useExisting:f(()=>ot)},ot=(()=>{class n extends kt{name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){lt(this._parent)}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[d([Ut]),u]})}return n})(),Ht={provide:c,useExisting:f(()=>at)},at=(()=>{class n extends c{_parent;name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){lt(this._parent)}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10))};static \u0275dir=l({type:n,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[d([Ht]),u]})}return n})();function lt(n){return!(n instanceof ot)&&!(n instanceof st)&&!(n instanceof at)}var Lt={provide:D,useExisting:f(()=>$t)},$t=(()=>{class n extends D{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=rt(this,s)}ngOnChanges(e){this._added||this._setUpControl(),nt(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10),o(ee,10),o(_e,8))};static \u0275dir=l({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[d([Lt]),u,I]})}return n})();function ut(n){return typeof n=="number"?n:parseInt(n,10)}function Wt(n){return typeof n=="number"?n:parseFloat(n)}var ve=(()=>{class n{_validator=$;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):$,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,features:[I]})}return n})();var qt={provide:m,useExisting:f(()=>zt),multi:!0},zt=(()=>{class n extends ve{min;inputName="min";normalizeInput=e=>Wt(e);createValidator=e=>Be(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[d([qt]),u]})}return n})();var Zt={provide:m,useExisting:f(()=>Xt),multi:!0},Xt=(()=>{class n extends ve{minlength;inputName="minlength";normalizeInput=e=>ut(e);createValidator=e=>Ue(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[d([Zt]),u]})}return n})(),Yt={provide:m,useExisting:f(()=>Kt),multi:!0},Kt=(()=>{class n extends ve{maxlength;inputName="maxlength";normalizeInput=e=>ut(e);createValidator=e=>He(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[d([Yt]),u]})}return n})();var Jt=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=re({type:n});static \u0275inj=ie({})}return n})(),ke=class extends j{constructor(t,e,i){super(he(e),fe(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Qe(this,!1,t),t.forEach((i,r)=>{Je(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};var Pn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:_e,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ne,useValue:e.callSetDisabledState??pe}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=re({type:n});static \u0275inj=ie({imports:[Jt]})}return n})();export{an as a,ee as b,Te as c,m as d,Ie as e,c as f,D as g,Sn as h,Nn as i,X as j,Ot as k,xt as l,xn as m,Gt as n,jt as o,st as p,ot as q,at as r,$t as s,zt as t,Xt as u,Kt as v,ke as w,Pn as x}; +import{d as we}from"./chunk-CG5OOKZO.js";import{Ab as Fe,Ea as V,Fb as b,Fc as d,Ia as U,Ja as S,Kb as u,L as Ae,Sb as H,Vb as se,Xc as A,Yc as g,a as h,ad as oe,b as p,ba as Me,ca as B,da as f,fa as ie,ha as y,j as ye,ka as w,kc as O,mb as o,o as Ce,p as Ve,sa as I,sb as N,t as De,ub as Ee,vb as re,wb as l,xa as C,z as be}from"./chunk-5L47ZUSK.js";var x=class{http;#e={};constructor(t){this.http=t}getIcon(t){return this.#e[t]?Ve(this.#e[t]):this.http.get(`icons/${t}.svg`,{responseType:"text"}).pipe(Me(this.#t(t)))}#t=t=>e=>{this.#e[t]=e}};var an=(()=>{class n{renderer=w(N);elRef=w(S);registry=w(x);name=U.required();color=U();size=U(24);ngOnInit(){this.registry.getIcon(this.name()).pipe(Ae(1)).subscribe(e=>{let s=new DOMParser().parseFromString(e,"image/svg+xml").firstChild,a=this.size()+"";this.renderer.setAttribute(s,"width",a),this.renderer.setAttribute(s,"height",a),this.color()&&this.renderer.setStyle(s,"color",this.color()),this.renderer.appendChild(this.elRef.nativeElement,s)})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=Ee({type:n,selectors:[["devmx-icon"]],inputs:{name:[1,"name"],color:[1,"color"],size:[1,"size"]},features:[d([{provide:x,deps:[we]}])],decls:0,vars:0,template:function(i,r){},styles:["[_nghost-%COMP%]{display:inline-flex}"]})}return n})();var Re=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(o(N),o(S))};static \u0275dir=l({type:n})}return n})(),Ge=(()=>{class n extends Re{static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,features:[u]})}return n})(),ee=new y("");var ct={provide:ee,useExisting:f(()=>Te),multi:!0};function ht(){let n=oe()?oe().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var ft=new y(""),Te=(()=>{class n extends Re{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!ht())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||n)(o(N),o(S),o(ft,8))};static \u0275dir=l({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[d([ct]),u]})}return n})();function _(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function je(n){return n!=null&&typeof n.length=="number"}var m=new y(""),F=new y(""),pt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ie=class{static min(t){return Be(t)}static max(t){return gt(t)}static required(t){return mt(t)}static requiredTrue(t){return _t(t)}static email(t){return vt(t)}static minLength(t){return Ue(t)}static maxLength(t){return He(t)}static pattern(t){return yt(t)}static nullValidator(t){return $(t)}static compose(t){return Ze(t)}static composeAsync(t){return Xe(t)}};function Be(n){return t=>{if(_(t.value)||_(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(_(t.value)||_(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function mt(n){return _(n.value)?{required:!0}:null}function _t(n){return n.value===!0?null:{required:!0}}function vt(n){return _(n.value)||pt.test(n.value)?null:{email:!0}}function Ue(n){return t=>_(t.value)||!je(t.value)?null:t.value.lengthje(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function yt(n){if(!n)return $;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(_(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function $(n){return null}function Le(n){return n!=null}function $e(n){return Fe(n)?Ce(n):n}function We(n){let t={};return n.forEach(e=>{t=e!=null?h(h({},t),e):t}),Object.keys(t).length===0?null:t}function qe(n,t){return t.map(e=>e(n))}function Ct(n){return!n.validate}function ze(n){return n.map(t=>Ct(t)?t:e=>t.validate(e))}function Ze(n){if(!n)return null;let t=n.filter(Le);return t.length==0?null:function(e){return We(qe(e,t))}}function de(n){return n!=null?Ze(ze(n)):null}function Xe(n){if(!n)return null;let t=n.filter(Le);return t.length==0?null:function(e){let i=qe(e,t).map($e);return be(i).pipe(De(We))}}function ce(n){return n!=null?Xe(ze(n)):null}function Se(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Ye(n){return n._rawValidators}function Ke(n){return n._rawAsyncValidators}function ae(n){return n?Array.isArray(n)?n:[n]:[]}function W(n,t){return Array.isArray(n)?n.includes(t):n===t}function Ne(n,t){let e=ae(t);return ae(n).forEach(r=>{W(e,r)||e.push(r)}),e}function Oe(n,t){return ae(t).filter(e=>!W(n,e))}var q=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},c=class extends q{name;get formDirective(){return null}get path(){return null}},D=class extends q{_parent=null;name=null;valueAccessor=null},z=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Vt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},In=p(h({},Vt),{"[class.ng-submitted]":"isSubmitted"}),Sn=(()=>{class n extends z{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(D,2))};static \u0275dir=l({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&se("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[u]})}return n})(),Nn=(()=>{class n extends z{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(c,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&se("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[u]})}return n})();var P="VALID",L="INVALID",M="PENDING",k="DISABLED",v=class{},Z=class extends v{value;source;constructor(t,e){super(),this.value=t,this.source=e}},G=class extends v{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},T=class extends v{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},E=class extends v{status;source;constructor(t,e){super(),this.status=t,this.source=e}},le=class extends v{source;constructor(t){super(),this.source=t}},ue=class extends v{source;constructor(t){super(),this.source=t}};function he(n){return(te(n)?n.validators:n)||null}function Dt(n){return Array.isArray(n)?de(n):n||null}function fe(n,t){return(te(t)?t.asyncValidators:n)||null}function bt(n){return Array.isArray(n)?ce(n):n||null}function te(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Je(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new B(1e3,"");if(!i[e])throw new B(1001,"")}function Qe(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new B(1002,"")})}var j=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return g(this.statusReactive)}set status(t){g(()=>this.statusReactive.set(t))}_status=A(()=>this.statusReactive());statusReactive=b(void 0);get valid(){return this.status===P}get invalid(){return this.status===L}get pending(){return this.status==M}get disabled(){return this.status===k}get enabled(){return this.status!==k}errors;get pristine(){return g(this.pristineReactive)}set pristine(t){g(()=>this.pristineReactive.set(t))}_pristine=A(()=>this.pristineReactive());pristineReactive=b(!0);get dirty(){return!this.pristine}get touched(){return g(this.touchedReactive)}set touched(t){g(()=>this.touchedReactive.set(t))}_touched=A(()=>this.touchedReactive());touchedReactive=b(!1);get untouched(){return!this.touched}_events=new ye;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ne(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ne(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Oe(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Oe(t,this._rawAsyncValidators))}hasValidator(t){return W(this._rawValidators,t)}hasAsyncValidator(t){return W(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(p(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new T(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new T(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(p(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new G(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new G(!0,i))}markAsPending(t={}){this.status=M;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new E(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(p(h({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=k,this.errors=null,this._forEachChild(r=>{r.disable(p(h({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Z(this.value,i)),this._events.next(new E(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=P,this._forEachChild(i=>{i.enable(p(h({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(p(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P||this.status===M)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Z(this.value,e)),this._events.next(new E(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(p(h({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?k:P}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=M,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=$e(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new E(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?k:this.errors?L:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(M)?M:this._anyControlsHaveStatus(L)?L:P}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new G(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new T(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){te(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Dt(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=bt(this._rawAsyncValidators)}},X=class extends j{constructor(t,e,i){super(he(e),fe(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Qe(this,!0,t),Object.keys(t).forEach(i=>{Je(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var ne=new y("CallSetDisabledState",{providedIn:"root",factory:()=>pe}),pe="always";function ge(n,t){return[...t.path,n]}function Y(n,t,e=pe){me(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Mt(n,t),Ft(n,t),Et(n,t),At(n,t)}function K(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Q(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function J(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function At(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function me(n,t){let e=Ye(n);t.validator!==null?n.setValidators(Se(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=Ke(n);t.asyncValidator!==null?n.setAsyncValidators(Se(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();J(t._rawValidators,r),J(t._rawAsyncValidators,r)}function Q(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=Ye(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.validator);s.length!==r.length&&(e=!0,n.setValidators(s))}}if(t.asyncValidator!==null){let r=Ke(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.asyncValidator);s.length!==r.length&&(e=!0,n.setAsyncValidators(s))}}}let i=()=>{};return J(t._rawValidators,i),J(t._rawAsyncValidators,i),e}function Mt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&et(n,t)})}function Et(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&et(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function et(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ft(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function tt(n,t){n==null,me(n,t)}function wt(n,t){return Q(n,t)}function nt(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function It(n){return Object.getPrototypeOf(n.constructor)===Ge}function it(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function rt(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(s=>{s.constructor===Te?e=s:It(s)?i=s:r=s}),r||i||e||null}function St(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}var Nt={provide:c,useExisting:f(()=>Ot)},R=Promise.resolve(),Ot=(()=>{class n extends c{callSetDisabledState;get submitted(){return g(this.submittedReactive)}_submitted=A(()=>this.submittedReactive());submittedReactive=b(!1);_directives=new Set;form;ngSubmit=new V;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new X({},de(e),ce(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){R.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Y(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){R.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){R.then(()=>{let i=this._findContainer(e.path),r=new X({});tt(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){R.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){R.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),it(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ne,8))};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[d([Nt]),u]})}return n})();function xe(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Pe(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var xt=class extends j{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(he(e),fe(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pe(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){xe(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){xe(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Pe(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Pt=n=>n instanceof xt,kt=(()=>{class n extends c{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,standalone:!1,features:[u]})}return n})();var xn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),Rt={provide:ee,useExisting:f(()=>Gt),multi:!0},Gt=(()=>{class n extends Ge{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[d([Rt]),u]})}return n})();var _e=new y(""),Tt={provide:D,useExisting:f(()=>jt)},jt=(()=>{class n extends D{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=rt(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&K(i,this,!1),Y(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nt(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&K(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ee,10),o(_e,8),o(ne,8))};static \u0275dir=l({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[d([Tt]),u,I]})}return n})(),Bt={provide:c,useExisting:f(()=>st)},st=(()=>{class n extends c{callSetDisabledState;get submitted(){return g(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=A(()=>this._submittedReactive());_submittedReactive=b(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new V;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Y(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){K(e.control||null,e,!1),St(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),it(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new le(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new ue(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(K(i||null,e),Pt(r)&&(Y(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);tt(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&wt(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){me(this.form,this),this._oldForm&&Q(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||n)(o(m,10),o(F,10),o(ne,8))};static \u0275dir=l({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[d([Bt]),u,I]})}return n})(),Ut={provide:c,useExisting:f(()=>ot)},ot=(()=>{class n extends kt{name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){lt(this._parent)}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[d([Ut]),u]})}return n})(),Ht={provide:c,useExisting:f(()=>at)},at=(()=>{class n extends c{_parent;name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){lt(this._parent)}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10))};static \u0275dir=l({type:n,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[d([Ht]),u]})}return n})();function lt(n){return!(n instanceof ot)&&!(n instanceof st)&&!(n instanceof at)}var Lt={provide:D,useExisting:f(()=>$t)},$t=(()=>{class n extends D{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=rt(this,s)}ngOnChanges(e){this._added||this._setUpControl(),nt(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ge(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||n)(o(c,13),o(m,10),o(F,10),o(ee,10),o(_e,8))};static \u0275dir=l({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[d([Lt]),u,I]})}return n})();function ut(n){return typeof n=="number"?n:parseInt(n,10)}function Wt(n){return typeof n=="number"?n:parseFloat(n)}var ve=(()=>{class n{_validator=$;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):$,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,features:[I]})}return n})();var qt={provide:m,useExisting:f(()=>zt),multi:!0},zt=(()=>{class n extends ve{min;inputName="min";normalizeInput=e=>Wt(e);createValidator=e=>Be(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[d([qt]),u]})}return n})();var Zt={provide:m,useExisting:f(()=>Xt),multi:!0},Xt=(()=>{class n extends ve{minlength;inputName="minlength";normalizeInput=e=>ut(e);createValidator=e=>Ue(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[d([Zt]),u]})}return n})(),Yt={provide:m,useExisting:f(()=>Kt),multi:!0},Kt=(()=>{class n extends ve{maxlength;inputName="maxlength";normalizeInput=e=>ut(e);createValidator=e=>He(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=C(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&H("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[d([Yt]),u]})}return n})();var Jt=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=re({type:n});static \u0275inj=ie({})}return n})(),ke=class extends j{constructor(t,e,i){super(he(e),fe(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Qe(this,!1,t),t.forEach((i,r)=>{Je(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};var Pn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:_e,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ne,useValue:e.callSetDisabledState??pe}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=re({type:n});static \u0275inj=ie({imports:[Jt]})}return n})();export{an as a,ee as b,Te as c,m as d,Ie as e,c as f,D as g,Sn as h,Nn as i,X as j,Ot as k,xt as l,xn as m,Gt as n,jt as o,st as p,ot as q,at as r,$t as s,zt as t,Xt as u,Kt as v,ke as w,Pn as x}; diff --git a/chunk-SVV7FRLS.js b/chunk-ECERSGDL.js similarity index 94% rename from chunk-SVV7FRLS.js rename to chunk-ECERSGDL.js index 788ebe36..b14566b8 100644 --- a/chunk-SVV7FRLS.js +++ b/chunk-ECERSGDL.js @@ -1 +1 @@ -import{a as Ue}from"./chunk-XUKBPA5N.js";import{a as je}from"./chunk-JQW63IXS.js";import{a as me,b as ue,c as de,f as pe,g as fe}from"./chunk-ZQOXWN4S.js";import{a as it,b as Ft}from"./chunk-HRSGZXOU.js";import{d as wt,e as Ee}from"./chunk-WPU27ID5.js";import{a as Pe,b as ye}from"./chunk-VHE4TYFV.js";import{a as Dt,b as Ie}from"./chunk-JMI5D6U5.js";import{a as Oe,b as Se}from"./chunk-AFH22WZE.js";import{a as Te,b as Ve,c as Ae,d as Re,e as $e,f as Ne,g as Le,h as ze,i as Be,j as Ge,k as qe}from"./chunk-FROUXDRM.js";import{a as yt,b as Fe}from"./chunk-4JU575PW.js";import{a as ke}from"./chunk-56M6HFOE.js";import{a as we}from"./chunk-Q33OVU5J.js";import{a as Z,b as De,c as tt,e as et,f as nt,g as ot}from"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{a as $,b as L,c as xt,e as _e}from"./chunk-6P3MPDKA.js";import{a as ge}from"./chunk-WOE5TNBB.js";import{a as Ce,b as Pt,c as I}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-YFMYPYPE.js";import{a as ve}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import"./chunk-XIUDFJWJ.js";import{a as xe}from"./chunk-TPJZ2OYR.js";import{s as Wt}from"./chunk-XYJHVZQT.js";import"./chunk-O3T3UZHL.js";import{d as X,e as Y}from"./chunk-VVQ6JEVH.js";import{b as Ut,c as Ht,d as Qt,i as q,j as U}from"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as k}from"./chunk-A3N3AUUJ.js";import{g as G,h as Gt,i as Ct,j as qt,p as ht,q as R,u as ce,v as K,w as le,x as P}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as oe,c as ie,f as re,g as ae,h as W,i as se,k as J,l as j}from"./chunk-PAP2P7QR.js";import{a as vt,b as he,c as Me,e as Ot,f as be,i as St}from"./chunk-EC6LD5KM.js";import{a as D,c as H,e as E,h as Q,i as Jt,j as V,l as C,m as Kt,n as Xt,o as Mt,p as Yt,q as Zt,r as te,s as ee,t as ne,w as bt,x as A}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$ as N,$b as O,F as Lt,Fb as zt,J as pt,Jc as y,Kc as w,L as ft,Nb as h,Sc as Bt,Tb as m,Yb as x,ac as S,bc as a,cc as r,dc as d,ec as _t,fc as gt,hc as M,j as at,je as F,k as ut,ka as u,kc as p,lb as c,mc as f,t as st,ta as _,u as dt,ua as g,ub as b,wc as z,xc as l,yc as B,zc as T}from"./chunk-TEKHUYWQ.js";var He=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-feature-admin"]],decls:1,vars:0,template:function(e,i){e&1&&d(0,"router-outlet")},dependencies:[Gt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return n})();var sn=(n,o)=>o.id;function cn(n,o){if(n&1&&(a(0,"mat-list-option",7),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function ln(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-form-field"),d(2,"input",3),r(),a(3,"button",4),p("click",function(){_(t);let i=f();return g(i.addInstitution())}),d(4,"devmx-icon",5),a(5,"span"),l(6,"Adicionar institui\xE7\xE3o"),r()(),a(7,"mat-selection-list",6,0),O(9,cn,2,2,"mat-list-option",7,sn),r(),a(11,"devmx-paginator",8),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(12,"mat-dialog-actions",9)(13,"button",10),p("click",function(){_(t);let i=z(8),s=f();return g(s.close(i.selectedOptions.selected[0]))}),l(14," Salvar "),r(),a(15,"button",11),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(16,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(2),m("formControl",e.search),c(2),m("size",18),c(3),m("multiple",!1),c(2),S(t.data),c(2),m("items",t.items)}}var Ke=(()=>{class n{institutionFacade=u(L);ref=u(Z);search=new C("");#t=new ut(!1);addInstitution$=this.#t.asObservable();constructor(){this.search.valueChanges.pipe(pt(300)).pipe(k()).subscribe(t=>{let e=t||"";this.institutionFacade.setFilter({name:e}),this.institutionFacade.load()}),this.institutionFacade.load()}addInstitution(){this.#t.value===!0&&this.#t.next(!1),this.#t.next(!0)}close(t){this.ref.close(t.value)}onPageChange({page:t,size:e}){this.institutionFacade.setParams({page:t,size:e}),this.institutionFacade.load()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-admin-search-institution"]],decls:4,vars:3,consts:[["institutions",""],["mat-dialog-title",""],[1,"dialog-content"],["matInput","","placeholder","Qual institui\xE7\xE3o procura?",3,"formControl"],["type","button","mat-button","",1,"add-institution",3,"click"],["name","plus",3,"size"],[1,"institutions",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre institui\xE7\xF5es"),r(),h(2,ln,17,4),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.institutionFacade.response$))?2:-1,s)}},dependencies:[A,H,Q,Mt,U,q,I,et,nt,ot,P,R,Y,X,D,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .institutions[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .add-institution[_ngcontent-%COMP%]{align-self:flex-end}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var mn=(n,o)=>o.id;function un(n,o){if(n&1&&(a(0,"mat-list-option",7),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function dn(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-form-field"),d(2,"input",3),r(),a(3,"button",4),p("click",function(){_(t);let i=f();return g(i.addSubject())}),d(4,"devmx-icon",5),a(5,"span"),l(6,"Adicionar assunto"),r()(),a(7,"mat-selection-list",6,0),O(9,un,2,2,"mat-list-option",7,mn),r(),a(11,"devmx-paginator",8),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(12,"mat-dialog-actions",9)(13,"button",10),p("click",function(){_(t);let i=z(8),s=f();return g(s.close(i.selectedOptions.selected))}),l(14," Salvar "),r(),a(15,"button",11),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(16,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(2),m("formControl",e.search),c(2),m("size",18),c(5),S(t.data),c(2),m("items",t.items)}}var Xe=(()=>{class n{subjectFacade=u(xt);ref=u(Z);search=new C("");#t=new ut(!1);addSubject$=this.#t.asObservable();constructor(){this.search.valueChanges.pipe(pt(300)).pipe(k()).subscribe(t=>{let e=t||"";this.subjectFacade.setFilter({name:e}),this.subjectFacade.load()}),this.subjectFacade.load()}addSubject(){this.#t.value===!0&&this.#t.next(!1),this.#t.next(!0)}close(t){this.ref.close(t.map(e=>e.value))}onPageChange({page:t,size:e}){this.subjectFacade.setParams({page:t,size:e})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-admin-search-subjects"]],decls:4,vars:3,consts:[["subjects",""],["mat-dialog-title",""],[1,"dialog-content"],["matInput","","placeholder","Qual assunto procura?",3,"formControl"],["type","button","mat-button","",1,"add-subject",3,"click"],["name","plus",3,"size"],[1,"subjects"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre assuntos"),r(),h(2,dn,17,3),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.subjectFacade.response$))?2:-1,s)}},dependencies:[A,H,Q,Mt,U,q,I,et,nt,ot,P,R,Y,X,D,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .subjects[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .add-subject[_ngcontent-%COMP%]{align-self:flex-end}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var lt=class{dialog;formService;constructor(o,t){this.dialog=o,this.formService=t}openInstitution(o=null){let t={id:it({label:"ID",type:"hidden",value:o&&o.id?o.id:""}),name:it({label:"Nome",type:"text",value:o&&o.name?o.name:"",errors:{required:"Obrigat\xF3rio"}})},e=Ft(t),i=(o?"Editar":"Cadastrar")+" institui\xE7\xE3o";return this.formService.open({title:i,fields:t,form:e})}searchInstitution(){return this.dialog.open(Ke)}};function Ye(){return{provide:lt,deps:[tt,wt]}}var mt=class{dialog;formService;constructor(o,t){this.dialog=o,this.formService=t}openSubject(o=null){let t={id:it({label:"ID",type:"hidden",value:o&&o.id?o.id:""}),name:it({label:"Assunto",type:"text",value:o&&o.name?o.name:"",errors:{required:"Obrigat\xF3rio"}})},e=Ft(t),i=(o?"Editar":"Cadastrar")+" assunto";return this.formService.open({title:i,fields:t,form:e})}searchSubjects(){return this.dialog.open(Xe)}};function Ze(){return{provide:mt,deps:[tt,wt]}}var pn=(n,o)=>o.id;function fn(n,o){if(n&1&&(a(0,"mat-list-option",4),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function _n(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-selection-list",3,0),O(3,fn,2,2,"mat-list-option",4,pn),r(),a(5,"devmx-paginator",5),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(6,"mat-dialog-actions",6)(7,"button",7),p("click",function(){_(t);let i=z(2),s=f();return g(s.close(i.selectedOptions.selected))}),l(8," Selecionar "),r(),a(9,"button",8),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(10,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(),m("multiple",e.data.multiple),c(2),S(t.data),c(2),m("items",t.items)}}var tn=(()=>{class n{institutionFacade=u(L);ref=u(Z);data=u(De);constructor(){this.institutionFacade.load()}onSearchChange(t){this.institutionFacade.setFilter(t),this.institutionFacade.load()}onPageChange({page:t,size:e}){this.institutionFacade.setParams({page:t,size:e}),this.institutionFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(e=>e.value)):this.ref.close(t[0].value)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-select-institution"]],decls:4,vars:3,consts:[["institution",""],["mat-dialog-title",""],[1,"dialog-content"],[1,"institutions",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre institui\xE7\xF5es"),r(),h(2,_n,11,2),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.institutionFacade.response$))?2:-1,s)}},dependencies:[A,I,et,nt,ot,P,R,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .institutions[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var Et=class{dialog;constructor(o){this.dialog=o}open(o={}){return this.dialog.open(tn,{data:o}).afterClosed().pipe(ft(1))}};function en(){return{provide:Et,deps:[tt]}}var nn=[en(),Ye(),Ie(),Ze(),Ee(),Fe()];var on=n=>_e(u($),n.params);function Cn(n,o){n&1&&(a(0,"th",15),l(1,"Nome do curso"),r())}function hn(n,o){if(n&1&&(a(0,"td",16),l(1),r()),n&2){let t=o.$implicit;c(),B(t.name)}}function Mn(n,o){n&1&&(a(0,"th",15),l(1,"Criado por"),r())}function bn(n,o){if(n&1&&(a(0,"td",16),l(1),r()),n&2){let t=o.$implicit;c(),B(t.owner.displayName)}}function xn(n,o){n&1&&d(0,"th",15)}function Pn(n,o){if(n&1){let t=M();a(0,"td",16)(1,"button",17),p("click",function(){let i=_(t).$implicit,s=f(2);return g(s.openDelete(i))}),d(2,"devmx-icon",18),r()()}}function vn(n,o){n&1&&d(0,"tr",19)}function On(n,o){n&1&&d(0,"tr",20)}function Sn(n,o){if(n&1){let t=M();a(0,"table",5),_t(1,6),h(2,Cn,2,0,"th",7)(3,hn,2,1,"td",8),gt(),_t(4,9),h(5,Mn,2,0,"th",7)(6,bn,2,1,"td",8),gt(),_t(7,10),h(8,xn,1,0,"th",7)(9,Pn,3,0,"td",8),gt(),h(10,vn,1,0,"tr",11)(11,On,1,0,"tr",12),r(),a(12,"mat-card-actions",13)(13,"devmx-paginator",14),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()()}if(n&2){let t=o,e=f();m("dataSource",t.data),c(10),m("matHeaderRowDef",e.columns),c(),m("matRowDefColumns",e.columns),c(2),m("size",10)("items",t.items)}}var rn=(()=>{class n{router=u(Ct);route=u(G);dialogFacade=u(yt);courseFacade=u($);selectUser=u(Dt);#t=Wt(null);columns=["name","owner","actions"];constructor(){let t=this.#t.observe().pipe(st(i=>i?i.id:"")),e=this.route.queryParams;dt([t,e]).pipe(k()).subscribe(this.onQueryParams)}onQueryParams=([t,e])=>{let{page:i=0,size:s=10}=e,v={name:"",owner:t};this.courseFacade.setParams({page:i,size:s,filter:v}),this.courseFacade.load()};openDelete({id:t,name:e}){this.dialogFacade.confirm(`Confirme que deseja apagar o curso ${e}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.courseFacade.delete(t)})}openSelectUser(){this.selectUser.open({onlyRole:"academic",multiple:!1}).subscribe(t=>{t&&this.#t.update(t)})}onSearchChange(t=""){this.courseFacade.setFilter({name:t}),this.courseFacade.load()}onPageChange({page:t,size:e}){let i={page:t,size:e};this.router.navigate([],{queryParams:i})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-career-admin-manage-courses"]],decls:10,vars:4,consts:[[1,"courses-card"],[1,"courses-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(e,i){if(e&1&&(a(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),l(3,"Cursos"),r(),a(4,"div")(5,"button",2),p("click",function(){return i.openSelectUser()}),d(6,"devmx-icon",3),r(),a(7,"devmx-search-field",4),p("searchChange",function(v){return i.onSearchChange(v)}),r()()(),h(8,Sn,14,5),y(9,"async"),r()),e&2){let s;c(7),m("debounce",1e3),c(),x((s=w(9,2,i.courseFacade.response$))?8:-1,s)}},dependencies:[ht,P,K,ke,I,qe,Te,Ae,Le,Re,Ve,ze,$e,Ne,Be,Ge,St,vt,Ot,be,he,D,F],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .courses-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .courses-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .courses-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return n})();var yn=(n,o)=>o.id;function wn(n,o){if(n&1){let t=M();a(0,"devmx-course-card",3)(1,"a",6),d(2,"devmx-icon",7),r(),a(3,"button",8),p("click",function(){let i=_(t).$implicit,s=f(2);return g(s.deleteCourse(i))}),d(4,"devmx-icon",9),r()()}if(n&2){let t=o.$implicit;m("data",t),c(),m("routerLink",t.id)}}function Fn(n,o){n&1&&(a(0,"div",4)(1,"h2"),l(2,"N\xE3o temos nada aqui..."),r(),a(3,"h3"),l(4," Siga nessa dire\xE7\xE3o "),d(5,"devmx-icon",10)(6,"br"),l(7," at\xE9 encontrar o bot\xE3o com um "),d(8,"devmx-icon",11)(9,"br"),l(10," e cadastre seus cursos. "),d(11,"devmx-icon",12),r()()),n&2&&(c(5),m("size",32),c(3),m("size",32),c(3),m("size",32))}function Dn(n,o){if(n&1){let t=M();a(0,"div",2),O(1,wn,5,2,"devmx-course-card",3,yn),r(),h(3,Fn,12,3,"div",4),a(4,"footer")(5,"devmx-paginator",5),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()()}if(n&2){let t=o;c(),S(t.data),c(2),x(t.items?-1:3),c(2),m("size",10)("items",t.items)}}var an=(()=>{class n{router=u(Ct);route=u(G);dialogFacade=u(yt);authFacade=u(xe);courseFacade=u($);constructor(){let t=this.authFacade.auth$.pipe(Lt(i=>!!i),st(({id:i})=>i)),e=this.route.queryParams.pipe(st(({page:i,size:s,open:v=null,active:At=null})=>({page:i,size:s,open:v,active:At})));dt([t,e]).pipe(k()).subscribe(this.onQueryParams)}onQueryParams=([t,e])=>{let{page:i,size:s,name:v=""}=e,At={name:v,owner:t};this.courseFacade.setParams({page:i,size:s,filter:At}),this.courseFacade.load()};deleteCourse({id:t,name:e}){this.dialogFacade.confirm(`Confirme que deseja apagar o curso ${e}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.courseFacade.delete(t)})}onPageChange({page:t,size:e}){let i={page:t,size:e};this.router.navigate([],{queryParams:i})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-admin-my-courses"]],decls:4,vars:3,consts:[["mat-fab","","routerLink","novo",1,"add-button","tertiary-fab"],["name","plus"],[1,"courses-container"],[3,"data"],[1,"no-courses-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar curso","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar curso","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(e,i){if(e&1&&(a(0,"a",0),d(1,"devmx-icon",1),r(),h(2,Dn,6,3),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.courseFacade.response$))?2:-1,s)}},dependencies:[ht,qt,j,P,le,K,ce,Pt,Ce,I,Ue,D,F],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;flex-flow:row wrap;justify-content:flex-start;grid-template-columns:repeat(2,1fr)}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:50%}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (min-width: 1920px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:33%}}@media (max-width: 767px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{align-content:flex-start;grid-template-columns:1fr}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-flex;min-width:100%}}[_nghost-%COMP%] .add-button[_ngcontent-%COMP%]{position:fixed;right:4em;top:2em}"],changeDetection:0})}return n})();var jt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]})})}};var $t=class extends V{constructor(o){super({subject:new jt,instructor:new C("",{nonNullable:!0}),hours:new C(0,{nonNullable:!0,validators:[E.min(0)]})}),o&&this.patchValue(o)}get subject(){return this.controls.subject}},kt=class extends bt{constructor(){super([],{validators:[E.required]})}add(o){this.push(new $t(o))}childrenErrors=zt([]);updateErrors(){let o=this.controls.map(t=>t.errors);this.childrenErrors.set(o)}};var It=class extends bt{constructor(){super([])}add(o){this.push(new je(o))}};var Tt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]})})}patch(o){this.patchValue(o)}};var Vt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]}),institution:new Tt,subjects:new kt,goal:new C("",{nonNullable:!0,validators:[E.required]}),ead:new C(!1,{nonNullable:!0}),details:new C,link:new C,contributors:new It})}get institution(){return this.controls.institution}get contributors(){return this.controls.contributors}get subjects(){return this.controls.subjects}patch(o){if(this.patchValue(o),o.subjects){this.subjects.clear();for(let t of o.subjects)this.subjects.add(t)}if(o.contributors){this.contributors.clear();for(let t of o.contributors)this.contributors.add(t)}}};var En=(n,o)=>o.value,jn=(n,o)=>o.value.id;function kn(n,o){if(n&1){let t=M();a(0,"mat-form-field")(1,"mat-label"),l(2,"Professor"),r(),d(3,"input",22),r(),a(4,"mat-form-field")(5,"mat-label"),l(6,"Carga hor\xE1ria"),r(),d(7,"input",23),r(),a(8,"footer",24)(9,"button",7),p("click",function(){_(t);let i=f().$index,s=f();return g(s.form.subjects.removeAt(i))}),d(10,"devmx-icon",25),r()()}}function In(n,o){if(n&1&&(a(0,"mat-expansion-panel",10)(1,"mat-expansion-panel-header"),l(2),r(),h(3,kn,11,0,"ng-template",21),r()),n&2){let t=o.$implicit,e=o.$index;m("formGroupName",e),c(2),T(" ",t.subject.value.name," ")}}function Tn(n,o){n&1&&(a(0,"mat-error"),l(1,"Selecione ou cadastre ao menos uma assunto"),r())}function Vn(n,o){if(n&1){let t=M();a(0,"mat-list-item")(1,"span",26),l(2),r(),a(3,"button",27),p("click",function(){let i=_(t).$index,s=f();return g(s.form.contributors.removeAt(i))}),d(4,"devmx-icon",25),r()()}if(n&2){let t=o.$implicit;c(2),B(t.value.name)}}function An(n,o){if(n&1&&(a(0,"mat-list-item")(1,"span",26),l(2),r()()),n&2){let t=f();c(2),B(t.form.institution.value.name)}}var Nt=(()=>{class n{route=u(G);cdr=u(Bt);subjectFacade=u(xt);institutionFacade=u(L);institutionDialog=u(lt);subjectDialog=u(mt);selectAccount=u(Dt);courseFacade=u($);messageService=u(ge);form=new Vt;#t={openSubject:new at,searchSubject:new at,openInstitution:new at,searchInstitution:new at};constructor(){this.route.data.pipe(k()).subscribe(({course:t})=>{t&&t.id&&this.form.patch(t)})}openSelectContributor(){this.selectAccount.open({onlyRole:"academic",multiple:!0}).pipe(ft(1)).subscribe(t=>{if(t&&t.length)for(let e of t)this.form.contributors.add(e);this.cdr.detectChanges()})}openInstitution(t=null){return this.institutionDialog.openInstitution(t).afterClosed().pipe(N(this.#t.openInstitution)).subscribe(e=>{e&&(e.id?this.institutionFacade.update(e):this.institutionFacade.create(e))})}openSearchInstitution(){let t=this.institutionDialog.searchInstitution();t.componentInstance.addInstitution$.pipe(N(this.#t.searchInstitution)).subscribe(e=>{e&&this.openInstitution()}),t.afterClosed().pipe(N(this.#t.searchInstitution)).subscribe(e=>{e&&this.form.patchValue({institution:e}),this.#t.openInstitution.next(),this.#t.openInstitution.complete(),this.#t.searchInstitution.next(),this.#t.searchInstitution.complete()})}openSubject(t=null){return this.subjectDialog.openSubject(t).afterClosed().pipe(N(this.#t.openSubject)).subscribe(e=>{e&&(e.id?this.subjectFacade.update(e):this.subjectFacade.create(e))})}openSearchSubjects(){let t=this.subjectDialog.searchSubjects();t.componentInstance.addSubject$.pipe(N(this.#t.searchSubject)).subscribe(e=>{e&&this.openSubject(),console.log(e)}),t.afterClosed().pipe(N(this.#t.searchSubject)).subscribe(e=>{if(e&&e.length){for(let i of e){let s={hours:0,instructor:"",subject:i};this.form.subjects.add(s)}this.cdr.detectChanges()}this.#t.openSubject.next(),this.#t.openSubject.complete(),this.#t.searchSubject.next(),this.#t.searchSubject.complete()})}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return t.id?this.courseFacade.update(t):this.courseFacade.create(t),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-admin-course"]],decls:55,vars:8,consts:[[3,"submit","formGroup"],[1,"course"],[1,"course-content"],["matInput","","formControlName","name","autofocus",""],["formControlName","ead"],[1,"course-subjects"],["mat-subheader",""],["type","button","mat-icon-button","",3,"click"],["name","plus"],["formArrayName","subjects"],[3,"formGroupName"],[1,"course-contributors"],["formArrayName","contributors",1,"contributors"],[1,"course-institution"],["name","software/edit"],["label","Objetivo","hint","Compat\xEDvel com markdown do Github","formControlName","goal",3,"minRows"],[3,"content"],["label","Detalhes","hint","Compat\xEDvel com markdown do Github","formControlName","details",3,"minRows"],["matInput","","formControlName","link"],["align","end",1,"course-actions"],["mat-flat-button","",3,"disabled"],["matExpansionPanelContent",""],["matInput","","formControlName","instructor"],["matInput","","type","number","formControlName","hours","min","0"],[1,"course-subjects-action"],["name","trash"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"]],template:function(e,i){if(e&1&&(a(0,"form",0),p("submit",function(){return i.onSubmit()}),a(1,"mat-card",1)(2,"mat-card-content",2)(3,"section")(4,"mat-form-field")(5,"mat-label"),l(6,"Nome do curso"),r(),d(7,"input",3),a(8,"mat-error"),l(9,"Obrigat\xF3rio"),r()(),a(10,"mat-checkbox",4),l(11,"Ensino a dist\xE2ncia"),r(),a(12,"div",5)(13,"header")(14,"h3",6),l(15,"Disciplinas"),r(),a(16,"button",7),p("click",function(){return i.openSearchSubjects()}),d(17,"devmx-icon",8),r()(),a(18,"mat-accordion",9),O(19,In,4,2,"mat-expansion-panel",10,En),r(),h(21,Tn,2,0,"mat-error"),r(),a(22,"div",11)(23,"header")(24,"h3",6),l(25,"Contribuidores"),r(),a(26,"button",7),p("click",function(){return i.openSelectContributor()}),d(27,"devmx-icon",8),r()(),a(28,"mat-list",12),O(29,Vn,5,1,"mat-list-item",null,jn),r()(),a(31,"div",13)(32,"header")(33,"h3",6),l(34,"Institui\xE7\xE3o"),r(),a(35,"button",7),p("click",function(){return i.openSearchInstitution()}),d(36,"devmx-icon",14),r()(),a(37,"mat-list"),h(38,An,3,1,"mat-list-item"),r()()(),a(39,"section")(40,"devmx-markdown-toolbar"),d(41,"devmx-markdown-editor",15)(42,"devmx-markdown-view",16),r(),a(43,"devmx-markdown-toolbar"),d(44,"devmx-markdown-editor",17)(45,"devmx-markdown-view",16),r(),a(46,"mat-form-field")(47,"mat-label"),l(48,"Link"),r(),d(49,"input",18),a(50,"mat-hint"),l(51,"Opcional"),r()()()(),a(52,"mat-card-actions",19)(53,"button",20),l(54,"Salvar"),r()()()()),e&2){let s,v;m("formGroup",i.form),c(19),S(i.form.subjects.controls),c(2),x(i.form.subjects.touched&&i.form.subjects.hasError("required")?21:-1),c(8),S(i.form.contributors.controls),c(9),x(i.form.institution.valid?38:-1),c(3),m("minRows",10),c(),m("content",(s=i.form.value.goal)!==null&&s!==void 0?s:""),c(2),m("minRows",10),c(),m("content",(v=i.form.value.details)!==null&&v!==void 0?v:""),c(8),m("disabled",i.form.invalid)}},dependencies:[ye,Pe,ve,A,Kt,H,Xt,Q,Jt,ne,Yt,ee,Zt,te,fe,pe,ue,de,me,Se,Oe,U,q,Ut,Qt,Ht,Pt,P,R,K,Y,X,St,vt,Ot,Me,j,re,ae,se,oe,ie,D],styles:["[_nghost-%COMP%]{display:block;padding:1em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:100%;opacity:.72;margin-bottom:0}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{align-self:flex-start}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:1em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] header[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] header[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:8em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{width:3em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution-action[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors-action[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects-action[_ngcontent-%COMP%]{display:flex;justify-content:flex-end} body .mat-mdc-button .mdc-button__label{display:inline-flex;align-items:center;gap:4px}"],changeDetection:0})}return n})();var Wr=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},title:"Administra\xE7\xE3o",providers:nn,component:He,children:[{path:"meus-cursos/novo",data:{breadcrumb:"Novo"},title:"Novo curso",component:Nt},{path:"meus-cursos/:id",data:{breadcrumb:n=>n.course.name},title:"Curso",resolve:{course:on},component:Nt},{path:"meus-cursos",data:{breadcrumb:"Meus cursos"},title:"Meus cursos",component:an},{path:"gerenciar-cursos",data:{breadcrumb:"Gerenciar cursos"},title:"Gerenciar cursos",canActivate:[we("director","manager","staff")],component:rn},{path:"",pathMatch:"prefix",redirectTo:"meus-cursos"}]}];export{He as AcademyFeatureAdminComponent,Wr as academyFeatureAdminRoutes}; +import{a as Ue}from"./chunk-3ICSMDPT.js";import{a as je}from"./chunk-DQZ22ZG2.js";import{a as me,b as ue,c as de,f as pe,g as fe}from"./chunk-GXWUGGBK.js";import{a as it,b as Ft}from"./chunk-OOIIDBJ2.js";import{d as wt,e as Ee}from"./chunk-75BM4JAG.js";import{a as Pe,b as ye}from"./chunk-FJPP4CEK.js";import{a as Dt,b as Ie}from"./chunk-R4QCZCL2.js";import{a as Oe,b as Se}from"./chunk-I7HMQKPZ.js";import{a as Te,b as Ve,c as Ae,d as Re,e as $e,f as Ne,g as Le,h as ze,i as Be,j as Ge,k as qe}from"./chunk-TDAJGOKB.js";import{a as yt,b as Fe}from"./chunk-HOUESFGN.js";import{a as ke}from"./chunk-5XJFAPMG.js";import{a as we}from"./chunk-Z63MF55O.js";import{a as Z,b as De,c as tt,e as et,f as nt,g as ot}from"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{a as $,b as L,c as xt,e as _e}from"./chunk-XCFSI5KM.js";import{a as ge}from"./chunk-FTG3SWGJ.js";import{a as Ce,b as Pt,c as I}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-5ZT2NHQS.js";import{a as ve}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import"./chunk-XIUDFJWJ.js";import{a as xe}from"./chunk-5MUU2WLY.js";import{s as Wt}from"./chunk-7BKB7KKA.js";import"./chunk-J4P2XXRU.js";import{d as X,e as Y}from"./chunk-A74J7Y3C.js";import{b as Ut,c as Ht,d as Qt,i as q,j as U}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as k}from"./chunk-366DNJGU.js";import{g as G,h as Gt,i as Ct,j as qt,p as ht,q as R,u as ce,v as K,w as le,x as P}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as oe,c as ie,f as re,g as ae,h as W,i as se,k as J,l as j}from"./chunk-UANEMOTZ.js";import{a as vt,b as he,c as Me,e as Ot,f as be,i as St}from"./chunk-BJ2ND26O.js";import{a as D,c as H,e as E,h as Q,i as Jt,j as V,l as C,m as Kt,n as Xt,o as Mt,p as Yt,q as Zt,r as te,s as ee,t as ne,w as bt,x as A}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$ as N,$b as O,F as Lt,Fb as zt,J as pt,Jc as y,Kc as w,L as ft,Nb as h,Sc as Bt,Tb as m,Yb as x,ac as S,bc as a,cc as r,dc as d,ec as _t,fc as gt,hc as M,j as at,je as F,k as ut,ka as u,kc as p,lb as c,mc as f,t as st,ta as _,u as dt,ua as g,ub as b,wc as z,xc as l,yc as B,zc as T}from"./chunk-5L47ZUSK.js";var He=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-feature-admin"]],decls:1,vars:0,template:function(e,i){e&1&&d(0,"router-outlet")},dependencies:[Gt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return n})();var sn=(n,o)=>o.id;function cn(n,o){if(n&1&&(a(0,"mat-list-option",7),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function ln(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-form-field"),d(2,"input",3),r(),a(3,"button",4),p("click",function(){_(t);let i=f();return g(i.addInstitution())}),d(4,"devmx-icon",5),a(5,"span"),l(6,"Adicionar institui\xE7\xE3o"),r()(),a(7,"mat-selection-list",6,0),O(9,cn,2,2,"mat-list-option",7,sn),r(),a(11,"devmx-paginator",8),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(12,"mat-dialog-actions",9)(13,"button",10),p("click",function(){_(t);let i=z(8),s=f();return g(s.close(i.selectedOptions.selected[0]))}),l(14," Salvar "),r(),a(15,"button",11),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(16,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(2),m("formControl",e.search),c(2),m("size",18),c(3),m("multiple",!1),c(2),S(t.data),c(2),m("items",t.items)}}var Ke=(()=>{class n{institutionFacade=u(L);ref=u(Z);search=new C("");#t=new ut(!1);addInstitution$=this.#t.asObservable();constructor(){this.search.valueChanges.pipe(pt(300)).pipe(k()).subscribe(t=>{let e=t||"";this.institutionFacade.setFilter({name:e}),this.institutionFacade.load()}),this.institutionFacade.load()}addInstitution(){this.#t.value===!0&&this.#t.next(!1),this.#t.next(!0)}close(t){this.ref.close(t.value)}onPageChange({page:t,size:e}){this.institutionFacade.setParams({page:t,size:e}),this.institutionFacade.load()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-admin-search-institution"]],decls:4,vars:3,consts:[["institutions",""],["mat-dialog-title",""],[1,"dialog-content"],["matInput","","placeholder","Qual institui\xE7\xE3o procura?",3,"formControl"],["type","button","mat-button","",1,"add-institution",3,"click"],["name","plus",3,"size"],[1,"institutions",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre institui\xE7\xF5es"),r(),h(2,ln,17,4),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.institutionFacade.response$))?2:-1,s)}},dependencies:[A,H,Q,Mt,U,q,I,et,nt,ot,P,R,Y,X,D,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .institutions[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .add-institution[_ngcontent-%COMP%]{align-self:flex-end}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var mn=(n,o)=>o.id;function un(n,o){if(n&1&&(a(0,"mat-list-option",7),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function dn(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-form-field"),d(2,"input",3),r(),a(3,"button",4),p("click",function(){_(t);let i=f();return g(i.addSubject())}),d(4,"devmx-icon",5),a(5,"span"),l(6,"Adicionar assunto"),r()(),a(7,"mat-selection-list",6,0),O(9,un,2,2,"mat-list-option",7,mn),r(),a(11,"devmx-paginator",8),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(12,"mat-dialog-actions",9)(13,"button",10),p("click",function(){_(t);let i=z(8),s=f();return g(s.close(i.selectedOptions.selected))}),l(14," Salvar "),r(),a(15,"button",11),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(16,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(2),m("formControl",e.search),c(2),m("size",18),c(5),S(t.data),c(2),m("items",t.items)}}var Xe=(()=>{class n{subjectFacade=u(xt);ref=u(Z);search=new C("");#t=new ut(!1);addSubject$=this.#t.asObservable();constructor(){this.search.valueChanges.pipe(pt(300)).pipe(k()).subscribe(t=>{let e=t||"";this.subjectFacade.setFilter({name:e}),this.subjectFacade.load()}),this.subjectFacade.load()}addSubject(){this.#t.value===!0&&this.#t.next(!1),this.#t.next(!0)}close(t){this.ref.close(t.map(e=>e.value))}onPageChange({page:t,size:e}){this.subjectFacade.setParams({page:t,size:e})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-admin-search-subjects"]],decls:4,vars:3,consts:[["subjects",""],["mat-dialog-title",""],[1,"dialog-content"],["matInput","","placeholder","Qual assunto procura?",3,"formControl"],["type","button","mat-button","",1,"add-subject",3,"click"],["name","plus",3,"size"],[1,"subjects"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre assuntos"),r(),h(2,dn,17,3),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.subjectFacade.response$))?2:-1,s)}},dependencies:[A,H,Q,Mt,U,q,I,et,nt,ot,P,R,Y,X,D,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .subjects[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .add-subject[_ngcontent-%COMP%]{align-self:flex-end}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var lt=class{dialog;formService;constructor(o,t){this.dialog=o,this.formService=t}openInstitution(o=null){let t={id:it({label:"ID",type:"hidden",value:o&&o.id?o.id:""}),name:it({label:"Nome",type:"text",value:o&&o.name?o.name:"",errors:{required:"Obrigat\xF3rio"}})},e=Ft(t),i=(o?"Editar":"Cadastrar")+" institui\xE7\xE3o";return this.formService.open({title:i,fields:t,form:e})}searchInstitution(){return this.dialog.open(Ke)}};function Ye(){return{provide:lt,deps:[tt,wt]}}var mt=class{dialog;formService;constructor(o,t){this.dialog=o,this.formService=t}openSubject(o=null){let t={id:it({label:"ID",type:"hidden",value:o&&o.id?o.id:""}),name:it({label:"Assunto",type:"text",value:o&&o.name?o.name:"",errors:{required:"Obrigat\xF3rio"}})},e=Ft(t),i=(o?"Editar":"Cadastrar")+" assunto";return this.formService.open({title:i,fields:t,form:e})}searchSubjects(){return this.dialog.open(Xe)}};function Ze(){return{provide:mt,deps:[tt,wt]}}var pn=(n,o)=>o.id;function fn(n,o){if(n&1&&(a(0,"mat-list-option",4),l(1),r()),n&2){let t=o.$implicit;m("value",t),c(),T(" ",t.name," ")}}function _n(n,o){if(n&1){let t=M();a(0,"mat-dialog-content",2)(1,"mat-selection-list",3,0),O(3,fn,2,2,"mat-list-option",4,pn),r(),a(5,"devmx-paginator",5),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()(),a(6,"mat-dialog-actions",6)(7,"button",7),p("click",function(){_(t);let i=z(2),s=f();return g(s.close(i.selectedOptions.selected))}),l(8," Selecionar "),r(),a(9,"button",8),p("click",function(){_(t);let i=f();return g(i.ref.close())}),l(10,"Cancelar"),r()()}if(n&2){let t=o,e=f();c(),m("multiple",e.data.multiple),c(2),S(t.data),c(2),m("items",t.items)}}var tn=(()=>{class n{institutionFacade=u(L);ref=u(Z);data=u(De);constructor(){this.institutionFacade.load()}onSearchChange(t){this.institutionFacade.setFilter(t),this.institutionFacade.load()}onPageChange({page:t,size:e}){this.institutionFacade.setParams({page:t,size:e}),this.institutionFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(e=>e.value)):this.ref.close(t[0].value)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-select-institution"]],decls:4,vars:3,consts:[["institution",""],["mat-dialog-title",""],[1,"dialog-content"],[1,"institutions",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(e,i){if(e&1&&(a(0,"h2",1),l(1,"Encontre institui\xE7\xF5es"),r(),h(2,_n,11,2),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.institutionFacade.response$))?2:-1,s)}},dependencies:[A,I,et,nt,ot,P,R,j,J,W,F],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .institutions[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return n})();var Et=class{dialog;constructor(o){this.dialog=o}open(o={}){return this.dialog.open(tn,{data:o}).afterClosed().pipe(ft(1))}};function en(){return{provide:Et,deps:[tt]}}var nn=[en(),Ye(),Ie(),Ze(),Ee(),Fe()];var on=n=>_e(u($),n.params);function Cn(n,o){n&1&&(a(0,"th",15),l(1,"Nome do curso"),r())}function hn(n,o){if(n&1&&(a(0,"td",16),l(1),r()),n&2){let t=o.$implicit;c(),B(t.name)}}function Mn(n,o){n&1&&(a(0,"th",15),l(1,"Criado por"),r())}function bn(n,o){if(n&1&&(a(0,"td",16),l(1),r()),n&2){let t=o.$implicit;c(),B(t.owner.displayName)}}function xn(n,o){n&1&&d(0,"th",15)}function Pn(n,o){if(n&1){let t=M();a(0,"td",16)(1,"button",17),p("click",function(){let i=_(t).$implicit,s=f(2);return g(s.openDelete(i))}),d(2,"devmx-icon",18),r()()}}function vn(n,o){n&1&&d(0,"tr",19)}function On(n,o){n&1&&d(0,"tr",20)}function Sn(n,o){if(n&1){let t=M();a(0,"table",5),_t(1,6),h(2,Cn,2,0,"th",7)(3,hn,2,1,"td",8),gt(),_t(4,9),h(5,Mn,2,0,"th",7)(6,bn,2,1,"td",8),gt(),_t(7,10),h(8,xn,1,0,"th",7)(9,Pn,3,0,"td",8),gt(),h(10,vn,1,0,"tr",11)(11,On,1,0,"tr",12),r(),a(12,"mat-card-actions",13)(13,"devmx-paginator",14),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()()}if(n&2){let t=o,e=f();m("dataSource",t.data),c(10),m("matHeaderRowDef",e.columns),c(),m("matRowDefColumns",e.columns),c(2),m("size",10)("items",t.items)}}var rn=(()=>{class n{router=u(Ct);route=u(G);dialogFacade=u(yt);courseFacade=u($);selectUser=u(Dt);#t=Wt(null);columns=["name","owner","actions"];constructor(){let t=this.#t.observe().pipe(st(i=>i?i.id:"")),e=this.route.queryParams;dt([t,e]).pipe(k()).subscribe(this.onQueryParams)}onQueryParams=([t,e])=>{let{page:i=0,size:s=10}=e,v={name:"",owner:t};this.courseFacade.setParams({page:i,size:s,filter:v}),this.courseFacade.load()};openDelete({id:t,name:e}){this.dialogFacade.confirm(`Confirme que deseja apagar o curso ${e}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.courseFacade.delete(t)})}openSelectUser(){this.selectUser.open({onlyRole:"academic",multiple:!1}).subscribe(t=>{t&&this.#t.update(t)})}onSearchChange(t=""){this.courseFacade.setFilter({name:t}),this.courseFacade.load()}onPageChange({page:t,size:e}){let i={page:t,size:e};this.router.navigate([],{queryParams:i})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-career-admin-manage-courses"]],decls:10,vars:4,consts:[[1,"courses-card"],[1,"courses-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(e,i){if(e&1&&(a(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),l(3,"Cursos"),r(),a(4,"div")(5,"button",2),p("click",function(){return i.openSelectUser()}),d(6,"devmx-icon",3),r(),a(7,"devmx-search-field",4),p("searchChange",function(v){return i.onSearchChange(v)}),r()()(),h(8,Sn,14,5),y(9,"async"),r()),e&2){let s;c(7),m("debounce",1e3),c(),x((s=w(9,2,i.courseFacade.response$))?8:-1,s)}},dependencies:[ht,P,K,ke,I,qe,Te,Ae,Le,Re,Ve,ze,$e,Ne,Be,Ge,St,vt,Ot,be,he,D,F],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .courses-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .courses-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .courses-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return n})();var yn=(n,o)=>o.id;function wn(n,o){if(n&1){let t=M();a(0,"devmx-course-card",3)(1,"a",6),d(2,"devmx-icon",7),r(),a(3,"button",8),p("click",function(){let i=_(t).$implicit,s=f(2);return g(s.deleteCourse(i))}),d(4,"devmx-icon",9),r()()}if(n&2){let t=o.$implicit;m("data",t),c(),m("routerLink",t.id)}}function Fn(n,o){n&1&&(a(0,"div",4)(1,"h2"),l(2,"N\xE3o temos nada aqui..."),r(),a(3,"h3"),l(4," Siga nessa dire\xE7\xE3o "),d(5,"devmx-icon",10)(6,"br"),l(7," at\xE9 encontrar o bot\xE3o com um "),d(8,"devmx-icon",11)(9,"br"),l(10," e cadastre seus cursos. "),d(11,"devmx-icon",12),r()()),n&2&&(c(5),m("size",32),c(3),m("size",32),c(3),m("size",32))}function Dn(n,o){if(n&1){let t=M();a(0,"div",2),O(1,wn,5,2,"devmx-course-card",3,yn),r(),h(3,Fn,12,3,"div",4),a(4,"footer")(5,"devmx-paginator",5),p("pageChange",function(i){_(t);let s=f();return g(s.onPageChange(i))}),r()()}if(n&2){let t=o;c(),S(t.data),c(2),x(t.items?-1:3),c(2),m("size",10)("items",t.items)}}var an=(()=>{class n{router=u(Ct);route=u(G);dialogFacade=u(yt);authFacade=u(xe);courseFacade=u($);constructor(){let t=this.authFacade.auth$.pipe(Lt(i=>!!i),st(({id:i})=>i)),e=this.route.queryParams.pipe(st(({page:i,size:s,open:v=null,active:At=null})=>({page:i,size:s,open:v,active:At})));dt([t,e]).pipe(k()).subscribe(this.onQueryParams)}onQueryParams=([t,e])=>{let{page:i,size:s,name:v=""}=e,At={name:v,owner:t};this.courseFacade.setParams({page:i,size:s,filter:At}),this.courseFacade.load()};deleteCourse({id:t,name:e}){this.dialogFacade.confirm(`Confirme que deseja apagar o curso ${e}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.courseFacade.delete(t)})}onPageChange({page:t,size:e}){let i={page:t,size:e};this.router.navigate([],{queryParams:i})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-admin-my-courses"]],decls:4,vars:3,consts:[["mat-fab","","routerLink","novo",1,"add-button","tertiary-fab"],["name","plus"],[1,"courses-container"],[3,"data"],[1,"no-courses-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar curso","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar curso","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(e,i){if(e&1&&(a(0,"a",0),d(1,"devmx-icon",1),r(),h(2,Dn,6,3),y(3,"async")),e&2){let s;c(2),x((s=w(3,1,i.courseFacade.response$))?2:-1,s)}},dependencies:[ht,qt,j,P,le,K,ce,Pt,Ce,I,Ue,D,F],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;flex-flow:row wrap;justify-content:flex-start;grid-template-columns:repeat(2,1fr)}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:50%}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-courses-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (min-width: 1920px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:33%}}@media (max-width: 767px){[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%]{align-content:flex-start;grid-template-columns:1fr}[_nghost-%COMP%] .courses-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-flex;min-width:100%}}[_nghost-%COMP%] .add-button[_ngcontent-%COMP%]{position:fixed;right:4em;top:2em}"],changeDetection:0})}return n})();var jt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]})})}};var $t=class extends V{constructor(o){super({subject:new jt,instructor:new C("",{nonNullable:!0}),hours:new C(0,{nonNullable:!0,validators:[E.min(0)]})}),o&&this.patchValue(o)}get subject(){return this.controls.subject}},kt=class extends bt{constructor(){super([],{validators:[E.required]})}add(o){this.push(new $t(o))}childrenErrors=zt([]);updateErrors(){let o=this.controls.map(t=>t.errors);this.childrenErrors.set(o)}};var It=class extends bt{constructor(){super([])}add(o){this.push(new je(o))}};var Tt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]})})}patch(o){this.patchValue(o)}};var Vt=class extends V{constructor(){super({id:new C("",{nonNullable:!0}),name:new C("",{nonNullable:!0,validators:[E.required]}),institution:new Tt,subjects:new kt,goal:new C("",{nonNullable:!0,validators:[E.required]}),ead:new C(!1,{nonNullable:!0}),details:new C,link:new C,contributors:new It})}get institution(){return this.controls.institution}get contributors(){return this.controls.contributors}get subjects(){return this.controls.subjects}patch(o){if(this.patchValue(o),o.subjects){this.subjects.clear();for(let t of o.subjects)this.subjects.add(t)}if(o.contributors){this.contributors.clear();for(let t of o.contributors)this.contributors.add(t)}}};var En=(n,o)=>o.value,jn=(n,o)=>o.value.id;function kn(n,o){if(n&1){let t=M();a(0,"mat-form-field")(1,"mat-label"),l(2,"Professor"),r(),d(3,"input",22),r(),a(4,"mat-form-field")(5,"mat-label"),l(6,"Carga hor\xE1ria"),r(),d(7,"input",23),r(),a(8,"footer",24)(9,"button",7),p("click",function(){_(t);let i=f().$index,s=f();return g(s.form.subjects.removeAt(i))}),d(10,"devmx-icon",25),r()()}}function In(n,o){if(n&1&&(a(0,"mat-expansion-panel",10)(1,"mat-expansion-panel-header"),l(2),r(),h(3,kn,11,0,"ng-template",21),r()),n&2){let t=o.$implicit,e=o.$index;m("formGroupName",e),c(2),T(" ",t.subject.value.name," ")}}function Tn(n,o){n&1&&(a(0,"mat-error"),l(1,"Selecione ou cadastre ao menos uma assunto"),r())}function Vn(n,o){if(n&1){let t=M();a(0,"mat-list-item")(1,"span",26),l(2),r(),a(3,"button",27),p("click",function(){let i=_(t).$index,s=f();return g(s.form.contributors.removeAt(i))}),d(4,"devmx-icon",25),r()()}if(n&2){let t=o.$implicit;c(2),B(t.value.name)}}function An(n,o){if(n&1&&(a(0,"mat-list-item")(1,"span",26),l(2),r()()),n&2){let t=f();c(2),B(t.form.institution.value.name)}}var Nt=(()=>{class n{route=u(G);cdr=u(Bt);subjectFacade=u(xt);institutionFacade=u(L);institutionDialog=u(lt);subjectDialog=u(mt);selectAccount=u(Dt);courseFacade=u($);messageService=u(ge);form=new Vt;#t={openSubject:new at,searchSubject:new at,openInstitution:new at,searchInstitution:new at};constructor(){this.route.data.pipe(k()).subscribe(({course:t})=>{t&&t.id&&this.form.patch(t)})}openSelectContributor(){this.selectAccount.open({onlyRole:"academic",multiple:!0}).pipe(ft(1)).subscribe(t=>{if(t&&t.length)for(let e of t)this.form.contributors.add(e);this.cdr.detectChanges()})}openInstitution(t=null){return this.institutionDialog.openInstitution(t).afterClosed().pipe(N(this.#t.openInstitution)).subscribe(e=>{e&&(e.id?this.institutionFacade.update(e):this.institutionFacade.create(e))})}openSearchInstitution(){let t=this.institutionDialog.searchInstitution();t.componentInstance.addInstitution$.pipe(N(this.#t.searchInstitution)).subscribe(e=>{e&&this.openInstitution()}),t.afterClosed().pipe(N(this.#t.searchInstitution)).subscribe(e=>{e&&this.form.patchValue({institution:e}),this.#t.openInstitution.next(),this.#t.openInstitution.complete(),this.#t.searchInstitution.next(),this.#t.searchInstitution.complete()})}openSubject(t=null){return this.subjectDialog.openSubject(t).afterClosed().pipe(N(this.#t.openSubject)).subscribe(e=>{e&&(e.id?this.subjectFacade.update(e):this.subjectFacade.create(e))})}openSearchSubjects(){let t=this.subjectDialog.searchSubjects();t.componentInstance.addSubject$.pipe(N(this.#t.searchSubject)).subscribe(e=>{e&&this.openSubject(),console.log(e)}),t.afterClosed().pipe(N(this.#t.searchSubject)).subscribe(e=>{if(e&&e.length){for(let i of e){let s={hours:0,instructor:"",subject:i};this.form.subjects.add(s)}this.cdr.detectChanges()}this.#t.openSubject.next(),this.#t.openSubject.complete(),this.#t.searchSubject.next(),this.#t.searchSubject.complete()})}onSubmit(){if(this.form.valid){let t=this.form.getRawValue();return t.id?this.courseFacade.update(t):this.courseFacade.create(t),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=b({type:n,selectors:[["devmx-academy-admin-course"]],decls:55,vars:8,consts:[[3,"submit","formGroup"],[1,"course"],[1,"course-content"],["matInput","","formControlName","name","autofocus",""],["formControlName","ead"],[1,"course-subjects"],["mat-subheader",""],["type","button","mat-icon-button","",3,"click"],["name","plus"],["formArrayName","subjects"],[3,"formGroupName"],[1,"course-contributors"],["formArrayName","contributors",1,"contributors"],[1,"course-institution"],["name","software/edit"],["label","Objetivo","hint","Compat\xEDvel com markdown do Github","formControlName","goal",3,"minRows"],[3,"content"],["label","Detalhes","hint","Compat\xEDvel com markdown do Github","formControlName","details",3,"minRows"],["matInput","","formControlName","link"],["align","end",1,"course-actions"],["mat-flat-button","",3,"disabled"],["matExpansionPanelContent",""],["matInput","","formControlName","instructor"],["matInput","","type","number","formControlName","hours","min","0"],[1,"course-subjects-action"],["name","trash"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"]],template:function(e,i){if(e&1&&(a(0,"form",0),p("submit",function(){return i.onSubmit()}),a(1,"mat-card",1)(2,"mat-card-content",2)(3,"section")(4,"mat-form-field")(5,"mat-label"),l(6,"Nome do curso"),r(),d(7,"input",3),a(8,"mat-error"),l(9,"Obrigat\xF3rio"),r()(),a(10,"mat-checkbox",4),l(11,"Ensino a dist\xE2ncia"),r(),a(12,"div",5)(13,"header")(14,"h3",6),l(15,"Disciplinas"),r(),a(16,"button",7),p("click",function(){return i.openSearchSubjects()}),d(17,"devmx-icon",8),r()(),a(18,"mat-accordion",9),O(19,In,4,2,"mat-expansion-panel",10,En),r(),h(21,Tn,2,0,"mat-error"),r(),a(22,"div",11)(23,"header")(24,"h3",6),l(25,"Contribuidores"),r(),a(26,"button",7),p("click",function(){return i.openSelectContributor()}),d(27,"devmx-icon",8),r()(),a(28,"mat-list",12),O(29,Vn,5,1,"mat-list-item",null,jn),r()(),a(31,"div",13)(32,"header")(33,"h3",6),l(34,"Institui\xE7\xE3o"),r(),a(35,"button",7),p("click",function(){return i.openSearchInstitution()}),d(36,"devmx-icon",14),r()(),a(37,"mat-list"),h(38,An,3,1,"mat-list-item"),r()()(),a(39,"section")(40,"devmx-markdown-toolbar"),d(41,"devmx-markdown-editor",15)(42,"devmx-markdown-view",16),r(),a(43,"devmx-markdown-toolbar"),d(44,"devmx-markdown-editor",17)(45,"devmx-markdown-view",16),r(),a(46,"mat-form-field")(47,"mat-label"),l(48,"Link"),r(),d(49,"input",18),a(50,"mat-hint"),l(51,"Opcional"),r()()()(),a(52,"mat-card-actions",19)(53,"button",20),l(54,"Salvar"),r()()()()),e&2){let s,v;m("formGroup",i.form),c(19),S(i.form.subjects.controls),c(2),x(i.form.subjects.touched&&i.form.subjects.hasError("required")?21:-1),c(8),S(i.form.contributors.controls),c(9),x(i.form.institution.valid?38:-1),c(3),m("minRows",10),c(),m("content",(s=i.form.value.goal)!==null&&s!==void 0?s:""),c(2),m("minRows",10),c(),m("content",(v=i.form.value.details)!==null&&v!==void 0?v:""),c(8),m("disabled",i.form.invalid)}},dependencies:[ye,Pe,ve,A,Kt,H,Xt,Q,Jt,ne,Yt,ee,Zt,te,fe,pe,ue,de,me,Se,Oe,U,q,Ut,Qt,Ht,Pt,P,R,K,Y,X,St,vt,Ot,Me,j,re,ae,se,oe,ie,D],styles:["[_nghost-%COMP%]{display:block;padding:1em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:100%;opacity:.72;margin-bottom:0}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{align-self:flex-start}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:1em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] header[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] header[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:8em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{width:3em}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-institution-action[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-contributors-action[_ngcontent-%COMP%], [_nghost-%COMP%] .course-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.course-subjects-action[_ngcontent-%COMP%]{display:flex;justify-content:flex-end} body .mat-mdc-button .mdc-button__label{display:inline-flex;align-items:center;gap:4px}"],changeDetection:0})}return n})();var Wr=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},title:"Administra\xE7\xE3o",providers:nn,component:He,children:[{path:"meus-cursos/novo",data:{breadcrumb:"Novo"},title:"Novo curso",component:Nt},{path:"meus-cursos/:id",data:{breadcrumb:n=>n.course.name},title:"Curso",resolve:{course:on},component:Nt},{path:"meus-cursos",data:{breadcrumb:"Meus cursos"},title:"Meus cursos",component:an},{path:"gerenciar-cursos",data:{breadcrumb:"Gerenciar cursos"},title:"Gerenciar cursos",canActivate:[we("director","manager","staff")],component:rn},{path:"",pathMatch:"prefix",redirectTo:"meus-cursos"}]}];export{He as AcademyFeatureAdminComponent,Wr as academyFeatureAdminRoutes}; diff --git a/chunk-BLJCB4Q7.js b/chunk-EJAMDHKS.js similarity index 98% rename from chunk-BLJCB4Q7.js rename to chunk-EJAMDHKS.js index e6fc52b7..25ace48c 100644 --- a/chunk-BLJCB4Q7.js +++ b/chunk-EJAMDHKS.js @@ -1 +1 @@ -import{a as Et,b as Lt}from"./chunk-2XST3EDK.js";import{i as Ct,o as V,r as zt}from"./chunk-AND6K73U.js";import{a as Dt}from"./chunk-BJXILAOS.js";import{B as Mt,v as St,x as wt,y as Ot}from"./chunk-6BGAZ7SQ.js";import{H as bt,Q as yt,S as Pt,T as Tt,U as It,Y as X,f as ut,i as ft,na as xt,s as vt,t as H,u as j}from"./chunk-W5KNOAKV.js";import{$ as g,$b as lt,Ea as J,Eb as nt,Fa as tt,Ha as et,Ia as G,Ja as E,Mb as st,Nb as D,Pa as it,Sb as y,Sc as N,Tb as d,Va as ot,Vb as Y,Vc as F,Wc as M,Yb as P,Yd as _t,_b as rt,a as x,ac as pt,bc as s,cc as p,dc as O,ea as Z,ed as gt,fa as z,ha as S,hc as T,j as C,ka as r,kc as c,l as $,la as Q,lb as l,ma as W,mb as L,mc as h,qc as dt,rc as ct,sc as ht,ta as _,ua as u,ub as b,va as w,vb as A,wa as q,wb as at,wc as mt,xc as f,yc as R,za as K,zc as k}from"./chunk-TEKHUYWQ.js";var Ht=["tooltip"],Nt=20;var Ft=new S("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let o=r(V);return()=>o.scrollStrategies.reposition({scrollThrottle:Nt})}});function jt(o){return()=>o.scrollStrategies.reposition({scrollThrottle:Nt})}var Xt={provide:Ft,deps:[V],useFactory:jt};function Ut(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var $t=new S("mat-tooltip-default-options",{providedIn:"root",factory:Ut});var At="tooltip-panel",Rt=ft({passive:!0}),Zt=8,Qt=8,Wt=24,qt=200,Vt=(()=>{class o{_overlay=r(V);_elementRef=r(E);_scrollDispatcher=r(Ot);_viewContainerRef=r(nt);_ngZone=r(tt);_platform=r(ut);_ariaDescriber=r(bt);_focusMonitor=r(yt);_dir=r(It);_injector=r(K);_defaultOptions=r($t,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=r(Ft);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Kt;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=H(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=H(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=j(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=j(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=r(gt);_touchstartTimeout=null;_destroyed=new C;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._dir.change.pipe(g(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Zt}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(g(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,Rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new Dt(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=i.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(g(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof E)return this._overlayRef;this._detach()}let e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(g(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${At}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(g(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(g(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(g(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!vt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),a=this._getOverlayPosition();e.withPositions([this._addOffset(x(x({},i.main),a.main)),this._addOffset(x(x({},i.fallback),a.fallback))])}_addOffset(t){let e=Qt,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:a,y:n}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:a,originY:n}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:a,y:n}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:a,overlayY:n}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ot(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:a}=t,n;if(e==="center"?this._dir&&this._dir.value==="rtl"?n=i==="end"?"left":"right":n=i==="start"?"left":"right":n=e==="bottom"&&a==="top"?"above":"below",n!==this._currentPosition){let m=this._overlayRef;if(m){let I=`${this._cssClassPrefix}-${At}-`;m.removePanelClass(I+this._currentPosition),m.addPanelClass(I+n)}this._currentPosition=n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}],["wheel",e=>this._wheelListener(e)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([e,i])=>{this._elementRef.nativeElement.addEventListener(e,i,Rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(e){return new(e||o)};static \u0275dir=at({type:o,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&Y("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return o})(),Kt=(()=>{class o{_changeDetectorRef=r(N);_elementRef=r(E);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new C;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let t=r(it,{optional:!0});this._animationsDisabled=t==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>Wt&&t.width>=qt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,a=this._hideAnimation;if(e.classList.remove(t?a:i),e.classList.add(t?i:a),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let n=getComputedStyle(e);(n.getPropertyValue("animation-duration")==="0s"||n.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=b({type:o,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&dt(Ht,7),e&2){let a;ct(a=ht())&&(i._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&c("mouseleave",function(n){return i._handleMouseLeave(n)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){if(e&1){let a=T();s(0,"div",1,0),c("animationend",function(m){return _(a),u(i._handleAnimationEnd(m))}),s(2,"div",2),f(3),p()()}e&2&&(Y("mdc-tooltip--multiline",i._isMultiline),d("ngClass",i.tooltipClass),l(3),R(i.message))},dependencies:[_t],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return o})();var Bt=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=A({type:o});static \u0275inj=z({providers:[Xt],imports:[Pt,zt,X,X,Mt]})}return o})();function Jt(o,v){if(o&1&&(s(0,"mat-option",17),f(1),p()),o&2){let t=v.$implicit;d("value",t),l(),k(" ",t," ")}}function te(o,v){if(o&1){let t=T();s(0,"mat-form-field",14)(1,"mat-select",16,0),c("selectionChange",function(i){_(t);let a=h(2);return u(a._changePageSize(i.value))}),lt(3,Jt,2,2,"mat-option",17,rt),p(),s(5,"div",18),c("click",function(){_(t);let i=mt(2);return u(i.open())}),p()()}if(o&2){let t=h(2);d("appearance",t._formFieldAppearance)("color",t.color),l(),d("value",t.pageSize)("disabled",t.disabled)("aria-labelledby",t._pageSizeLabelId)("panelClass",t.selectConfig.panelClass||"")("disableOptionCentering",t.selectConfig.disableOptionCentering),l(2),pt(t._displayedPageSizeOptions)}}function ee(o,v){if(o&1&&(s(0,"div",15),f(1),p()),o&2){let t=h(2);l(),R(t.pageSize)}}function ie(o,v){if(o&1&&(s(0,"div",3)(1,"div",13),f(2),p(),D(3,te,6,7,"mat-form-field",14)(4,ee,2,1,"div",15),p()),o&2){let t=h();l(),y("id",t._pageSizeLabelId),l(),k(" ",t._intl.itemsPerPageLabel," "),l(),P(t._displayedPageSizeOptions.length>1?3:-1),l(),P(t._displayedPageSizeOptions.length<=1?4:-1)}}function oe(o,v){if(o&1){let t=T();s(0,"button",19),c("click",function(){_(t);let i=h();return u(i.firstPage())}),w(),s(1,"svg",8),O(2,"path",20),p()()}if(o&2){let t=h();d("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),y("aria-label",t._intl.firstPageLabel)}}function ae(o,v){if(o&1){let t=T();s(0,"button",21),c("click",function(){_(t);let i=h();return u(i.lastPage())}),w(),s(1,"svg",8),O(2,"path",22),p()()}if(o&2){let t=h();d("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),y("aria-label",t._intl.lastPageLabel)}}var B=(()=>{class o{changes=new C;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(t,e,i)=>{if(i==0||e==0)return`0 of ${i}`;i=Math.max(i,0);let a=t*e,n=a{class o{_intl;_changeDetectorRef;_formFieldAppearance;_pageSizeLabelId=r(Tt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new $(1);color;get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(t||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(t){this._length=t||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(t||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(e=>M(e,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new J;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(t,e,i){if(this._intl=t,this._changeDetectorRef=e,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:a,pageSizeOptions:n,hidePageSize:m,showFirstLastButtons:I}=i;a!=null&&(this._pageSize=a),n!=null&&(this._pageSizeOptions=n),m!=null&&(this.hidePageSize=m),I!=null&&(this.showFirstLastButtons=I)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static \u0275fac=function(e){return new(e||o)(L(B),L(N),L(le,8))};static \u0275cmp=b({type:o,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",M],length:[2,"length","length",M],pageSize:[2,"pageSize","pageSize",M],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",F],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",F],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",F]},outputs:{page:"page"},exportAs:["matPaginator"],features:[st],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){e&1&&(s(0,"div",1)(1,"div",2),D(2,ie,5,4,"div",3),s(3,"div",4)(4,"div",5),f(5),p(),D(6,oe,3,5,"button",6),s(7,"button",7),c("click",function(){return i.previousPage()}),w(),s(8,"svg",8),O(9,"path",9),p()(),q(),s(10,"button",10),c("click",function(){return i.nextPage()}),w(),s(11,"svg",8),O(12,"path",11),p()(),D(13,ae,3,5,"button",12),p()()()),e&2&&(l(2),P(i.hidePageSize?-1:2),l(3),k(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),l(),P(i.showFirstLastButtons?6:-1),l(),d("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),y("aria-label",i._intl.previousPageLabel),l(3),d("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),y("aria-label",i._intl.nextPageLabel),l(3),P(i.showFirstLastButtons?13:-1))},dependencies:[Ct,Et,xt,St,Vt],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}return o})(),Gt=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=A({type:o});static \u0275inj=z({providers:[se],imports:[wt,Lt,Bt,U]})}return o})();var Ke=(()=>{class o{items=G(0);size=G(10);pageChange=et();onChange({pageIndex:t,pageSize:e}){this.pageChange.emit({page:t,size:e})}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=b({type:o,selectors:[["devmx-paginator"]],inputs:{items:[1,"items"],size:[1,"size"]},outputs:{pageChange:"pageChange"},decls:1,vars:2,consts:[["hidePageSize","",3,"page","pageSize","length"]],template:function(e,i){e&1&&(s(0,"mat-paginator",0),c("page",function(n){return i.onChange(n)}),p()),e&2&&d("pageSize",i.size())("length",i.items())},dependencies:[Gt,U],styles:["[_nghost-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] .mat-mdc-paginator[_ngcontent-%COMP%]{background-color:transparent}"],changeDetection:0})}return o})();export{Vt as a,Bt as b,Ke as c}; +import{a as Et,b as Lt}from"./chunk-KCQYBIUM.js";import{i as Ct,o as V,r as zt}from"./chunk-TJJFEYFG.js";import{a as Dt}from"./chunk-76QZXEBP.js";import{B as Mt,v as St,x as wt,y as Ot}from"./chunk-7RMPQIRR.js";import{J as bt,S as yt,U as Pt,V as Tt,W as It,_ as X,h as ut,k as ft,pa as xt,u as vt,v as H,w as j}from"./chunk-CG5OOKZO.js";import{$ as g,$b as lt,Ea as J,Eb as nt,Fa as tt,Ha as et,Ia as G,Ja as E,Mb as st,Nb as D,Pa as it,Sb as y,Sc as N,Tb as d,Va as ot,Vb as Y,Vc as F,Wc as M,Yb as P,Yd as _t,_b as rt,a as x,ac as pt,bc as s,cc as p,dc as O,ea as Z,ed as gt,fa as z,ha as S,hc as T,j as C,ka as r,kc as c,l as $,la as Q,lb as l,ma as W,mb as L,mc as h,qc as dt,rc as ct,sc as ht,ta as _,ua as u,ub as b,va as w,vb as A,wa as q,wb as at,wc as mt,xc as f,yc as R,za as K,zc as k}from"./chunk-5L47ZUSK.js";var Ht=["tooltip"],Nt=20;var Ft=new S("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let o=r(V);return()=>o.scrollStrategies.reposition({scrollThrottle:Nt})}});function jt(o){return()=>o.scrollStrategies.reposition({scrollThrottle:Nt})}var Xt={provide:Ft,deps:[V],useFactory:jt};function Ut(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var $t=new S("mat-tooltip-default-options",{providedIn:"root",factory:Ut});var At="tooltip-panel",Rt=ft({passive:!0}),Zt=8,Qt=8,Wt=24,qt=200,Vt=(()=>{class o{_overlay=r(V);_elementRef=r(E);_scrollDispatcher=r(Ot);_viewContainerRef=r(nt);_ngZone=r(tt);_platform=r(ut);_ariaDescriber=r(bt);_focusMonitor=r(yt);_dir=r(It);_injector=r(K);_defaultOptions=r($t,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=r(Ft);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Kt;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=H(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=H(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=j(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=j(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=r(gt);_touchstartTimeout=null;_destroyed=new C;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._dir.change.pipe(g(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Zt}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(g(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,Rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new Dt(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=i.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(g(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof E)return this._overlayRef;this._detach()}let e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(g(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${At}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(g(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(g(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(g(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!vt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),a=this._getOverlayPosition();e.withPositions([this._addOffset(x(x({},i.main),a.main)),this._addOffset(x(x({},i.fallback),a.fallback))])}_addOffset(t){let e=Qt,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:a,y:n}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:a,originY:n}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:a,y:n}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:a,overlayY:n}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ot(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:a}=t,n;if(e==="center"?this._dir&&this._dir.value==="rtl"?n=i==="end"?"left":"right":n=i==="start"?"left":"right":n=e==="bottom"&&a==="top"?"above":"below",n!==this._currentPosition){let m=this._overlayRef;if(m){let I=`${this._cssClassPrefix}-${At}-`;m.removePanelClass(I+this._currentPosition),m.addPanelClass(I+n)}this._currentPosition=n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}],["wheel",e=>this._wheelListener(e)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([e,i])=>{this._elementRef.nativeElement.addEventListener(e,i,Rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(e){return new(e||o)};static \u0275dir=at({type:o,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&Y("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return o})(),Kt=(()=>{class o{_changeDetectorRef=r(N);_elementRef=r(E);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new C;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let t=r(it,{optional:!0});this._animationsDisabled=t==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>Wt&&t.width>=qt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,a=this._hideAnimation;if(e.classList.remove(t?a:i),e.classList.add(t?i:a),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let n=getComputedStyle(e);(n.getPropertyValue("animation-duration")==="0s"||n.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=b({type:o,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&dt(Ht,7),e&2){let a;ct(a=ht())&&(i._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&c("mouseleave",function(n){return i._handleMouseLeave(n)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){if(e&1){let a=T();s(0,"div",1,0),c("animationend",function(m){return _(a),u(i._handleAnimationEnd(m))}),s(2,"div",2),f(3),p()()}e&2&&(Y("mdc-tooltip--multiline",i._isMultiline),d("ngClass",i.tooltipClass),l(3),R(i.message))},dependencies:[_t],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return o})();var Bt=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=A({type:o});static \u0275inj=z({providers:[Xt],imports:[Pt,zt,X,X,Mt]})}return o})();function Jt(o,v){if(o&1&&(s(0,"mat-option",17),f(1),p()),o&2){let t=v.$implicit;d("value",t),l(),k(" ",t," ")}}function te(o,v){if(o&1){let t=T();s(0,"mat-form-field",14)(1,"mat-select",16,0),c("selectionChange",function(i){_(t);let a=h(2);return u(a._changePageSize(i.value))}),lt(3,Jt,2,2,"mat-option",17,rt),p(),s(5,"div",18),c("click",function(){_(t);let i=mt(2);return u(i.open())}),p()()}if(o&2){let t=h(2);d("appearance",t._formFieldAppearance)("color",t.color),l(),d("value",t.pageSize)("disabled",t.disabled)("aria-labelledby",t._pageSizeLabelId)("panelClass",t.selectConfig.panelClass||"")("disableOptionCentering",t.selectConfig.disableOptionCentering),l(2),pt(t._displayedPageSizeOptions)}}function ee(o,v){if(o&1&&(s(0,"div",15),f(1),p()),o&2){let t=h(2);l(),R(t.pageSize)}}function ie(o,v){if(o&1&&(s(0,"div",3)(1,"div",13),f(2),p(),D(3,te,6,7,"mat-form-field",14)(4,ee,2,1,"div",15),p()),o&2){let t=h();l(),y("id",t._pageSizeLabelId),l(),k(" ",t._intl.itemsPerPageLabel," "),l(),P(t._displayedPageSizeOptions.length>1?3:-1),l(),P(t._displayedPageSizeOptions.length<=1?4:-1)}}function oe(o,v){if(o&1){let t=T();s(0,"button",19),c("click",function(){_(t);let i=h();return u(i.firstPage())}),w(),s(1,"svg",8),O(2,"path",20),p()()}if(o&2){let t=h();d("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),y("aria-label",t._intl.firstPageLabel)}}function ae(o,v){if(o&1){let t=T();s(0,"button",21),c("click",function(){_(t);let i=h();return u(i.lastPage())}),w(),s(1,"svg",8),O(2,"path",22),p()()}if(o&2){let t=h();d("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),y("aria-label",t._intl.lastPageLabel)}}var B=(()=>{class o{changes=new C;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(t,e,i)=>{if(i==0||e==0)return`0 of ${i}`;i=Math.max(i,0);let a=t*e,n=a{class o{_intl;_changeDetectorRef;_formFieldAppearance;_pageSizeLabelId=r(Tt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new $(1);color;get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(t||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(t){this._length=t||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(t||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(e=>M(e,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new J;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(t,e,i){if(this._intl=t,this._changeDetectorRef=e,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:a,pageSizeOptions:n,hidePageSize:m,showFirstLastButtons:I}=i;a!=null&&(this._pageSize=a),n!=null&&(this._pageSizeOptions=n),m!=null&&(this.hidePageSize=m),I!=null&&(this.showFirstLastButtons=I)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static \u0275fac=function(e){return new(e||o)(L(B),L(N),L(le,8))};static \u0275cmp=b({type:o,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",M],length:[2,"length","length",M],pageSize:[2,"pageSize","pageSize",M],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",F],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",F],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",F]},outputs:{page:"page"},exportAs:["matPaginator"],features:[st],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){e&1&&(s(0,"div",1)(1,"div",2),D(2,ie,5,4,"div",3),s(3,"div",4)(4,"div",5),f(5),p(),D(6,oe,3,5,"button",6),s(7,"button",7),c("click",function(){return i.previousPage()}),w(),s(8,"svg",8),O(9,"path",9),p()(),q(),s(10,"button",10),c("click",function(){return i.nextPage()}),w(),s(11,"svg",8),O(12,"path",11),p()(),D(13,ae,3,5,"button",12),p()()()),e&2&&(l(2),P(i.hidePageSize?-1:2),l(3),k(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),l(),P(i.showFirstLastButtons?6:-1),l(),d("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),y("aria-label",i._intl.previousPageLabel),l(3),d("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),y("aria-label",i._intl.nextPageLabel),l(3),P(i.showFirstLastButtons?13:-1))},dependencies:[Ct,Et,xt,St,Vt],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}return o})(),Gt=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=A({type:o});static \u0275inj=z({providers:[se],imports:[wt,Lt,Bt,U]})}return o})();var Ke=(()=>{class o{items=G(0);size=G(10);pageChange=et();onChange({pageIndex:t,pageSize:e}){this.pageChange.emit({page:t,size:e})}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=b({type:o,selectors:[["devmx-paginator"]],inputs:{items:[1,"items"],size:[1,"size"]},outputs:{pageChange:"pageChange"},decls:1,vars:2,consts:[["hidePageSize","",3,"page","pageSize","length"]],template:function(e,i){e&1&&(s(0,"mat-paginator",0),c("page",function(n){return i.onChange(n)}),p()),e&2&&d("pageSize",i.size())("length",i.items())},dependencies:[Gt,U],styles:["[_nghost-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] .mat-mdc-paginator[_ngcontent-%COMP%]{background-color:transparent}"],changeDetection:0})}return o})();export{Vt as a,Bt as b,Ke as c}; diff --git a/chunk-ZHS65JNW.js b/chunk-EM27EDGS.js similarity index 97% rename from chunk-ZHS65JNW.js rename to chunk-EM27EDGS.js index c7d45796..983ec476 100644 --- a/chunk-ZHS65JNW.js +++ b/chunk-EM27EDGS.js @@ -1 +1 @@ -import{$b as s,Ia as t,_b as r,ac as a,dc as g,ub as o}from"./chunk-TEKHUYWQ.js";function p(e,l){e&1&&g(0,"div",0)}var M=(()=>{class e{rows=t(2);#e=[];items(){return this.#e.length=this.rows(),this.#e}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=o({type:e,selectors:[["devmx-skeleton"]],inputs:{rows:[1,"rows"]},decls:2,vars:0,consts:[["aria-label","caregando...","aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton","progress"]],template:function(n,c){n&1&&s(0,p,1,0,"div",0,r),n&2&&a(c.items())},styles:['[_nghost-%COMP%]{--background: rgba(180, 200, 190, .2);--progress: rgba(255, 255, 255, .6);--progress-dark: rgba(0, 0, 0, .2);display:inline-flex;flex-direction:column;gap:1em}[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:var(--background) no-repeat;width:100%;height:20px;display:inline-block;border-radius:6px;will-change:transform}[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]:before{box-sizing:border-box}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%], [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,rgba(255,255,255,0),var(--progress),rgba(255,255,255,0))}[_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,var(--progress-dark),transparent)}@media (prefers-reduced-motion: reduce){[_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%], [_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before{animation:none}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0})}return e})();export{M as a}; +import{$b as s,Ia as t,_b as r,ac as a,dc as g,ub as o}from"./chunk-5L47ZUSK.js";function p(e,l){e&1&&g(0,"div",0)}var M=(()=>{class e{rows=t(2);#e=[];items(){return this.#e.length=this.rows(),this.#e}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=o({type:e,selectors:[["devmx-skeleton"]],inputs:{rows:[1,"rows"]},decls:2,vars:0,consts:[["aria-label","caregando...","aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton","progress"]],template:function(n,c){n&1&&s(0,p,1,0,"div",0,r),n&2&&a(c.items())},styles:['[_nghost-%COMP%]{--background: rgba(180, 200, 190, .2);--progress: rgba(255, 255, 255, .6);--progress-dark: rgba(0, 0, 0, .2);display:inline-flex;flex-direction:column;gap:1em}[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:var(--background) no-repeat;width:100%;height:20px;display:inline-block;border-radius:6px;will-change:transform}[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]:before{box-sizing:border-box}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%], [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:after, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,rgba(255,255,255,0),var(--progress),rgba(255,255,255,0))}[_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,var(--progress-dark),transparent)}@media (prefers-reduced-motion: reduce){[_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%], [_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before{animation:none}[_nghost-%COMP%] .skeleton.progress[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .skeleton.progress-dark[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){[_nghost-%COMP%] .skeleton[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0})}return e})();export{M as a}; diff --git a/chunk-MEIYYXQK.js b/chunk-F7SWVKKK.js similarity index 77% rename from chunk-MEIYYXQK.js rename to chunk-F7SWVKKK.js index f0ffa741..f163afbc 100644 --- a/chunk-MEIYYXQK.js +++ b/chunk-F7SWVKKK.js @@ -1 +1 @@ -import{a as o}from"./chunk-2IAXMR6M.js";import{e as n}from"./chunk-6BGAZ7SQ.js";import{mb as a,xb as i}from"./chunk-TEKHUYWQ.js";var s=(()=>{class r{transform(t){return o(t??"",{gfm:!0,async:!1})}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=i({name:"markdown",type:r,pure:!0})}return r})();var u=(()=>{class r{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(e){return new(e||r)(a(n,16))};static \u0275pipe=i({name:"html",type:r,pure:!0})}return r})();export{s as a,u as b}; +import{a as o}from"./chunk-SBPBG2DZ.js";import{e as n}from"./chunk-7RMPQIRR.js";import{mb as a,xb as i}from"./chunk-5L47ZUSK.js";var s=(()=>{class r{transform(t){return o(t??"",{gfm:!0,async:!1})}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=i({name:"markdown",type:r,pure:!0})}return r})();var u=(()=>{class r{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(e){return new(e||r)(a(n,16))};static \u0275pipe=i({name:"html",type:r,pure:!0})}return r})();export{s as a,u as b}; diff --git a/chunk-VHE4TYFV.js b/chunk-FJPP4CEK.js similarity index 90% rename from chunk-VHE4TYFV.js rename to chunk-FJPP4CEK.js index bb1fbd8f..9d40b640 100644 --- a/chunk-VHE4TYFV.js +++ b/chunk-FJPP4CEK.js @@ -1,4 +1,4 @@ -import{a as ie,b as re}from"./chunk-AFH22WZE.js";import{d as oe}from"./chunk-YFMYPYPE.js";import{a as T}from"./chunk-WD4JQH2Z.js";import{a as Z,b as ee,d as te,e as ne}from"./chunk-VVQ6JEVH.js";import{b as j,c as Q,d as N,i as q,j as B}from"./chunk-AND6K73U.js";import{t as X,x as Y}from"./chunk-6BGAZ7SQ.js";import{a as K,c as M,g as U,h as H,l as G,o as J,x as W}from"./chunk-EDIJ2EBQ.js";import{Fb as D,Gb as I,Ia as m,Ib as g,Ja as F,Kb as O,Nb as P,Tb as _,Yb as $,bc as a,cc as l,dc as u,hc as z,kc as c,lb as d,mb as x,nc as L,oc as b,sb as A,ta as E,tc as y,ua as S,ub as h,uc as V,vc as C,xc as p,yc as k}from"./chunk-TEKHUYWQ.js";var se=["textareaRef"],R=(()=>{class r extends M{ngControl;textareaRef=I("textareaRef");get textarea(){let n=this.textareaRef();return n?n.nativeElement:null}autofocus=m(!1);get hasAutofocus(){let n=this.autofocus();return n===!0||n===""}resize=m(!0);label=m("");hint=m("");error=m("");minRows=m(5);maxRows=m(10);get control(){return this.ngControl.control??new G}constructor(n,t,e){super(n,t,!0),this.ngControl=e,this.ngControl.valueAccessor=this}handleKeydown(n){if(n.key==="Enter"&&this.textarea){let{selectionStart:t,value:e}=this.textarea,o=e.lastIndexOf(` +import{a as ie,b as re}from"./chunk-I7HMQKPZ.js";import{d as oe}from"./chunk-5ZT2NHQS.js";import{a as T}from"./chunk-VTXFVMCI.js";import{a as Z,b as ee,d as te,e as ne}from"./chunk-A74J7Y3C.js";import{b as j,c as Q,d as N,i as q,j as B}from"./chunk-TJJFEYFG.js";import{t as X,x as Y}from"./chunk-7RMPQIRR.js";import{a as K,c as M,g as U,h as H,l as G,o as J,x as W}from"./chunk-E5QACR6S.js";import{Fb as D,Gb as I,Ia as m,Ib as g,Ja as F,Kb as O,Nb as P,Tb as _,Yb as $,bc as a,cc as l,dc as u,hc as z,kc as c,lb as d,mb as x,nc as L,oc as b,sb as A,ta as E,tc as y,ua as S,ub as h,uc as V,vc as C,xc as p,yc as k}from"./chunk-5L47ZUSK.js";var se=["textareaRef"],R=(()=>{class r extends M{ngControl;textareaRef=I("textareaRef");get textarea(){let n=this.textareaRef();return n?n.nativeElement:null}autofocus=m(!1);get hasAutofocus(){let n=this.autofocus();return n===!0||n===""}resize=m(!0);label=m("");hint=m("");error=m("");minRows=m(5);maxRows=m(10);get control(){return this.ngControl.control??new G}constructor(n,t,e){super(n,t,!0),this.ngControl=e,this.ngControl.valueAccessor=this}handleKeydown(n){if(n.key==="Enter"&&this.textarea){let{selectionStart:t,value:e}=this.textarea,o=e.lastIndexOf(` `,t-1)+1,i=e.slice(o,t),s=i.match(/^(\d+)\.\s/);if(s){if(i.match(/^(\d+)\.\s$/))return;n.preventDefault(),this.handleOrderedList(s,e,t)}if(i.match(/^-\s/)){if(i.match(/^-\s$/))return;n.preventDefault(),this.handleUnorderedList(e,t)}}}handleOrderedList(n,t,e){let i=parseInt(n[1],10)+1,s=t.slice(0,e),f=t.slice(e),v=`${s} ${i}. ${f}`;this.control.setValue(v),queueMicrotask(()=>{if(this.textarea){let w=e+` ${i}. `.length;this.textarea.setSelectionRange(w,w)}})}handleUnorderedList(n,t){let e=n.slice(0,t),o=n.slice(t),i=`${e} diff --git a/chunk-GXQHMTZK.js b/chunk-FKKUCUPL.js similarity index 96% rename from chunk-GXQHMTZK.js rename to chunk-FKKUCUPL.js index 8ea4604d..2da83f0a 100644 --- a/chunk-GXQHMTZK.js +++ b/chunk-FKKUCUPL.js @@ -1 +1 @@ -import{A as a,a as f,b as u,c as m,e as S,f as i,u as k}from"./chunk-XYJHVZQT.js";var c=class extends a{};var t=class extends f{};var s=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.create(e)}};var o=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.delete(e)}};var l=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.findOne(e)}};var p=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.find(e)}};var n=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.update(e.id,e)}};var d=class extends a{createSkillUseCase;findSkillsUseCase;findSkillByIdUseCase;updateSkillUseCase;deleteSkillUseCase;constructor(e,y,B,D,E){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createSkillUseCase=e,this.findSkillsUseCase=y,this.findSkillByIdUseCase=B,this.updateSkillUseCase=D,this.deleteSkillUseCase=E}load(){this.onLoad(this.findSkillsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findSkillByIdUseCase.execute(e))}create(e){this.onCreate(this.createSkillUseCase.execute(e))}update(e){this.onUpdate(this.updateSkillUseCase.execute(e))}delete(e){this.onDelete(this.deleteSkillUseCase.execute(e))}};function v(){return S(c,d,[s,p,l,n,o])}function C(){return[v()]}var x=class extends k{};function U(){return{provide:t,useFactory(r,e){return new x(r,e,"skills")},deps:[m,u]}}function h(){return[U()]}function O(){return i(s,[t])}function H(){return i(p,[t])}function I(){return i(l,[t])}function L(){return i(n,[t])}function g(){return i(o,[t])}function F(){return[O(),H(),I(),L(),g()]}function Ee(){return[...h(),...F(),...C()]}export{c as a,Ee as b}; +import{A as a,a as f,b as u,c as m,e as S,f as i,u as k}from"./chunk-7BKB7KKA.js";var c=class extends a{};var t=class extends f{};var s=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.create(e)}};var o=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.delete(e)}};var l=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.findOne(e)}};var p=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.find(e)}};var n=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.update(e.id,e)}};var d=class extends a{createSkillUseCase;findSkillsUseCase;findSkillByIdUseCase;updateSkillUseCase;deleteSkillUseCase;constructor(e,y,B,D,E){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createSkillUseCase=e,this.findSkillsUseCase=y,this.findSkillByIdUseCase=B,this.updateSkillUseCase=D,this.deleteSkillUseCase=E}load(){this.onLoad(this.findSkillsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findSkillByIdUseCase.execute(e))}create(e){this.onCreate(this.createSkillUseCase.execute(e))}update(e){this.onUpdate(this.updateSkillUseCase.execute(e))}delete(e){this.onDelete(this.deleteSkillUseCase.execute(e))}};function v(){return S(c,d,[s,p,l,n,o])}function C(){return[v()]}var x=class extends k{};function U(){return{provide:t,useFactory(r,e){return new x(r,e,"skills")},deps:[m,u]}}function h(){return[U()]}function O(){return i(s,[t])}function H(){return i(p,[t])}function I(){return i(l,[t])}function L(){return i(n,[t])}function g(){return i(o,[t])}function F(){return[O(),H(),I(),L(),g()]}function Ee(){return[...h(),...F(),...C()]}export{c as a,Ee as b}; diff --git a/chunk-WOE5TNBB.js b/chunk-FTG3SWGJ.js similarity index 97% rename from chunk-WOE5TNBB.js rename to chunk-FTG3SWGJ.js index 018f4cfe..25f153e3 100644 --- a/chunk-WOE5TNBB.js +++ b/chunk-FTG3SWGJ.js @@ -1,2 +1,2 @@ -import{k as ft,o as ht}from"./chunk-AND6K73U.js";import{a as V,b as pt,c as ut,f as H}from"./chunk-BJXILAOS.js";import{q as D,x as N}from"./chunk-6BGAZ7SQ.js";import{c as st,d as F,g as R,h as L,j as z}from"./chunk-I7VYXJU2.js";import{D as ct,E as lt,P as dt,T as mt,f as rt}from"./chunk-W5KNOAKV.js";import{$ as W,Fa as Z,Ja as K,Kb as $,Nb as k,Sb as G,Sc as at,Tb as Y,Yb as M,Yd as ot,a as f,bc as d,cc as c,dc as J,ea as y,ed as it,ha as E,hc as B,j as p,jc as tt,ka as o,kc as w,lb as l,lc as et,mc as g,ob as X,qc as O,rc as I,sc as P,ta as A,ua as C,ub as v,wb as S,xc as h,yc as nt,za as x,zc as j}from"./chunk-TEKHUYWQ.js";function yt(a,m){if(a&1){let t=B();d(0,"div",1)(1,"button",2),w("click",function(){A(t);let n=g();return C(n.action())}),h(2),c()()}if(a&2){let t=g();l(2),j(" ",t.data.action," ")}}var At=["label"];function Ct(a,m){}var xt=Math.pow(2,31)-1,u=class{_overlayRef;instance;containerInstance;_afterDismissed=new p;_afterOpened=new p;_onAction=new p;_durationTimeoutId;_dismissedByAction=!1;constructor(m,t){this._overlayRef=t,this.containerInstance=m,m._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(m){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(m,xt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},T=new E("MatSnackBarData"),_=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},q=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return a})(),Q=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return a})(),U=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return a})(),St=(()=>{class a{snackBarRef=o(u);data=o(T);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=v({type:a,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(d(0,"div",0),h(1),c(),k(2,yt,3,1,"div",1)),e&2&&(l(),j(" ",n.data.message,` +import{k as ft,o as ht}from"./chunk-TJJFEYFG.js";import{a as V,b as pt,c as ut,f as H}from"./chunk-76QZXEBP.js";import{q as D,x as N}from"./chunk-7RMPQIRR.js";import{c as st,d as F,g as R,h as L,j as z}from"./chunk-I7VYXJU2.js";import{F as ct,G as lt,R as dt,V as mt,h as rt}from"./chunk-CG5OOKZO.js";import{$ as W,Fa as Z,Ja as K,Kb as $,Nb as k,Sb as G,Sc as at,Tb as Y,Yb as M,Yd as ot,a as f,bc as d,cc as c,dc as J,ea as y,ed as it,ha as E,hc as B,j as p,jc as tt,ka as o,kc as w,lb as l,lc as et,mc as g,ob as X,qc as O,rc as I,sc as P,ta as A,ua as C,ub as v,wb as S,xc as h,yc as nt,za as x,zc as j}from"./chunk-5L47ZUSK.js";function yt(a,m){if(a&1){let t=B();d(0,"div",1)(1,"button",2),w("click",function(){A(t);let n=g();return C(n.action())}),h(2),c()()}if(a&2){let t=g();l(2),j(" ",t.data.action," ")}}var At=["label"];function Ct(a,m){}var xt=Math.pow(2,31)-1,u=class{_overlayRef;instance;containerInstance;_afterDismissed=new p;_afterOpened=new p;_onAction=new p;_durationTimeoutId;_dismissedByAction=!1;constructor(m,t){this._overlayRef=t,this.containerInstance=m,m._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(m){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(m,xt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},T=new E("MatSnackBarData"),_=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},q=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return a})(),Q=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return a})(),U=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=S({type:a,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return a})(),St=(()=>{class a{snackBarRef=o(u);data=o(T);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=v({type:a,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(d(0,"div",0),h(1),c(),k(2,yt,3,1,"div",1)),e&2&&(l(),j(" ",n.data.message,` `),l(),M(n.hasAction?2:-1))},dependencies:[D,q,Q,U],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return a})(),Mt={snackBarState:st("state",[L("void, hidden",R({transform:"scale(0.8)",opacity:0})),L("visible",R({transform:"scale(1)",opacity:1})),z("* => visible",F("150ms cubic-bezier(0, 0, 0.2, 1)")),z("* => void, * => hidden",F("75ms cubic-bezier(0.4, 0.0, 1, 1)",R({opacity:0})))])},Bt=(()=>{class a extends ut{_ngZone=o(Z);_elementRef=o(K);_changeDetectorRef=o(at);_platform=o(rt);snackBarConfig=o(_);_document=o(it);_trackedModals=new Set;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new p;_onExit=new p;_onEnter=new p;_animationState="void";_live;_label;_role;_liveElementId=o(mt).getId("mat-snack-bar-container-live-");constructor(){super();let t=this.snackBarConfig;t.politeness==="assertive"&&!t.announcementMessage?this._live="assertive":t.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}attachDomPortal=t=>{this._assertNotAttached();let e=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),e};onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let i=this._onEnter;this._ngZone.run(()=>{i.next(),i.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(s=>t.classList.add(s)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,i="mdc-snackbar__label";n.classList.toggle(i,!n.querySelector(`.${i}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=v({type:a,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&(O(H,7),O(At,7)),e&2){let i;I(i=P())&&(n._portalOutlet=i.first),I(i=P())&&(n._label=i.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&et("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&tt("@state",n._animationState)},features:[$],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(d(0,"div",1)(1,"div",2,0)(3,"div",3),k(4,Ct,0,0,"ng-template",4),c(),J(5,"div"),c()()),e&2&&(l(5),G("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[H],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Mt.snackBarState]}})}return a})();function wt(){return new _}var Rt=new E("mat-snack-bar-default-options",{providedIn:"root",factory:wt}),bt=(()=>{class a{_overlay=o(ht);_live=o(dt);_injector=o(x);_breakpointObserver=o(ct);_parentSnackBar=o(a,{optional:!0,skipSelf:!0});_defaultConfig=o(Rt);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=St;snackBarContainerComponent=Bt;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(){}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let i=f(f({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=x.create({parent:n||this._injector,providers:[{provide:_,useValue:e}]}),s=new V(this.snackBarContainerComponent,e.viewContainerRef,i),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=f(f(f({},new _),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),r=new u(s,i);if(t instanceof X){let b=new pt(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(b)}else{let b=this._createInjector(n,r),kt=new V(t,void 0,b),gt=s.attachComponentPortal(kt);r.instance=gt.instance}return this._breakpointObserver.observe(lt.HandsetPortrait).pipe(W(i.detachments())).subscribe(b=>{i.overlayElement.classList.toggle(this.handsetCssClass,b.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new ft;e.direction=t.direction;let n=this._overlay.position().global(),i=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!i||t.horizontalPosition==="end"&&i,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return x.create({parent:n||this._injector,providers:[{provide:u,useValue:e},{provide:T,useValue:t.data}]})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=y({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Dt(a,m){if(a&1){let t=B();d(0,"button",4),w("click",function(){A(t);let n=g();return C(n.messageRef.closeWithAction())}),h(1," Fechar "),c()}}var vt=(()=>{class a{data=o(T);messageRef=o(u);static \u0275fac=function(e){return new(e||a)};static \u0275cmp=v({type:a,selectors:[["devmx-message"]],decls:5,vars:3,consts:[[3,"ngClass"],["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","type","button","matSnackBarAction","","color","error"],["mat-button","","type","button","matSnackBarAction","","color","error",3,"click"]],template:function(e,n){e&1&&(d(0,"div",0)(1,"em",1),h(2),c(),d(3,"menu",2),k(4,Dt,2,0,"button",3),c()()),e&2&&(Y("ngClass",n.data.type),l(2),nt(n.data.message),l(2),M(n.data.action?4:-1))},dependencies:[ot,N,D,q,Q,U],styles:["[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .info[_ngcontent-%COMP%]{--mat-snack-bar-button-color: #39b44d}[_nghost-%COMP%] .warn[_ngcontent-%COMP%]{--mat-snack-bar-button-color: #f6db0f}[_nghost-%COMP%] .error[_ngcontent-%COMP%]{--mat-snack-bar-button-color: #ff3333}[_nghost-%COMP%] em[_ngcontent-%COMP%]{font-style:normal;font-size:1em}"]})}return a})();var pe=(()=>{class a{#t=o(bt);open(t){t.type??="info",t.action??=!1;let e=t.message,n={data:t,announcementMessage:e,duration:3e3};return this.#t.openFromComponent(vt,n)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=y({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();export{pe as a}; diff --git a/chunk-L2JQY5SP.js b/chunk-FY4SNPSV.js similarity index 96% rename from chunk-L2JQY5SP.js rename to chunk-FY4SNPSV.js index d40e385c..95276150 100644 --- a/chunk-L2JQY5SP.js +++ b/chunk-FY4SNPSV.js @@ -1 +1 @@ -import{A as D,a as S,b as P,c as A,d as F,f as o,u as y}from"./chunk-XYJHVZQT.js";import{F as H,O as w,ba as L,c as E}from"./chunk-TEKHUYWQ.js";var s=class extends S{};var i=class extends S{};var c=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.create(e)}};var d=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.create(e)}};var m=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.delete(e)}};var l=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.delete(e)}};var h=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.findOne(e)}};var x=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.find(e)}};var f=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.findOne(e)}};var v=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.find(e)}};var C=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.update(e.id,e)}};var U=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.update(e.id,e)}};var b=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.upload(e)}};var g=class extends D{createAlbumUseCase;findAlbumsUseCase;findAlbumByIdUseCase;updateAlbumUseCase;deleteAlbumUseCase;constructor(e,r,n,p,a){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:""}},selected:null}),this.createAlbumUseCase=e,this.findAlbumsUseCase=r,this.findAlbumByIdUseCase=n,this.updateAlbumUseCase=p,this.deleteAlbumUseCase=a}load(){this.onLoad(this.findAlbumsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findAlbumByIdUseCase.execute(e))}create(e){return this.createAlbumUseCase.execute(e)}update(e){let r=this.updateAlbumUseCase.execute(e).pipe(L(()=>this.loadOne(e.id)));return this.onUpdate(r),r}delete(e){this.onDelete(this.deleteAlbumUseCase.execute(e))}};function $(){return F(g,[c,x,h,C,m])}var B=class extends D{createPhotoUseCase;findPhotosUseCase;findPhotoByIdUseCase;updatePhotoUseCase;deletePhotoUseCase;uploadPhotoUseCase;constructor(e,r,n,p,a,u){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{caption:""}},selected:null}),this.createPhotoUseCase=e,this.findPhotosUseCase=r,this.findPhotoByIdUseCase=n,this.updatePhotoUseCase=p,this.deletePhotoUseCase=a,this.uploadPhotoUseCase=u}load(){this.onLoad(this.findPhotosUseCase.execute(this.state.params))}upload(e){return this.uploadPhotoUseCase.execute(e)}loadOne(e){this.onLoadOne(this.findPhotoByIdUseCase.execute(e))}create(e){return this.createPhotoUseCase.execute(e)}update(e){let r=this.updatePhotoUseCase.execute(e);return this.onUpdate(r),this.loadOne(e.id),r}delete(e){return this.deletePhotoUseCase.execute(e)}};function q(){return F(B,[d,v,f,U,l,b])}function z(){return[$(),q()]}var O=class extends y{upload({album:e,photo:r,width:n,height:p,caption:a}){let u=new FormData;u.append("file",r),u.append("album",e),u.append("width",String(n)),u.append("height",String(p)),u.append("caption",a??"");let G=[this.url,e,"upload"];return this.http.post(G.join("/"),u,{reportProgress:!0,observe:"events"})}};function j(){return{provide:s,useFactory(t,e){return new O(t,e,"albums")},deps:[A,P]}}var I=class extends y{upload(n){var p=n,{photo:e}=p,r=E(p,["photo"]);let a=new FormData;return a.set("file",e),this.http.post(this.url,r,{body:a,reportProgress:!0,observe:"events"})}};function R(){return{provide:i,useFactory(t,e){return new I(t,e,"photos")},deps:[A,P]}}function W(){return[j(),R()]}function J(){return o(c,[s])}function K(){return o(x,[s])}function M(){return o(h,[s])}function N(){return o(C,[s])}function Q(){return o(m,[s])}function T(){return o(d,[i])}function V(){return o(v,[i])}function X(){return o(f,[i])}function Y(){return o(U,[i])}function Z(){return o(l,[i])}function _(){return o(b,[s])}function k(){return[J(),K(),M(),N(),Q(),T(),V(),X(),Y(),Z(),_()]}function vt(){return[...W(),...k(),...z()]}var bt=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(w(),H(r=>!!r)));export{g as a,B as b,vt as c,bt as d}; +import{A as D,a as S,b as P,c as A,d as F,f as o,u as y}from"./chunk-7BKB7KKA.js";import{F as H,O as w,ba as L,c as E}from"./chunk-5L47ZUSK.js";var s=class extends S{};var i=class extends S{};var c=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.create(e)}};var d=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.create(e)}};var m=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.delete(e)}};var l=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.delete(e)}};var h=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.findOne(e)}};var x=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.find(e)}};var f=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.findOne(e)}};var v=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.find(e)}};var C=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.update(e.id,e)}};var U=class{photoService;constructor(e){this.photoService=e}execute(e){return this.photoService.update(e.id,e)}};var b=class{albumService;constructor(e){this.albumService=e}execute(e){return this.albumService.upload(e)}};var g=class extends D{createAlbumUseCase;findAlbumsUseCase;findAlbumByIdUseCase;updateAlbumUseCase;deleteAlbumUseCase;constructor(e,r,n,p,a){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:""}},selected:null}),this.createAlbumUseCase=e,this.findAlbumsUseCase=r,this.findAlbumByIdUseCase=n,this.updateAlbumUseCase=p,this.deleteAlbumUseCase=a}load(){this.onLoad(this.findAlbumsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findAlbumByIdUseCase.execute(e))}create(e){return this.createAlbumUseCase.execute(e)}update(e){let r=this.updateAlbumUseCase.execute(e).pipe(L(()=>this.loadOne(e.id)));return this.onUpdate(r),r}delete(e){this.onDelete(this.deleteAlbumUseCase.execute(e))}};function $(){return F(g,[c,x,h,C,m])}var B=class extends D{createPhotoUseCase;findPhotosUseCase;findPhotoByIdUseCase;updatePhotoUseCase;deletePhotoUseCase;uploadPhotoUseCase;constructor(e,r,n,p,a,u){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{caption:""}},selected:null}),this.createPhotoUseCase=e,this.findPhotosUseCase=r,this.findPhotoByIdUseCase=n,this.updatePhotoUseCase=p,this.deletePhotoUseCase=a,this.uploadPhotoUseCase=u}load(){this.onLoad(this.findPhotosUseCase.execute(this.state.params))}upload(e){return this.uploadPhotoUseCase.execute(e)}loadOne(e){this.onLoadOne(this.findPhotoByIdUseCase.execute(e))}create(e){return this.createPhotoUseCase.execute(e)}update(e){let r=this.updatePhotoUseCase.execute(e);return this.onUpdate(r),this.loadOne(e.id),r}delete(e){return this.deletePhotoUseCase.execute(e)}};function q(){return F(B,[d,v,f,U,l,b])}function z(){return[$(),q()]}var O=class extends y{upload({album:e,photo:r,width:n,height:p,caption:a}){let u=new FormData;u.append("file",r),u.append("album",e),u.append("width",String(n)),u.append("height",String(p)),u.append("caption",a??"");let G=[this.url,e,"upload"];return this.http.post(G.join("/"),u,{reportProgress:!0,observe:"events"})}};function j(){return{provide:s,useFactory(t,e){return new O(t,e,"albums")},deps:[A,P]}}var I=class extends y{upload(n){var p=n,{photo:e}=p,r=E(p,["photo"]);let a=new FormData;return a.set("file",e),this.http.post(this.url,r,{body:a,reportProgress:!0,observe:"events"})}};function R(){return{provide:i,useFactory(t,e){return new I(t,e,"photos")},deps:[A,P]}}function W(){return[j(),R()]}function J(){return o(c,[s])}function K(){return o(x,[s])}function M(){return o(h,[s])}function N(){return o(C,[s])}function Q(){return o(m,[s])}function T(){return o(d,[i])}function V(){return o(v,[i])}function X(){return o(f,[i])}function Y(){return o(U,[i])}function Z(){return o(l,[i])}function _(){return o(b,[s])}function k(){return[J(),K(),M(),N(),Q(),T(),V(),X(),Y(),Z(),_()]}function vt(){return[...W(),...k(),...z()]}var bt=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(w(),H(r=>!!r)));export{g as a,B as b,vt as c,bt as d}; diff --git a/chunk-ZQOXWN4S.js b/chunk-GXWUGGBK.js similarity index 98% rename from chunk-ZQOXWN4S.js rename to chunk-GXWUGGBK.js index 586fc69a..c873d829 100644 --- a/chunk-ZQOXWN4S.js +++ b/chunk-GXWUGGBK.js @@ -1 +1 @@ -import{b as be,f as ye,g as ve}from"./chunk-BJXILAOS.js";import{c as U,d as q,g as b,h as y,j as K}from"./chunk-I7VYXJU2.js";import{J as ue,Q as xe,T as v,Y as fe,ca as _e,q as he,s as ge,ya as k}from"./chunk-W5KNOAKV.js";import{Aa as ee,D as W,Ea as s,Eb as ae,F as x,Fc as g,Ja as te,Ka as ne,Kb as j,L as Z,Mb as l,Nb as z,Pa as N,Sb as V,Sc as I,Tb as D,Ub as oe,Vb as f,Vc as c,Wc as ce,Yb as re,Z as H,bc as h,cc as _,dc as se,e as w,ed as me,fa as M,ha as m,hc as de,j as u,ka as a,kc as L,lb as E,mc as le,n as Y,nc as Q,ob as ie,oc as p,pc as B,qc as pe,rc as P,sa as C,sc as T,ta as O,ua as F,ub as R,va as J,vb as A,wb as d,xa as $}from"./chunk-TEKHUYWQ.js";var X=new m("CdkAccordion"),we=(()=>{class t{_stateChanges=new u;_openCloseAllActions=new u;id=a(v).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",c]},exportAs:["cdkAccordion"],features:[g([{provide:X,useExisting:t}]),l,C]})}return t})(),Me=(()=>{class t{accordion=a(X,{optional:!0,skipSelf:!0});_changeDetectorRef=a(I);_expansionDispatcher=a(k);_openCloseAllSubscription=w.EMPTY;closed=new s;opened=new s;destroyed=new s;expandedChange=new s;id=a(v).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",c],disabled:[2,"disabled","disabled",c]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[g([{provide:X,useValue:void 0}]),l]})}return t})(),Ce=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=A({type:t});static \u0275inj=M({})}return t})();var Oe=["body"],Fe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ne=["mat-expansion-panel-header","*","mat-action-row"];function Re(t,Ie){}var je=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ze=["mat-panel-title","mat-panel-description","*"];function Ve(t,Ie){if(t&1&&(h(0,"span",1),J(),h(1,"svg",2),se(2,"path",3),_()()),t&2){let e=le();D("@indicatorRotate",e._getExpandedState())}}var G=new m("MAT_ACCORDION"),Ee="225ms cubic-bezier(0.4,0.0,0.2,1)",De={indicatorRotate:U("indicatorRotate",[y("collapsed, void",b({transform:"rotate(0deg)"})),y("expanded",b({transform:"rotate(180deg)"})),K("expanded <=> collapsed, void => collapsed",q(Ee))]),bodyExpansion:U("bodyExpansion",[y("collapsed, void",b({height:"0px",visibility:"hidden"})),y("expanded",b({height:"*",visibility:""})),K("expanded <=> collapsed, void => collapsed",q(Ee))])},Pe=new m("MAT_EXPANSION_PANEL"),Le=(()=>{class t{_template=a(ie);_expansionPanel=a(Pe,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),Te=new m("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Qe=(()=>{class t extends Me{_viewContainerRef=a(ae);_animationMode=a(N,{optional:!0});_animationsDisabled;_document=a(me);get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new s;afterCollapse=new s;_inputChanges=new u;accordion=a(G,{optional:!0,skipSelf:!0});_lazyContent;_body;_portal;_headerId=a(v).getId("mat-expansion-panel-header-");constructor(){super();let e=a(Te,{optional:!0});this._expansionDispatcher=a(k),this._animationsDisabled=this._animationMode==="NoopAnimations",e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(H(null),x(()=>this.expanded&&!this._portal),Z(1)).subscribe(()=>{this._portal=new be(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}_animationStarted(e){!Ae(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Ae(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,i,r){if(n&1&&B(r,Le,5),n&2){let o;P(o=T())&&(i._lazyContent=o.first)}},viewQuery:function(n,i){if(n&1&&pe(Oe,5),n&2){let r;P(r=T())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,i){n&2&&f("mat-expanded",i.expanded)("_mat-animation-noopable",i._animationsDisabled)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",c],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[g([{provide:G,useValue:void 0},{provide:Pe,useExisting:t}]),l,j,C],ngContentSelectors:Ne,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,i){if(n&1){let r=de();Q(Fe),p(0),h(1,"div",1,0),L("@bodyExpansion.start",function(S){return O(r),F(i._animationStarted(S))})("@bodyExpansion.done",function(S){return O(r),F(i._animationDone(S))}),h(3,"div",2),p(4,1),z(5,Re,0,0,"ng-template",3),_(),p(6,2),_()}n&2&&(E(),D("@bodyExpansion",i._getExpandedState())("id",i.id),V("aria-labelledby",i._headerId),E(4),D("cdkPortalOutlet",i._portal))},dependencies:[ye],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[De.bodyExpansion]},changeDetection:0})}return t})();function Ae(t){return t.fromState==="void"}var Be=(()=>{class t{panel=a(Qe,{host:!0});_element=a(te);_focusMonitor=a(xe);_changeDetectorRef=a(I);_animationMode=a(N,{optional:!0});_parentChangeSubscription=w.EMPTY;constructor(){a(he).load(_e);let e=this.panel,n=a(Te,{optional:!0}),i=a(new ee("tabindex"),{optional:!0}),r=e.accordion?e.accordion._stateChanges.pipe(x(o=>!!(o.hideToggle||o.togglePosition))):Y;this.tabIndex=parseInt(i||"")||0,this._parentChangeSubscription=W(e.opened,e.closed,r,e._inputChanges.pipe(x(o=>!!(o.hideToggle||o.disabled||o.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(x(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:ge(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,i){n&1&&L("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),n&2&&(V("id",i.panel._headerId)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),oe("height",i._getHeaderHeight()),f("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after",i._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",i._getTogglePosition()==="before")("_mat-animation-noopable",i._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ce(e)]},features:[l],ngContentSelectors:ze,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,i){n&1&&(Q(je),h(0,"span",0),p(1),p(2,1),p(3,2),_(),z(4,Ve,3,1,"span",1)),n&2&&(f("mat-content-hide-toggle",!i._showToggle()),E(4),re(i._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}'],encapsulation:2,data:{animation:[De.indicatorRotate]},changeDetection:0})}return t})(),vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),wt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),Mt=(()=>{class t extends we{_keyManager;_ownHeaders=new ne;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(H(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ue(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=$(t)))(i||t)}})();static \u0275dir=d({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,i,r){if(n&1&&B(r,Be,5),n&2){let o;P(o=T())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,i){n&2&&f("mat-accordion-multi",i.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",c],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[g([{provide:G,useExisting:t}]),l,j]})}return t})(),Ct=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=A({type:t});static \u0275inj=M({imports:[fe,Ce,ve]})}return t})();export{Le as a,Qe as b,Be as c,vt as d,wt as e,Mt as f,Ct as g}; +import{b as be,f as ye,g as ve}from"./chunk-76QZXEBP.js";import{c as U,d as q,g as b,h as y,j as K}from"./chunk-I7VYXJU2.js";import{Aa as k,L as ue,S as xe,V as v,_ as fe,ea as _e,s as he,u as ge}from"./chunk-CG5OOKZO.js";import{Aa as ee,D as W,Ea as s,Eb as ae,F as x,Fc as g,Ja as te,Ka as ne,Kb as j,L as Z,Mb as l,Nb as z,Pa as N,Sb as V,Sc as I,Tb as D,Ub as oe,Vb as f,Vc as c,Wc as ce,Yb as re,Z as H,bc as h,cc as _,dc as se,e as w,ed as me,fa as M,ha as m,hc as de,j as u,ka as a,kc as L,lb as E,mc as le,n as Y,nc as Q,ob as ie,oc as p,pc as B,qc as pe,rc as P,sa as C,sc as T,ta as O,ua as F,ub as R,va as J,vb as A,wb as d,xa as $}from"./chunk-5L47ZUSK.js";var X=new m("CdkAccordion"),we=(()=>{class t{_stateChanges=new u;_openCloseAllActions=new u;id=a(v).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",c]},exportAs:["cdkAccordion"],features:[g([{provide:X,useExisting:t}]),l,C]})}return t})(),Me=(()=>{class t{accordion=a(X,{optional:!0,skipSelf:!0});_changeDetectorRef=a(I);_expansionDispatcher=a(k);_openCloseAllSubscription=w.EMPTY;closed=new s;opened=new s;destroyed=new s;expandedChange=new s;id=a(v).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",c],disabled:[2,"disabled","disabled",c]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[g([{provide:X,useValue:void 0}]),l]})}return t})(),Ce=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=A({type:t});static \u0275inj=M({})}return t})();var Oe=["body"],Fe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ne=["mat-expansion-panel-header","*","mat-action-row"];function Re(t,Ie){}var je=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ze=["mat-panel-title","mat-panel-description","*"];function Ve(t,Ie){if(t&1&&(h(0,"span",1),J(),h(1,"svg",2),se(2,"path",3),_()()),t&2){let e=le();D("@indicatorRotate",e._getExpandedState())}}var G=new m("MAT_ACCORDION"),Ee="225ms cubic-bezier(0.4,0.0,0.2,1)",De={indicatorRotate:U("indicatorRotate",[y("collapsed, void",b({transform:"rotate(0deg)"})),y("expanded",b({transform:"rotate(180deg)"})),K("expanded <=> collapsed, void => collapsed",q(Ee))]),bodyExpansion:U("bodyExpansion",[y("collapsed, void",b({height:"0px",visibility:"hidden"})),y("expanded",b({height:"*",visibility:""})),K("expanded <=> collapsed, void => collapsed",q(Ee))])},Pe=new m("MAT_EXPANSION_PANEL"),Le=(()=>{class t{_template=a(ie);_expansionPanel=a(Pe,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),Te=new m("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Qe=(()=>{class t extends Me{_viewContainerRef=a(ae);_animationMode=a(N,{optional:!0});_animationsDisabled;_document=a(me);get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new s;afterCollapse=new s;_inputChanges=new u;accordion=a(G,{optional:!0,skipSelf:!0});_lazyContent;_body;_portal;_headerId=a(v).getId("mat-expansion-panel-header-");constructor(){super();let e=a(Te,{optional:!0});this._expansionDispatcher=a(k),this._animationsDisabled=this._animationMode==="NoopAnimations",e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(H(null),x(()=>this.expanded&&!this._portal),Z(1)).subscribe(()=>{this._portal=new be(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}_animationStarted(e){!Ae(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Ae(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,i,r){if(n&1&&B(r,Le,5),n&2){let o;P(o=T())&&(i._lazyContent=o.first)}},viewQuery:function(n,i){if(n&1&&pe(Oe,5),n&2){let r;P(r=T())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,i){n&2&&f("mat-expanded",i.expanded)("_mat-animation-noopable",i._animationsDisabled)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",c],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[g([{provide:G,useValue:void 0},{provide:Pe,useExisting:t}]),l,j,C],ngContentSelectors:Ne,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,i){if(n&1){let r=de();Q(Fe),p(0),h(1,"div",1,0),L("@bodyExpansion.start",function(S){return O(r),F(i._animationStarted(S))})("@bodyExpansion.done",function(S){return O(r),F(i._animationDone(S))}),h(3,"div",2),p(4,1),z(5,Re,0,0,"ng-template",3),_(),p(6,2),_()}n&2&&(E(),D("@bodyExpansion",i._getExpandedState())("id",i.id),V("aria-labelledby",i._headerId),E(4),D("cdkPortalOutlet",i._portal))},dependencies:[ye],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[De.bodyExpansion]},changeDetection:0})}return t})();function Ae(t){return t.fromState==="void"}var Be=(()=>{class t{panel=a(Qe,{host:!0});_element=a(te);_focusMonitor=a(xe);_changeDetectorRef=a(I);_animationMode=a(N,{optional:!0});_parentChangeSubscription=w.EMPTY;constructor(){a(he).load(_e);let e=this.panel,n=a(Te,{optional:!0}),i=a(new ee("tabindex"),{optional:!0}),r=e.accordion?e.accordion._stateChanges.pipe(x(o=>!!(o.hideToggle||o.togglePosition))):Y;this.tabIndex=parseInt(i||"")||0,this._parentChangeSubscription=W(e.opened,e.closed,r,e._inputChanges.pipe(x(o=>!!(o.hideToggle||o.disabled||o.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(x(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:ge(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,i){n&1&&L("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),n&2&&(V("id",i.panel._headerId)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),oe("height",i._getHeaderHeight()),f("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after",i._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",i._getTogglePosition()==="before")("_mat-animation-noopable",i._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ce(e)]},features:[l],ngContentSelectors:ze,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,i){n&1&&(Q(je),h(0,"span",0),p(1),p(2,1),p(3,2),_(),z(4,Ve,3,1,"span",1)),n&2&&(f("mat-content-hide-toggle",!i._showToggle()),E(4),re(i._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}'],encapsulation:2,data:{animation:[De.indicatorRotate]},changeDetection:0})}return t})(),vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),wt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=d({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),Mt=(()=>{class t extends we{_keyManager;_ownHeaders=new ne;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(H(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ue(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=$(t)))(i||t)}})();static \u0275dir=d({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,i,r){if(n&1&&B(r,Be,5),n&2){let o;P(o=T())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,i){n&2&&f("mat-accordion-multi",i.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",c],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[g([{provide:G,useExisting:t}]),l,j]})}return t})(),Ct=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=A({type:t});static \u0275inj=M({imports:[fe,Ce,ve]})}return t})();export{Le as a,Qe as b,Be as c,vt as d,wt as e,Mt as f,Ct as g}; diff --git a/chunk-ZTWYID37.js b/chunk-HEUAONWX.js similarity index 99% rename from chunk-ZTWYID37.js rename to chunk-HEUAONWX.js index cc7c289b..ea8e2014 100644 --- a/chunk-ZTWYID37.js +++ b/chunk-HEUAONWX.js @@ -1 +1 @@ -import{A as De,B as te,y as ke,z as b}from"./chunk-6BGAZ7SQ.js";import{c as we,d as q,g as Y,h as K,j as $}from"./chunk-I7VYXJU2.js";import{K as ve,L as be,Q as ye,U as Ce,Y as ee,f as J,s as ge,t as g,u as X}from"./chunk-W5KNOAKV.js";import{$ as s,A as ae,D as oe,Ea as S,F as h,Fa as F,Fc as v,J as se,Ja as E,Ka as le,Kb as y,L as de,M as O,Nb as C,Pa as he,Sb as G,Sc as B,Ta as me,Ub as N,Va as W,Vb as l,Yb as k,Z as P,bc as p,cc as u,ed as _e,fa as ce,ha as V,hc as L,j as c,jc as ue,ka as n,kc as Z,lb as H,lc as fe,mc as D,nc as f,oc as d,pc as x,qc as U,rc as _,sc as w,t as I,ta as j,ua as z,ub as m,vb as pe,xa as M,za as Q}from"./chunk-TEKHUYWQ.js";var A=["*"],Fe=["content"],Ee=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Be=["mat-drawer","mat-drawer-content","*"];function Te(i,R){if(i&1){let e=L();p(0,"div",1),Z("click",function(){j(e);let r=D();return z(r._onBackdropClicked())}),u()}if(i&2){let e=D();l("mat-drawer-shown",e._isShowingBackdrop())}}function Ae(i,R){i&1&&(p(0,"mat-drawer-content"),d(1,2),u())}var Re=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ie=["mat-sidenav","mat-sidenav-content","*"];function Oe(i,R){if(i&1){let e=L();p(0,"div",1),Z("click",function(){j(e);let r=D();return z(r._onBackdropClicked())}),u()}if(i&2){let e=D();l("mat-drawer-shown",e._isShowingBackdrop())}}function Pe(i,R){i&1&&(p(0,"mat-sidenav-content"),d(1,2),u())}var Ve='.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}',Me={transformDrawer:we("transform",[K("open, open-instant",Y({transform:"none",visibility:"visible"})),K("void",Y({"box-shadow":"none",visibility:"hidden"})),$("void => open-instant",q("0ms")),$("void <=> open, open-instant => void",q("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var je=new V("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:ze}),ne=new V("MAT_DRAWER_CONTAINER");function ze(){return!1}var T=(()=>{class i extends b{_platform=n(J);_changeDetectorRef=n(B);_container=n(ie);constructor(){let e=n(E),t=n(ke),r=n(F);super(e,t,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:t}=this._container;return e!=null&&e.mode!=="over"&&e.opened||t!=null&&t.mode!=="over"&&t.opened}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(t,r){t&2&&(N("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),l("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[v([{provide:b,useExisting:i}]),y],ngContentSelectors:A,decls:1,vars:0,template:function(t,r){t&1&&(f(),d(0))},encapsulation:2,changeDetection:0})}return i})(),re=(()=>{class i{_elementRef=n(E);_focusTrapFactory=n(be);_focusMonitor=n(ye);_platform=n(J);_ngZone=n(F);_interactivityChecker=n(ve);_doc=n(_e,{optional:!0});_container=n(ne,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_enableAnimations=!1;_isAttached;_anchor;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=g(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=g(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened}set opened(e){this.toggle(g(e))}_opened=!1;_openedVia;_animationStarted=new c;_animationEnd=new c;_animationState="void";openedChange=new S(!0);_openedStream=this.openedChange.pipe(h(e=>e),I(()=>{}));openedStart=this._animationStarted.pipe(h(e=>e.fromState!==e.toState&&e.toState.indexOf("open")===0),O(void 0));_closedStream=this.openedChange.pipe(h(e=>!e),I(()=>{}));closedStart=this._animationStarted.pipe(h(e=>e.fromState!==e.toState&&e.toState==="void"),O(void 0));_destroyed=new c;onPositionChanged=new S;_content;_modeChanged=new c;_injector=n(Q);_changeDetectorRef=n(B);constructor(){this.openedChange.pipe(s(this._destroyed)).subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ae(this._elementRef.nativeElement,"keydown").pipe(h(e=>e.keyCode===27&&!this.disableClose&&!ge(e)),s(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.subscribe(e=>{let{fromState:t,toState:r}=e;(r.indexOf("open")===0&&t==="void"||r==="void"&&t.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":W(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(de(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&U(Fe,5),t&2){let a;_(a=w())&&(r._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&fe("@transform.start",function(o){return r._animationStarted.next(o)})("@transform.done",function(o){return r._animationEnd.next(o)}),t&2&&(ue("@transform",r._animationState),G("align",null),l("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:A,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(f(),p(0,"div",1,0),d(2),u())},dependencies:[b],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0})}return i})(),ie=(()=>{class i{_dir=n(Ce,{optional:!0});_element=n(E);_ngZone=n(F);_changeDetectorRef=n(B);_animationMode=n(he,{optional:!0});_allDrawers;_drawers=new le;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=g(e)}_autosize=n(je);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:g(e)}_backdropOverride;backdropClick=new S;_start;_end;_left;_right;_destroyed=new c;_doCheckSubject=new c;_contentMargins={left:null,right:null};_contentMarginChanges=new c;get scrollable(){return this._userContent||this._content}_injector=n(Q);constructor(){let e=n(De);this._dir?.change.pipe(s(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),e.change().pipe(s(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngAfterContentInit(){this._allDrawers.changes.pipe(P(this._allDrawers),s(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(P(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(se(10),s(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(h(t=>t.fromState!==t.toState),s(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(s(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(s(this._drawers.changes)).subscribe(()=>{W(()=>{this._validateDrawers()},{injector:this._injector,phase:me.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(s(oe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,a){if(t&1&&(x(a,T,5),x(a,re,5)),t&2){let o;_(o=w())&&(r._content=o.first),_(o=w())&&(r._allDrawers=o)}},viewQuery:function(t,r){if(t&1&&U(T,5),t&2){let a;_(a=w())&&(r._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&l("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[v([{provide:ne,useExisting:i}])],ngContentSelectors:Be,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(f(Ee),C(0,Te,1,2,"div",0),d(1),d(2,1),C(3,Ae,2,0,"mat-drawer-content")),t&2&&(k(r.hasBackdrop?0:-1),H(3),k(r._content?-1:3))},dependencies:[T],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return i})(),xe=(()=>{class i extends T{static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[v([{provide:b,useExisting:i}]),y],ngContentSelectors:A,decls:1,vars:0,template:function(t,r){t&1&&(f(),d(0))},encapsulation:2,changeDetection:0})}return i})(),Qe=(()=>{class i extends re{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=g(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=X(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=X(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,r){t&2&&(G("align",null),N("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),l("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened)("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[v([{provide:re,useExisting:i}]),y],ngContentSelectors:A,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(f(),p(0,"div",1,0),d(2),u())},dependencies:[b],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0})}return i})(),ct=(()=>{class i extends ie{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(t,r,a){if(t&1&&(x(a,xe,5),x(a,Qe,5)),t&2){let o;_(o=w())&&(r._content=o.first),_(o=w())&&(r._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,r){t&2&&l("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[v([{provide:ne,useExisting:i},{provide:ie,useExisting:i}]),y],ngContentSelectors:Ie,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(f(Re),C(0,Oe,1,2,"div",0),d(1),d(2,1),C(3,Pe,2,0,"mat-sidenav-content")),t&2&&(k(r.hasBackdrop?0:-1),H(3),k(r._content?-1:3))},dependencies:[xe],styles:[Ve],encapsulation:2,changeDetection:0})}return i})(),lt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=pe({type:i});static \u0275inj=ce({imports:[ee,te,te,ee]})}return i})();export{xe as a,Qe as b,ct as c,lt as d}; +import{A as De,B as te,y as ke,z as b}from"./chunk-7RMPQIRR.js";import{c as we,d as q,g as Y,h as K,j as $}from"./chunk-I7VYXJU2.js";import{M as ve,N as be,S as ye,W as Ce,_ as ee,h as J,u as ge,v as g,w as X}from"./chunk-CG5OOKZO.js";import{$ as s,A as ae,D as oe,Ea as S,F as h,Fa as F,Fc as v,J as se,Ja as E,Ka as le,Kb as y,L as de,M as O,Nb as C,Pa as he,Sb as G,Sc as B,Ta as me,Ub as N,Va as W,Vb as l,Yb as k,Z as P,bc as p,cc as u,ed as _e,fa as ce,ha as V,hc as L,j as c,jc as ue,ka as n,kc as Z,lb as H,lc as fe,mc as D,nc as f,oc as d,pc as x,qc as U,rc as _,sc as w,t as I,ta as j,ua as z,ub as m,vb as pe,xa as M,za as Q}from"./chunk-5L47ZUSK.js";var A=["*"],Fe=["content"],Ee=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Be=["mat-drawer","mat-drawer-content","*"];function Te(i,R){if(i&1){let e=L();p(0,"div",1),Z("click",function(){j(e);let r=D();return z(r._onBackdropClicked())}),u()}if(i&2){let e=D();l("mat-drawer-shown",e._isShowingBackdrop())}}function Ae(i,R){i&1&&(p(0,"mat-drawer-content"),d(1,2),u())}var Re=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ie=["mat-sidenav","mat-sidenav-content","*"];function Oe(i,R){if(i&1){let e=L();p(0,"div",1),Z("click",function(){j(e);let r=D();return z(r._onBackdropClicked())}),u()}if(i&2){let e=D();l("mat-drawer-shown",e._isShowingBackdrop())}}function Pe(i,R){i&1&&(p(0,"mat-sidenav-content"),d(1,2),u())}var Ve='.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}',Me={transformDrawer:we("transform",[K("open, open-instant",Y({transform:"none",visibility:"visible"})),K("void",Y({"box-shadow":"none",visibility:"hidden"})),$("void => open-instant",q("0ms")),$("void <=> open, open-instant => void",q("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var je=new V("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:ze}),ne=new V("MAT_DRAWER_CONTAINER");function ze(){return!1}var T=(()=>{class i extends b{_platform=n(J);_changeDetectorRef=n(B);_container=n(ie);constructor(){let e=n(E),t=n(ke),r=n(F);super(e,t,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:t}=this._container;return e!=null&&e.mode!=="over"&&e.opened||t!=null&&t.mode!=="over"&&t.opened}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(t,r){t&2&&(N("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),l("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[v([{provide:b,useExisting:i}]),y],ngContentSelectors:A,decls:1,vars:0,template:function(t,r){t&1&&(f(),d(0))},encapsulation:2,changeDetection:0})}return i})(),re=(()=>{class i{_elementRef=n(E);_focusTrapFactory=n(be);_focusMonitor=n(ye);_platform=n(J);_ngZone=n(F);_interactivityChecker=n(ve);_doc=n(_e,{optional:!0});_container=n(ne,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_enableAnimations=!1;_isAttached;_anchor;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=g(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=g(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened}set opened(e){this.toggle(g(e))}_opened=!1;_openedVia;_animationStarted=new c;_animationEnd=new c;_animationState="void";openedChange=new S(!0);_openedStream=this.openedChange.pipe(h(e=>e),I(()=>{}));openedStart=this._animationStarted.pipe(h(e=>e.fromState!==e.toState&&e.toState.indexOf("open")===0),O(void 0));_closedStream=this.openedChange.pipe(h(e=>!e),I(()=>{}));closedStart=this._animationStarted.pipe(h(e=>e.fromState!==e.toState&&e.toState==="void"),O(void 0));_destroyed=new c;onPositionChanged=new S;_content;_modeChanged=new c;_injector=n(Q);_changeDetectorRef=n(B);constructor(){this.openedChange.pipe(s(this._destroyed)).subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ae(this._elementRef.nativeElement,"keydown").pipe(h(e=>e.keyCode===27&&!this.disableClose&&!ge(e)),s(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.subscribe(e=>{let{fromState:t,toState:r}=e;(r.indexOf("open")===0&&t==="void"||r==="void"&&t.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":W(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(de(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&U(Fe,5),t&2){let a;_(a=w())&&(r._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&fe("@transform.start",function(o){return r._animationStarted.next(o)})("@transform.done",function(o){return r._animationEnd.next(o)}),t&2&&(ue("@transform",r._animationState),G("align",null),l("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:A,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(f(),p(0,"div",1,0),d(2),u())},dependencies:[b],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0})}return i})(),ie=(()=>{class i{_dir=n(Ce,{optional:!0});_element=n(E);_ngZone=n(F);_changeDetectorRef=n(B);_animationMode=n(he,{optional:!0});_allDrawers;_drawers=new le;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=g(e)}_autosize=n(je);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:g(e)}_backdropOverride;backdropClick=new S;_start;_end;_left;_right;_destroyed=new c;_doCheckSubject=new c;_contentMargins={left:null,right:null};_contentMarginChanges=new c;get scrollable(){return this._userContent||this._content}_injector=n(Q);constructor(){let e=n(De);this._dir?.change.pipe(s(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),e.change().pipe(s(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngAfterContentInit(){this._allDrawers.changes.pipe(P(this._allDrawers),s(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(P(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(se(10),s(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(h(t=>t.fromState!==t.toState),s(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(s(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(s(this._drawers.changes)).subscribe(()=>{W(()=>{this._validateDrawers()},{injector:this._injector,phase:me.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(s(oe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,a){if(t&1&&(x(a,T,5),x(a,re,5)),t&2){let o;_(o=w())&&(r._content=o.first),_(o=w())&&(r._allDrawers=o)}},viewQuery:function(t,r){if(t&1&&U(T,5),t&2){let a;_(a=w())&&(r._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&l("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[v([{provide:ne,useExisting:i}])],ngContentSelectors:Be,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(f(Ee),C(0,Te,1,2,"div",0),d(1),d(2,1),C(3,Ae,2,0,"mat-drawer-content")),t&2&&(k(r.hasBackdrop?0:-1),H(3),k(r._content?-1:3))},dependencies:[T],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return i})(),xe=(()=>{class i extends T{static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[v([{provide:b,useExisting:i}]),y],ngContentSelectors:A,decls:1,vars:0,template:function(t,r){t&1&&(f(),d(0))},encapsulation:2,changeDetection:0})}return i})(),Qe=(()=>{class i extends re{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=g(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=X(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=X(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,r){t&2&&(G("align",null),N("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),l("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened)("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[v([{provide:re,useExisting:i}]),y],ngContentSelectors:A,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(f(),p(0,"div",1,0),d(2),u())},dependencies:[b],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0})}return i})(),ct=(()=>{class i extends ie{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(i)))(r||i)}})();static \u0275cmp=m({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(t,r,a){if(t&1&&(x(a,xe,5),x(a,Qe,5)),t&2){let o;_(o=w())&&(r._content=o.first),_(o=w())&&(r._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,r){t&2&&l("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[v([{provide:ne,useExisting:i},{provide:ie,useExisting:i}]),y],ngContentSelectors:Ie,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(f(Re),C(0,Oe,1,2,"div",0),d(1),d(2,1),C(3,Pe,2,0,"mat-sidenav-content")),t&2&&(k(r.hasBackdrop?0:-1),H(3),k(r._content?-1:3))},dependencies:[xe],styles:[Ve],encapsulation:2,changeDetection:0})}return i})(),lt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=pe({type:i});static \u0275inj=ce({imports:[ee,te,te,ee]})}return i})();export{xe as a,Qe as b,ct as c,lt as d}; diff --git a/chunk-4JU575PW.js b/chunk-HOUESFGN.js similarity index 94% rename from chunk-4JU575PW.js rename to chunk-HOUESFGN.js index 103f77e1..e907f026 100644 --- a/chunk-4JU575PW.js +++ b/chunk-HOUESFGN.js @@ -1 +1 @@ -import{c as ne,d as oe,e as ie,f as h}from"./chunk-Q2N7RZTH.js";import{a as ee,b as te}from"./chunk-VAO4SSMZ.js";import{d as Y,e as Z}from"./chunk-VVQ6JEVH.js";import{b as L,i as N,j as Q}from"./chunk-AND6K73U.js";import{q as x,x as C}from"./chunk-6BGAZ7SQ.js";import{a as G,c as $,e as J,h as K,l as U,o as W,x as X}from"./chunk-EDIJ2EBQ.js";import{$b as A,Gb as B,Jc as b,Kb as s,Kc as w,L as _,Tb as g,Ua as E,_ as T,_b as z,ac as V,bc as i,cc as a,dc as f,fb as I,hc as j,ka as O,kc as c,lb as d,o as F,ta as y,ua as D,ub as p,uc as q,vc as H,wb as R,xa as v,xc as r,yc as u}from"./chunk-TEKHUYWQ.js";var M=(()=>{class t{ref=O(ne);data=O(oe);close(o,n){this.ref.close(o,{focusOrigin:n})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=R({type:t})}return t})();function de(t,m){if(t&1&&(i(0,"p"),r(1),a()),t&2){let o=m.$implicit;d(),u(o)}}var re=(()=>{class t extends M{static \u0275fac=(()=>{let o;return function(e){return(o||(o=v(t)))(e||t)}})();static \u0275cmp=p({type:t,selectors:[["devmx-confirm-dialog"]],features:[s],decls:12,vars:2,consts:[[1,"devmx-dialog-header"],["name","question-hexagon",3,"size"],[1,"devmx-dialog-content"],[1,"devmx-dialog-footer"],["type","button","mat-button","","color","accent",3,"click"],["type","button","mat-button","","color","warn",3,"click"]],template:function(n,e){n&1&&(i(0,"header",0),f(1,"devmx-icon",1),i(2,"h2"),r(3),a()(),i(4,"div",2),A(5,de,2,1,"p",null,z),a(),i(7,"footer",3)(8,"button",4),c("click",function(){return e.close(!1)}),r(9," N\xE3o, cancelar "),a(),i(10,"button",5),c("click",function(){return e.close(!0)}),r(11," Sim, continuar "),a()()),n&2&&(d(),g("size",32),d(2),u(e.data.title),d(2),V(e.data.message))},dependencies:[h,C,x,G],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var le=(()=>{class t extends M{control=new U(this.data.value,{nonNullable:!0,validators:this.data.required?[J.required]:[]});onSubmit(){if(this.control.valid)return this.close(this.control.value);this.control.markAsTouched()}static \u0275fac=(()=>{let o;return function(e){return(o||(o=v(t)))(e||t)}})();static \u0275cmp=p({type:t,selectors:[["devmx-prompt-dialog"]],features:[s],decls:13,vars:3,consts:[[1,"devmx-dialog-header"],[1,"devmx-dialog-content"],["matInput","",3,"formControl"],[1,"devmx-dialog-footer",2,"flex-direction","row-reverse","justify-content","flex-start"],["type","button","mat-button","","color","primary",3,"click"],["type","button","mat-button","","color","accent",3,"click"]],template:function(n,e){n&1&&(i(0,"header",0)(1,"h2"),r(2),a()(),i(3,"div",1)(4,"mat-form-field")(5,"mat-label"),r(6),a(),f(7,"input",2),a()(),i(8,"footer",3)(9,"button",4),c("click",function(){return e.onSubmit()}),r(10," Continuar "),a(),i(11,"button",5),c("click",function(){return e.close()}),r(12," Cancelar "),a()()),n&2&&(d(2),u(e.data.title),d(4),u(e.data.label),d(),g("formControl",e.control))},dependencies:[X,$,K,W,Q,N,L,C,x,Z,Y,h],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var ce=["contentRef"],me=(()=>{class t extends M{contentRef=B("contentRef");constructor(){super(),E(()=>{let o=this.contentRef()?.nativeElement;queueMicrotask(()=>{o&&(o.scrollTop=0)})})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=p({type:t,selectors:[["devmx-readme-dialog"]],viewQuery:function(n,e){n&1&&q(e.contentRef,ce,5),n&2&&H()},features:[s],decls:9,vars:5,consts:[["contentRef",""],[1,"devmx-dialog-content",3,"innerHTML"],[1,"devmx-dialog-footer"],["type","button","mat-button","","color","warn",3,"click"],["type","button","mat-raised-button","",3,"click"]],template:function(n,e){if(n&1){let l=j();f(0,"article",1,0),b(2,"markdown"),b(3,"html"),i(4,"footer",2)(5,"button",3),c("click",function(){return y(l),D(e.close(!1))}),r(6," N\xE3o, cancelar "),a(),i(7,"button",4),c("click",function(){return y(l),D(e.close(!0))}),r(8," Sim, continuar "),a()()}n&2&&g("innerHTML",w(3,3,w(2,1,e.data)),I)},dependencies:[h,C,x,te,ee],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var P=class{dialog;constructor(m){this.dialog=m}confirm(...m){let n={title:"Muita calma!",message:m};return this.dialog.open(re,{data:n,panelClass:"devmx-confirm-dialog",disableClose:!0}).closed.pipe(_(1))}prompt(m,o,n){let l={title:"Antes de continuar",label:m,value:o,required:n};return this.dialog.open(le,{data:l,panelClass:"devmx-prompt-dialog"}).closed.pipe(_(1))}readMe(m){let o="devmx-read-me-dialog";return F(fetch(m).then(e=>e.text())).pipe(T(e=>{let l={data:e,panelClass:o,disableClose:!0};return this.dialog.open(me,l).closed.pipe(_(1))}))}};function Ge(){return{provide:P,deps:[ie]}}export{P as a,Ge as b}; +import{c as ne,d as oe,e as ie,f as h}from"./chunk-BJPVFIKR.js";import{a as ee,b as te}from"./chunk-RVBVVCKL.js";import{d as Y,e as Z}from"./chunk-A74J7Y3C.js";import{b as L,i as N,j as Q}from"./chunk-TJJFEYFG.js";import{q as x,x as C}from"./chunk-7RMPQIRR.js";import{a as G,c as $,e as J,h as K,l as U,o as W,x as X}from"./chunk-E5QACR6S.js";import{$b as A,Gb as B,Jc as b,Kb as s,Kc as w,L as _,Tb as g,Ua as E,_ as T,_b as z,ac as V,bc as i,cc as a,dc as f,fb as I,hc as j,ka as O,kc as c,lb as d,o as F,ta as y,ua as D,ub as p,uc as q,vc as H,wb as R,xa as v,xc as r,yc as u}from"./chunk-5L47ZUSK.js";var M=(()=>{class t{ref=O(ne);data=O(oe);close(o,n){this.ref.close(o,{focusOrigin:n})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=R({type:t})}return t})();function de(t,m){if(t&1&&(i(0,"p"),r(1),a()),t&2){let o=m.$implicit;d(),u(o)}}var re=(()=>{class t extends M{static \u0275fac=(()=>{let o;return function(e){return(o||(o=v(t)))(e||t)}})();static \u0275cmp=p({type:t,selectors:[["devmx-confirm-dialog"]],features:[s],decls:12,vars:2,consts:[[1,"devmx-dialog-header"],["name","question-hexagon",3,"size"],[1,"devmx-dialog-content"],[1,"devmx-dialog-footer"],["type","button","mat-button","","color","accent",3,"click"],["type","button","mat-button","","color","warn",3,"click"]],template:function(n,e){n&1&&(i(0,"header",0),f(1,"devmx-icon",1),i(2,"h2"),r(3),a()(),i(4,"div",2),A(5,de,2,1,"p",null,z),a(),i(7,"footer",3)(8,"button",4),c("click",function(){return e.close(!1)}),r(9," N\xE3o, cancelar "),a(),i(10,"button",5),c("click",function(){return e.close(!0)}),r(11," Sim, continuar "),a()()),n&2&&(d(),g("size",32),d(2),u(e.data.title),d(2),V(e.data.message))},dependencies:[h,C,x,G],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var le=(()=>{class t extends M{control=new U(this.data.value,{nonNullable:!0,validators:this.data.required?[J.required]:[]});onSubmit(){if(this.control.valid)return this.close(this.control.value);this.control.markAsTouched()}static \u0275fac=(()=>{let o;return function(e){return(o||(o=v(t)))(e||t)}})();static \u0275cmp=p({type:t,selectors:[["devmx-prompt-dialog"]],features:[s],decls:13,vars:3,consts:[[1,"devmx-dialog-header"],[1,"devmx-dialog-content"],["matInput","",3,"formControl"],[1,"devmx-dialog-footer",2,"flex-direction","row-reverse","justify-content","flex-start"],["type","button","mat-button","","color","primary",3,"click"],["type","button","mat-button","","color","accent",3,"click"]],template:function(n,e){n&1&&(i(0,"header",0)(1,"h2"),r(2),a()(),i(3,"div",1)(4,"mat-form-field")(5,"mat-label"),r(6),a(),f(7,"input",2),a()(),i(8,"footer",3)(9,"button",4),c("click",function(){return e.onSubmit()}),r(10," Continuar "),a(),i(11,"button",5),c("click",function(){return e.close()}),r(12," Cancelar "),a()()),n&2&&(d(2),u(e.data.title),d(4),u(e.data.label),d(),g("formControl",e.control))},dependencies:[X,$,K,W,Q,N,L,C,x,Z,Y,h],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var ce=["contentRef"],me=(()=>{class t extends M{contentRef=B("contentRef");constructor(){super(),E(()=>{let o=this.contentRef()?.nativeElement;queueMicrotask(()=>{o&&(o.scrollTop=0)})})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=p({type:t,selectors:[["devmx-readme-dialog"]],viewQuery:function(n,e){n&1&&q(e.contentRef,ce,5),n&2&&H()},features:[s],decls:9,vars:5,consts:[["contentRef",""],[1,"devmx-dialog-content",3,"innerHTML"],[1,"devmx-dialog-footer"],["type","button","mat-button","","color","warn",3,"click"],["type","button","mat-raised-button","",3,"click"]],template:function(n,e){if(n&1){let l=j();f(0,"article",1,0),b(2,"markdown"),b(3,"html"),i(4,"footer",2)(5,"button",3),c("click",function(){return y(l),D(e.close(!1))}),r(6," N\xE3o, cancelar "),a(),i(7,"button",4),c("click",function(){return y(l),D(e.close(!0))}),r(8," Sim, continuar "),a()()}n&2&&g("innerHTML",w(3,3,w(2,1,e.data)),I)},dependencies:[h,C,x,te,ee],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:32em;gap:1em;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{display:flex;padding:.6em 1em;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em}[_nghost-%COMP%] .devmx-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1em 1em 0;max-height:50vh}[_nghost-%COMP%] .devmx-dialog-footer[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;justify-content:flex-end}@media (min-width: 768px){[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{gap:1em}}@media (max-width: 767px){[_nghost-%COMP%]{max-width:74vw}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%]{padding-top:1em;flex-direction:column;align-items:center}[_nghost-%COMP%] .devmx-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4em}}"],changeDetection:0})}return t})();var P=class{dialog;constructor(m){this.dialog=m}confirm(...m){let n={title:"Muita calma!",message:m};return this.dialog.open(re,{data:n,panelClass:"devmx-confirm-dialog",disableClose:!0}).closed.pipe(_(1))}prompt(m,o,n){let l={title:"Antes de continuar",label:m,value:o,required:n};return this.dialog.open(le,{data:l,panelClass:"devmx-prompt-dialog"}).closed.pipe(_(1))}readMe(m){let o="devmx-read-me-dialog";return F(fetch(m).then(e=>e.text())).pipe(T(e=>{let l={data:e,panelClass:o,disableClose:!0};return this.dialog.open(me,l).closed.pipe(_(1))}))}};function Ge(){return{provide:P,deps:[ie]}}export{P as a,Ge as b}; diff --git a/chunk-ZUTFRYJ3.js b/chunk-HTIZBTEM.js similarity index 57% rename from chunk-ZUTFRYJ3.js rename to chunk-HTIZBTEM.js index 83d67daf..811ad1d0 100644 --- a/chunk-ZUTFRYJ3.js +++ b/chunk-HTIZBTEM.js @@ -1 +1 @@ -import{a as h}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import{a as F}from"./chunk-Q33OVU5J.js";import{b as f}from"./chunk-WKFJTKSD.js";import"./chunk-MLNPCJDD.js";import"./chunk-UOTKRQ63.js";import{a as y}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import"./chunk-BJXILAOS.js";import{a as u}from"./chunk-A3N3AUUJ.js";import{i as p,p as d}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{Ba as n,Kb as m,dc as s,ka as r,mb as a,ub as c,wb as l}from"./chunk-TEKHUYWQ.js";var i=class{},v=(()=>{class e{layoutFacade=r(f);destroyRef=r(n);router=r(p);constructor(o){o.auth$.pipe(u()).subscribe(t=>{t?this.layoutFacade.loadNavLinks(t.roles):(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))}),o.load()}static \u0275fac=function(t){return new(t||e)(a(i))};static \u0275dir=l({type:e})}return e})();var x=(()=>{class e extends v{constructor(o){super(o)}static \u0275fac=function(t){return new(t||e)(a(y))};static \u0275cmp=c({type:e,selectors:[["devmx-learn-feature-shell"]],features:[m],decls:1,vars:0,template:function(t,D){t&1&&s(0,"devmx-layout")},dependencies:[d,h],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var H=[{path:"",data:{breadcrumb:"Aprenda"},title:"Habilidades",canActivate:[F("member")],component:x,children:[{path:"administracao",loadChildren:()=>import("./chunk-K4DUSKBE.js").then(e=>e.learnFeatureAdminRoutes)}]}];export{x as LearnFeatureShellComponent,H as learnFeatureShellRoutes}; +import{a as h}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import{a as F}from"./chunk-Z63MF55O.js";import{b as f}from"./chunk-RN4QN3AM.js";import"./chunk-4OXAFH6K.js";import"./chunk-OQLD3BC6.js";import{a as y}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import"./chunk-76QZXEBP.js";import{a as u}from"./chunk-366DNJGU.js";import{i as p,p as d}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{Ba as n,Kb as m,dc as s,ka as r,mb as a,ub as c,wb as l}from"./chunk-5L47ZUSK.js";var i=class{},v=(()=>{class e{layoutFacade=r(f);destroyRef=r(n);router=r(p);constructor(o){o.auth$.pipe(u()).subscribe(t=>{t?this.layoutFacade.loadNavLinks(t.roles):(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))}),o.load()}static \u0275fac=function(t){return new(t||e)(a(i))};static \u0275dir=l({type:e})}return e})();var x=(()=>{class e extends v{constructor(o){super(o)}static \u0275fac=function(t){return new(t||e)(a(y))};static \u0275cmp=c({type:e,selectors:[["devmx-learn-feature-shell"]],features:[m],decls:1,vars:0,template:function(t,D){t&1&&s(0,"devmx-layout")},dependencies:[d,h],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var H=[{path:"",data:{breadcrumb:"Aprenda"},title:"Habilidades",canActivate:[F("member")],component:x,children:[{path:"administracao",loadChildren:()=>import("./chunk-6O7ZXXYX.js").then(e=>e.learnFeatureAdminRoutes)}]}];export{x as LearnFeatureShellComponent,H as learnFeatureShellRoutes}; diff --git a/chunk-2GNIBV4J.js b/chunk-HY6WPF2C.js similarity index 97% rename from chunk-2GNIBV4J.js rename to chunk-HY6WPF2C.js index 1f43f29b..11d0fa92 100644 --- a/chunk-2GNIBV4J.js +++ b/chunk-HY6WPF2C.js @@ -1 +1 @@ -import{A as J,a as O,b,c as l,d as C,f as n,u as U}from"./chunk-XYJHVZQT.js";import{F as g,L as u,ba as f}from"./chunk-TEKHUYWQ.js";var t=class extends O{};var i=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.create(e)}};var p=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.delete(e)}};var s=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.findOne(e)}};var c=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.find(e)}};var a=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.update(e.id,e)}};var m=class extends J{createJobOpeningUseCase;findJobOpeningsUseCase;findJobOpeningByIDUseCase;updateJobOpeningUseCase;deleteJobOpeningUseCase;constructor(e,o,d,x,D){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",mode:"",contract:"",experience:""}},selected:null}),this.createJobOpeningUseCase=e,this.findJobOpeningsUseCase=o,this.findJobOpeningByIDUseCase=d,this.updateJobOpeningUseCase=x,this.deleteJobOpeningUseCase=D}load(){this.onLoad(this.findJobOpeningsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findJobOpeningByIDUseCase.execute(e))}create(e){let o=this.createJobOpeningUseCase.execute(e),d=x=>this.setState({selected:x});return this.onCreate(o.pipe(f(d))),o.pipe(u(1))}update(e){let o=this.updateJobOpeningUseCase.execute(e),d=x=>this.setState({selected:x});return this.onUpdate(o.pipe(f(d))),o.pipe(u(1))}delete(e){this.onDelete(this.deleteJobOpeningUseCase.execute(e))}};function h(){return C(m,[i,c,s,a,p])}function S(){return[h()]}var v=class extends U{};function j(){return{provide:t,useFactory(r,e){return new v(r,e,"job-openings")},deps:[l,b]}}function F(){return[j()]}function B(){return n(i,[t])}function k(){return n(c,[t])}function E(){return n(s,[t])}function H(){return n(a,[t])}function I(){return n(p,[t])}function y(){return[B(),k(),E(),H(),I()]}function Ee(){return[...F(),...y(),...S()]}var Le=(r,e)=>(r.loadOne(e.id),r.selected$.pipe(g(o=>!!o)));export{m as a,Ee as b,Le as c}; +import{A as J,a as O,b,c as l,d as C,f as n,u as U}from"./chunk-7BKB7KKA.js";import{F as g,L as u,ba as f}from"./chunk-5L47ZUSK.js";var t=class extends O{};var i=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.create(e)}};var p=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.delete(e)}};var s=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.findOne(e)}};var c=class{jobOpeningService;constructor(e){this.jobOpeningService=e}execute(e){return this.jobOpeningService.find(e)}};var a=class{skillService;constructor(e){this.skillService=e}execute(e){return this.skillService.update(e.id,e)}};var m=class extends J{createJobOpeningUseCase;findJobOpeningsUseCase;findJobOpeningByIDUseCase;updateJobOpeningUseCase;deleteJobOpeningUseCase;constructor(e,o,d,x,D){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{title:"",mode:"",contract:"",experience:""}},selected:null}),this.createJobOpeningUseCase=e,this.findJobOpeningsUseCase=o,this.findJobOpeningByIDUseCase=d,this.updateJobOpeningUseCase=x,this.deleteJobOpeningUseCase=D}load(){this.onLoad(this.findJobOpeningsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findJobOpeningByIDUseCase.execute(e))}create(e){let o=this.createJobOpeningUseCase.execute(e),d=x=>this.setState({selected:x});return this.onCreate(o.pipe(f(d))),o.pipe(u(1))}update(e){let o=this.updateJobOpeningUseCase.execute(e),d=x=>this.setState({selected:x});return this.onUpdate(o.pipe(f(d))),o.pipe(u(1))}delete(e){this.onDelete(this.deleteJobOpeningUseCase.execute(e))}};function h(){return C(m,[i,c,s,a,p])}function S(){return[h()]}var v=class extends U{};function j(){return{provide:t,useFactory(r,e){return new v(r,e,"job-openings")},deps:[l,b]}}function F(){return[j()]}function B(){return n(i,[t])}function k(){return n(c,[t])}function E(){return n(s,[t])}function H(){return n(a,[t])}function I(){return n(p,[t])}function y(){return[B(),k(),E(),H(),I()]}function Ee(){return[...F(),...y(),...S()]}var Le=(r,e)=>(r.loadOne(e.id),r.selected$.pipe(g(o=>!!o)));export{m as a,Ee as b,Le as c}; diff --git a/chunk-AFH22WZE.js b/chunk-I7HMQKPZ.js similarity index 99% rename from chunk-AFH22WZE.js rename to chunk-I7HMQKPZ.js index 447e40b6..632de32a 100644 --- a/chunk-AFH22WZE.js +++ b/chunk-I7HMQKPZ.js @@ -1 +1 @@ -import{b as W,d as ee}from"./chunk-EDIJ2EBQ.js";import{T as Z,Y as I,ca as Y,ga as $,q as K,sa as J}from"./chunk-W5KNOAKV.js";import{Aa as D,Ea as p,Fa as F,Fc as H,Ja as V,Mb as P,Pa as O,Sb as v,Sc as Q,Tb as h,Vb as f,Vc as n,Wb as S,Wc as G,bc as d,cc as m,da as T,dc as b,fa as w,ha as A,hc as U,ic as N,ka as r,kc as _,lb as u,nc as B,oc as j,qc as g,rc as y,sa as M,sc as C,ta as s,ua as l,ub as L,va as z,vb as q,wa as R,wc as X}from"./chunk-TEKHUYWQ.js";var ie=["input"],oe=["label"],re=["*"],ne=new A("mat-checkbox-default-options",{providedIn:"root",factory:te});function te(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var i=function(a){return a[a.Init=0]="Init",a[a.Checked=1]="Checked",a[a.Unchecked=2]="Unchecked",a[a.Indeterminate=3]="Indeterminate",a}(i||{}),de={provide:W,useExisting:T(()=>ae),multi:!0},E=class{source;checked},ce=te(),ae=(()=>{class a{_elementRef=r(V);_changeDetectorRef=r(Q);_ngZone=r(F);_animationMode=r(O,{optional:!0});_options=r(ne,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new E;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new p;indeterminateChange=new p;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=i.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){r(K).load(Y);let e=r(new D("tabindex"),{optional:!0});this._options=this._options||ce,this.color=this._options.color||ce.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=r(Z).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(i.Indeterminate):this._transitionCheckState(this.checked?i.Checked:i.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?i.Checked:i.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case i.Init:if(t===i.Checked)return this._animationClasses.uncheckedToChecked;if(t==i.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case i.Unchecked:return t===i.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case i.Checked:return t===i.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case i.Indeterminate:return t===i.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=L({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(g(ie,5),g(oe,5)),t&2){let o;y(o=C())&&(c._inputElement=o.first),y(o=C())&&(c._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,c){t&2&&(N("id",c.id),v("tabindex",null)("aria-label",null)("aria-labelledby",null),S(c.color?"mat-"+c.color:"mat-accent"),f("_mat-animation-noopable",c._animationMode==="NoopAnimations")("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked)("mat-mdc-checkbox-disabled-interactive",c.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",n],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",n],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:G(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",n],checked:[2,"checked","checked",n],disabled:[2,"disabled","disabled",n],indeterminate:[2,"indeterminate","indeterminate",n]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[H([de,{provide:ee,useExisting:a,multi:!0}]),P,M],ngContentSelectors:re,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let o=U();B(),d(0,"div",3),_("click",function(x){return s(o),l(c._preventBubblingFromLabel(x))}),d(1,"div",4,0)(3,"div",5),_("click",function(){return s(o),l(c._onTouchTargetClick())}),m(),d(4,"input",6,1),_("blur",function(){return s(o),l(c._onBlur())})("click",function(){return s(o),l(c._onInputClick())})("change",function(x){return s(o),l(c._onInteractionEvent(x))}),m(),b(6,"div",7),d(7,"div",8),z(),d(8,"svg",9),b(9,"path",10),m(),R(),b(10,"div",11),m(),b(11,"div",12),m(),d(12,"label",13,2),j(14),m()()}if(t&2){let o=X(2);h("labelPosition",c.labelPosition),u(4),f("mdc-checkbox--selected",c.checked),h("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled&&!c.disabledInteractive)("id",c.inputId)("required",c.required)("tabIndex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex),v("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("aria-controls",c.ariaControls)("aria-disabled",c.disabled&&c.disabledInteractive?!0:null)("aria-expanded",c.ariaExpanded)("aria-owns",c.ariaOwns)("name",c.name)("value",c.value),u(7),h("matRippleTrigger",o)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),u(),h("for",c.inputId)}},dependencies:[$,J],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return a})();var we=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=q({type:a});static \u0275inj=w({imports:[ae,I,I]})}return a})();export{ae as a,we as b}; +import{b as W,d as ee}from"./chunk-E5QACR6S.js";import{V as Z,_ as I,ea as Y,ia as $,s as K,ua as J}from"./chunk-CG5OOKZO.js";import{Aa as D,Ea as p,Fa as F,Fc as H,Ja as V,Mb as P,Pa as O,Sb as v,Sc as Q,Tb as h,Vb as f,Vc as n,Wb as S,Wc as G,bc as d,cc as m,da as T,dc as b,fa as w,ha as A,hc as U,ic as N,ka as r,kc as _,lb as u,nc as B,oc as j,qc as g,rc as y,sa as M,sc as C,ta as s,ua as l,ub as L,va as z,vb as q,wa as R,wc as X}from"./chunk-5L47ZUSK.js";var ie=["input"],oe=["label"],re=["*"],ne=new A("mat-checkbox-default-options",{providedIn:"root",factory:te});function te(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var i=function(a){return a[a.Init=0]="Init",a[a.Checked=1]="Checked",a[a.Unchecked=2]="Unchecked",a[a.Indeterminate=3]="Indeterminate",a}(i||{}),de={provide:W,useExisting:T(()=>ae),multi:!0},E=class{source;checked},ce=te(),ae=(()=>{class a{_elementRef=r(V);_changeDetectorRef=r(Q);_ngZone=r(F);_animationMode=r(O,{optional:!0});_options=r(ne,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new E;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new p;indeterminateChange=new p;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=i.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){r(K).load(Y);let e=r(new D("tabindex"),{optional:!0});this._options=this._options||ce,this.color=this._options.color||ce.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=r(Z).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(i.Indeterminate):this._transitionCheckState(this.checked?i.Checked:i.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?i.Checked:i.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case i.Init:if(t===i.Checked)return this._animationClasses.uncheckedToChecked;if(t==i.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case i.Unchecked:return t===i.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case i.Checked:return t===i.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case i.Indeterminate:return t===i.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=L({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(g(ie,5),g(oe,5)),t&2){let o;y(o=C())&&(c._inputElement=o.first),y(o=C())&&(c._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,c){t&2&&(N("id",c.id),v("tabindex",null)("aria-label",null)("aria-labelledby",null),S(c.color?"mat-"+c.color:"mat-accent"),f("_mat-animation-noopable",c._animationMode==="NoopAnimations")("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked)("mat-mdc-checkbox-disabled-interactive",c.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",n],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",n],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:G(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",n],checked:[2,"checked","checked",n],disabled:[2,"disabled","disabled",n],indeterminate:[2,"indeterminate","indeterminate",n]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[H([de,{provide:ee,useExisting:a,multi:!0}]),P,M],ngContentSelectors:re,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let o=U();B(),d(0,"div",3),_("click",function(x){return s(o),l(c._preventBubblingFromLabel(x))}),d(1,"div",4,0)(3,"div",5),_("click",function(){return s(o),l(c._onTouchTargetClick())}),m(),d(4,"input",6,1),_("blur",function(){return s(o),l(c._onBlur())})("click",function(){return s(o),l(c._onInputClick())})("change",function(x){return s(o),l(c._onInteractionEvent(x))}),m(),b(6,"div",7),d(7,"div",8),z(),d(8,"svg",9),b(9,"path",10),m(),R(),b(10,"div",11),m(),b(11,"div",12),m(),d(12,"label",13,2),j(14),m()()}if(t&2){let o=X(2);h("labelPosition",c.labelPosition),u(4),f("mdc-checkbox--selected",c.checked),h("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled&&!c.disabledInteractive)("id",c.inputId)("required",c.required)("tabIndex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex),v("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("aria-controls",c.ariaControls)("aria-disabled",c.disabled&&c.disabledInteractive?!0:null)("aria-expanded",c.ariaExpanded)("aria-owns",c.ariaOwns)("name",c.name)("value",c.value),u(7),h("matRippleTrigger",o)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),u(),h("for",c.inputId)}},dependencies:[$,J],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return a})();var we=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=q({type:a});static \u0275inj=w({imports:[ae,I,I]})}return a})();export{ae as a,we as b}; diff --git a/chunk-INB6BZQB.js b/chunk-INB6BZQB.js new file mode 100644 index 00000000..90c04355 --- /dev/null +++ b/chunk-INB6BZQB.js @@ -0,0 +1 @@ +import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"./chunk-37XQ32LA.js";import"./chunk-J4P2XXRU.js";import"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import"./chunk-366DNJGU.js";import"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import"./chunk-BJ2ND26O.js";import"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import"./chunk-5L47ZUSK.js";export{k as EventCardComponent,c as EventCardListComponent,b as EventDateRangeComponent,a as EventDateRangeForm,d as EventFilterComponent,f as EventFormatPipe,l as EventTimeComponent,g as FindInRSVPPipe,e as RSVPButtonComponent,h as RSVPByStatusPipe,m as RSVPForm,i as ShowEventAddressPipe,j as ShowEventLinkPipe}; diff --git a/chunk-F6THDKE2.js b/chunk-IWNQKLZQ.js similarity index 89% rename from chunk-F6THDKE2.js rename to chunk-IWNQKLZQ.js index de9a1e91..720c5a07 100644 --- a/chunk-F6THDKE2.js +++ b/chunk-IWNQKLZQ.js @@ -1 +1 @@ -import{a as Oe}from"./chunk-ZTJS4K5V.js";import{a as Se}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import{a as Y}from"./chunk-Q33OVU5J.js";import{h as Xe}from"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{b as Fe}from"./chunk-WKFJTKSD.js";import{a as W}from"./chunk-ZHS65JNW.js";import{c as be}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-MLNPCJDD.js";import{a as Ne,b as ze,c as Ue,d as je}from"./chunk-FVH3EPWM.js";import"./chunk-UOTKRQ63.js";import{a as $e}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{c as w,d as De,g as we}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as z}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import{b as qe,d as Qe,e as Ge,i as He,j as We,k as Ye,l as Je,m as Ke}from"./chunk-DAURILCW.js";import"./chunk-O3T3UZHL.js";import"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as M}from"./chunk-A3N3AUUJ.js";import{g as A,i as V,j as $,p as S,r as Ee,v as Me,w as Pe,x as D}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as _e,d as fe,e as Ce,f as ge,g as he,i as xe,l as ye}from"./chunk-PAP2P7QR.js";import{a as Te,b as Ie,c as ke,d as Le,f as Re,g as Be,h as Ae,i as Ve}from"./chunk-EC6LD5KM.js";import{a as N,h as le,i as ce,m as pe,p as de,s as ue,x as ve}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as P,Ba as ee,F as T,Fb as ie,Ha as te,Hc as E,Ia as Q,Jc as v,Kc as g,Lc as H,Nb as f,Ob as G,Pb as ae,Rb as oe,Tb as l,Yb as C,Yd as re,_b as L,a as j,ac as F,ba as Z,bc as a,cc as r,dc as s,gb as b,hc as R,je as me,ka as d,kc as x,lb as o,mc as u,pe as se,t as q,ta as I,u as X,ua as k,ub as h,xb as ne,xc as c,yc as y,zc as B}from"./chunk-TEKHUYWQ.js";var Ze=(()=>{class e{router=d(V);destroyRef=d(ee);authFacade=d(z);layoutFacade=d(Fe);ngOnInit(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-feature-shell"]],decls:1,vars:0,template:function(i,n){i&1&&s(0,"devmx-layout")},dependencies:[S,Se],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var et=e=>we(d(w),e.params);var tt=(()=>{class e{transform(t){switch(t){case"in-person":return"Presencial";case"online":return"Online";case"mixed":return"H\xEDbrido"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=ne({name:"eventFormat",type:e,pure:!0})}return e})();var pt=e=>["/","evento",e];function dt(e,m){if(e&1&&s(0,"img",7),e&2){let t=u();l("src",t.cover,b)("alt",t.title)}}function ut(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"devmx-icon",16),a(2,"div",9),c(3),r()()),e&2){let t=u();o(3),y(t.address)}}function vt(e,m){if(e&1&&s(0,"devmx-maps-button",18),e&2){let t=u();l("data",t)}}function _t(e,m){if(e&1&&s(0,"devmx-youtube-button",19),e&2){let t=u();l("data",t)}}function ft(e,m){if(e&1&&(a(0,"mat-card-content",12),s(1,"devmx-calendar-button",17),f(2,vt,1,1,"devmx-maps-button",18),v(3,"showEventAddress"),f(4,_t,1,1,"devmx-youtube-button",19),v(5,"showEventLink"),s(6,"devmx-whats-app-button",20),r()),e&2){let t=m;o(),l("data",t),o(),C(g(3,4,t.format)&&t.address?2:-1),o(2),C(g(5,6,t.format)&&t.link?4:-1),o(2),l("data",t)}}function Ct(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"devmx-icon",22),a(2,"div",9),c(3),r()()),e&2){let t=m.$implicit;o(3),y(t.title)}}function gt(e,m){if(e&1&&(a(0,"mat-list")(1,"h3",21),c(2,"Apresenta\xE7\xF5es"),r(),P(3,Ct,4,1,"mat-list-item",null,L),r()),e&2){let t=u();o(3),F(t.presentations)}}function ht(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"img",23),v(2,"photo"),a(3,"div",9),c(4),r()()),e&2){let t=m.$implicit;o(),l("src",g(2,3,t==null||t.profile==null?null:t.profile.photo),b)("alt",t.displayName),o(3),y(t.displayName)}}function xt(e,m){if(e&1&&(a(0,"mat-list")(1,"h3",21),c(2,"Organizadores"),r(),P(3,ht,5,5,"mat-list-item",null,L),r()),e&2){let t=u();o(3),F(t.leaders)}}function yt(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"img",23),v(2,"photo"),a(3,"div",9),c(4),r()()),e&2){let t=m.$implicit;o(),l("src",g(2,3,t.user.profile==null?null:t.user.profile.photo),b)("alt",t.user.displayName),o(3),y(t.user.displayName)}}function Et(e,m){if(e&1){let t=R();a(0,"form",24)(1,"devmx-rsvp-button",25),x("statusChange",function(){I(t);let n=u(2);return k(n.onStatusChange())}),r()(),a(2,"mat-list")(3,"h3",21),c(4,"Presen\xE7as"),r(),P(5,yt,5,5,"mat-list-item",null,L),r()}if(e&2){let t=u(2);l("formGroup",t.rsvpForm),o(5),F(m)}}function Mt(e,m){if(e&1&&(a(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),r(),a(4,"mat-card-title",4),c(5),r(),a(6,"a",5),s(7,"devmx-icon",6),r()(),f(8,dt,1,2,"img",7),a(9,"mat-list")(10,"mat-list-item"),s(11,"devmx-icon",8),a(12,"div",9),c(13),v(14,"eventFormat"),r()(),a(15,"mat-list-item"),s(16,"devmx-icon",10),a(17,"div",9),c(18),v(19,"date"),r()(),a(20,"mat-list-item"),s(21,"devmx-icon",11),a(22,"div",9),c(23),v(24,"date"),r()(),f(25,ut,4,1,"mat-list-item"),r(),f(26,ft,7,8,"mat-card-content",12),v(27,"async"),a(28,"mat-card-content"),s(29,"devmx-markdown-view",13),a(30,"a",14),c(31," Ir para p\xE1gina do evento "),r()(),f(32,gt,5,0,"mat-list")(33,xt,5,0,"mat-list")(34,Et,7,1),v(35,"async"),a(36,"mat-card-header"),s(37,"img",15),v(38,"photo"),a(39,"mat-card-title"),c(40),r(),a(41,"mat-card-subtitle"),c(42," Organizador "),r()()()),e&2){let t,i,n=m,p=u();o(5),B(" ",n.title," "),o(3),C(n.cover?8:-1),o(5),y(g(14,15,n.format)),o(5),y(H(19,17,n.date,"shortDate")),o(5),B("",H(24,20,n.date,"shortTime"),"h"),o(2),C(n.address?25:-1),o(),C((t=g(27,23,p.eventFacade.page$))?26:-1,t),o(3),l("content",n.description),o(),l("routerLink",E(29,pt,n.id)),o(2),C(n.presentations.length?32:-1),o(),C(n.leaders.length?33:-1),o(),C((i=g(35,25,p.rsvpFacade.response$))?34:-1,i),o(3),l("src",g(38,27,n.owner.profile==null?null:n.owner.profile.photo),b)("alt",n.owner.displayName),o(3),B(" ",n.owner.displayName," ")}}var nt=(()=>{class e{route=d(A);rsvpForm=new Ke;authFacade=d(z);eventFacade=d(w);rsvpFacade=d(De);event$=this.route.data.pipe(T(t=>"event"in t),q(t=>t.event),Z(t=>this.setRSVPEvent(t.id)));constructor(){let t=this.authFacade.auth$.pipe(T(n=>!!n),q(n=>n.id)),i=this.rsvpFacade.response$.pipe(T(n=>n.length>0));X([t,i]).pipe(M()).subscribe(([n,p])=>{let _=p.find(U=>U.user.id===n);_&&this.setRSVPStatus(_)})}setRSVPEvent=t=>{this.rsvpForm.patchValue({event:t}),this.rsvpFacade.loadConfirmed(t)};setRSVPStatus({status:t}){this.rsvpForm.patchValue({status:t},{emitEvent:!1})}onStatusChange(){this.rsvpForm.valid&&this.rsvpFacade.create(this.rsvpForm.getRawValue())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-details"]],decls:2,vars:3,consts:[[1,"event-card"],[1,"event-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"event-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["mat-card-image","",3,"src","alt"],["matListItemIcon","","name","transport/flag-pin"],["matListItemTitle",""],["matListItemIcon","","name","calendar"],["matListItemIcon","","name","alarm-clock-alert"],[1,"event-card-buttons"],[3,"content"],["mat-raised-button","",3,"routerLink"],["mat-card-avatar","",3,"src","alt"],["matListItemIcon","","name","transport/map-pin"],["text","Definir lembrete",3,"data"],["text","Ver no mapa",3,"data"],["text","Assistir",3,"data"],["text","Compartilhar",3,"data"],["mat-subheader",""],["matListItemIcon","","name","presentation"],["matListItemAvatar","",3,"src","alt"],[1,"rsvp-button",3,"formGroup"],["formControlName","status",3,"statusChange"]],template:function(i,n){if(i&1&&(f(0,Mt,43,31,"mat-card",0),v(1,"async")),i&2){let p;C((p=g(1,1,n.event$))?0:-1,p)}},dependencies:[S,$,ve,pe,le,ce,de,ue,Ge,ze,Ue,Ne,je,Ve,Te,Ae,ke,Re,Be,Le,Ie,ye,ge,he,fe,Ce,xe,_e,D,Ee,Pe,N,tt,$e,He,We,Oe,me,se],styles:["[_nghost-%COMP%]{flex:1;height:100%;display:flex;flex-direction:column}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 16px;font-size:1.2em;font-weight:500;opacity:.6}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .event-card-buttons[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .rsvp-button[_ngcontent-%COMP%]{padding:1em}"],changeDetection:0})}return e})();var it=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-home"]],decls:0,vars:0,template:function(i,n){},dependencies:[D,Xe],encapsulation:2,changeDetection:0})}return e})();var at=(()=>{class e{ascText=Q("");descText=Q("");sortChange=te();current=ie("asc");toggle(){this.current()==="asc"?this.current.set("desc"):this.current.set("asc"),this.sortChange.emit(this.current())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-sort-direction"]],inputs:{ascText:[1,"ascText"],descText:[1,"descText"]},outputs:{sortChange:"sortChange"},exportAs:["sortDirection"],decls:4,vars:2,consts:[["mat-icon-button","",3,"click","ngClass"],["name","arrow/up"]],template:function(i,n){i&1&&(a(0,"span"),c(1),r(),a(2,"button",0),x("click",function(){return n.toggle()}),s(3,"devmx-icon",1),r()),i&2&&(o(),y(n.current()==="asc"?n.ascText():n.descText()),o(),l("ngClass",n.current()))},dependencies:[D,Me,N,re],styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center}[_nghost-%COMP%] button[_ngcontent-%COMP%]{transition:transform .6s cubic-bezier(.175,.885,.32,1.275)}[_nghost-%COMP%] button.asc[_ngcontent-%COMP%]{transform:rotate(-360deg)}[_nghost-%COMP%] button.desc[_ngcontent-%COMP%]{transform:rotate(540deg)}"]})}return e})();var Pt=(e,m)=>m.id,Ft=()=>[be,W,import("./chunk-QQ3DFMVY.js").then(e=>e.AsyncPipe)],St=()=>[Ye,$],Dt=e=>[e],wt=e=>({right:e}),bt=e=>({outlets:e}),Ot=e=>["/","eventos",e];function Tt(e,m){if(e&1&&(a(0,"a",7),s(1,"devmx-event-card",8),r()),e&2){let t=u().$implicit;l("routerLink",E(8,Ot,E(6,bt,E(4,wt,E(2,Dt,t.id))))),o(),l("data",t)}}function It(e,m){e&1&&s(0,"devmx-skeleton",9),e&2&&l("rows",3)}function kt(e,m){e&1&&(f(0,Tt,2,10)(1,It,1,1),G(2,0,St,null,1),oe(0,-1))}function Lt(e,m){if(e&1){let t=R();a(0,"div",4),P(1,kt,4,0,null,null,Pt),r(),s(3,"div",5),a(4,"footer")(5,"devmx-paginator",6),x("pageChange",function(n){I(t);let p=u(2);return k(p.onPageChange(n))}),r()()}if(e&2){let t=m;o(),F(t.data),o(4),l("size",10)("items",t.items)}}function Rt(e,m){if(e&1&&(f(0,Lt,6,2),v(1,"async")),e&2){let t,i=u();C((t=g(1,1,i.eventFacade.response$))?0:-1,t)}}function Bt(e,m){e&1&&(a(0,"div",4),s(1,"devmx-skeleton",9)(2,"devmx-skeleton",9)(3,"devmx-skeleton",9),r()),e&2&&(o(),l("rows",3),o(),l("rows",2),o(),l("rows",3))}var ot=(()=>{class e{router=d(V);route=d(A);eventFacade=d(w);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{title:i="",format:n="",date:p="asc",time:_=""}=t,{page:U=0,size:rt=10}=t,mt={title:i,format:n},{start:J,end:K}=t,st={date:p};this.eventFacade.setParams({page:U,size:rt,filter:mt,sort:st}),J&&K?this.eventFacade.loadDateRange(new Date(J),new Date(K)):_==="until"?this.eventFacade.loadUntil():this.eventFacade.load()};onFilterChange(t){let i=this.mergeQueryParams({format:t});this.router.navigate([],{queryParams:i})}onTimeChange(t){let i={time:t};this.router.navigate([],{queryParams:i})}onRangeChange({start:t,end:i}){let n=this.mergeQueryParams({start:t,end:i});this.router.navigate([],{queryParams:n})}onSortChange(t){let i=this.mergeQueryParams({date:t});this.router.navigate([],{queryParams:i})}onPageChange(t){this.router.navigate([],{queryParams:t})}mergeQueryParams(t){return j(j({},this.route.snapshot.queryParams),t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-events"]],decls:11,vars:0,consts:[[3,"filterChange"],[3,"timeChange"],[3,"rangeChange"],[3,"sortChange"],[1,"events-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"event-card",3,"data"],[3,"rows"]],template:function(i,n){i&1&&(a(0,"header")(1,"section")(2,"devmx-event-filter",0),x("filterChange",function(_){return n.onFilterChange(_)}),r(),a(3,"devmx-event-time",1),x("timeChange",function(_){return n.onTimeChange(_)}),r()(),a(4,"div")(5,"devmx-event-date-range",2),x("rangeChange",function(_){return n.onRangeChange(_)}),r(),a(6,"devmx-sort-direction",3),x("sortChange",function(_){return n.onSortChange(_)}),r()()(),f(7,Rt,2,3)(8,Bt,4,3),G(9,7,Ft,null,8),ae(500))},dependencies:[Je,Qe,qe,at,W,S],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;align-items:baseline}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%] .event-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Xn=[{path:"",data:{breadcrumb:"Eventos"},canActivate:[Y("member")],component:Ze,children:[{path:"administracao",canActivate:[Y("leader","director","manager","staff")],loadChildren:()=>import("./chunk-MYMD7E64.js").then(e=>e.eventFeatureAdminRoutes)},{path:"",title:"Eventos",component:ot},{path:":id",data:{breadcrumb:e=>e.event.title},title:"Evento",resolve:{event:et},component:nt,outlet:"right"},{path:"",component:it}]}];export{Ze as EventFeatureShellComponent,Xn as eventFeatureShellRoutes}; +import{a as Oe}from"./chunk-LJI7J76F.js";import{a as Se}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import{a as Y}from"./chunk-Z63MF55O.js";import{h as Xe}from"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{b as Fe}from"./chunk-RN4QN3AM.js";import{a as W}from"./chunk-EM27EDGS.js";import{c as be}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-4OXAFH6K.js";import{a as Ne,b as ze,c as Ue,d as je}from"./chunk-KN3XQ7E5.js";import"./chunk-OQLD3BC6.js";import{a as $e}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{c as w,d as De,g as we}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as z}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import{b as qe,d as Qe,e as Ge,i as He,j as We,k as Ye,l as Je,m as Ke}from"./chunk-37XQ32LA.js";import"./chunk-J4P2XXRU.js";import"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as M}from"./chunk-366DNJGU.js";import{g as A,i as V,j as $,p as S,r as Ee,v as Me,w as Pe,x as D}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as _e,d as fe,e as Ce,f as ge,g as he,i as xe,l as ye}from"./chunk-UANEMOTZ.js";import{a as Te,b as Ie,c as ke,d as Le,f as Re,g as Be,h as Ae,i as Ve}from"./chunk-BJ2ND26O.js";import{a as N,h as le,i as ce,m as pe,p as de,s as ue,x as ve}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as P,Ba as ee,F as T,Fb as ie,Ha as te,Hc as E,Ia as Q,Jc as v,Kc as g,Lc as H,Nb as f,Ob as G,Pb as ae,Rb as oe,Tb as l,Yb as C,Yd as re,_b as L,a as j,ac as F,ba as Z,bc as a,cc as r,dc as s,gb as b,hc as R,je as me,ka as d,kc as x,lb as o,mc as u,pe as se,t as q,ta as I,u as X,ua as k,ub as h,xb as ne,xc as c,yc as y,zc as B}from"./chunk-5L47ZUSK.js";var Ze=(()=>{class e{router=d(V);destroyRef=d(ee);authFacade=d(z);layoutFacade=d(Fe);ngOnInit(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-feature-shell"]],decls:1,vars:0,template:function(i,n){i&1&&s(0,"devmx-layout")},dependencies:[S,Se],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var et=e=>we(d(w),e.params);var tt=(()=>{class e{transform(t){switch(t){case"in-person":return"Presencial";case"online":return"Online";case"mixed":return"H\xEDbrido"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=ne({name:"eventFormat",type:e,pure:!0})}return e})();var pt=e=>["/","evento",e];function dt(e,m){if(e&1&&s(0,"img",7),e&2){let t=u();l("src",t.cover,b)("alt",t.title)}}function ut(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"devmx-icon",16),a(2,"div",9),c(3),r()()),e&2){let t=u();o(3),y(t.address)}}function vt(e,m){if(e&1&&s(0,"devmx-maps-button",18),e&2){let t=u();l("data",t)}}function _t(e,m){if(e&1&&s(0,"devmx-youtube-button",19),e&2){let t=u();l("data",t)}}function ft(e,m){if(e&1&&(a(0,"mat-card-content",12),s(1,"devmx-calendar-button",17),f(2,vt,1,1,"devmx-maps-button",18),v(3,"showEventAddress"),f(4,_t,1,1,"devmx-youtube-button",19),v(5,"showEventLink"),s(6,"devmx-whats-app-button",20),r()),e&2){let t=m;o(),l("data",t),o(),C(g(3,4,t.format)&&t.address?2:-1),o(2),C(g(5,6,t.format)&&t.link?4:-1),o(2),l("data",t)}}function Ct(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"devmx-icon",22),a(2,"div",9),c(3),r()()),e&2){let t=m.$implicit;o(3),y(t.title)}}function gt(e,m){if(e&1&&(a(0,"mat-list")(1,"h3",21),c(2,"Apresenta\xE7\xF5es"),r(),P(3,Ct,4,1,"mat-list-item",null,L),r()),e&2){let t=u();o(3),F(t.presentations)}}function ht(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"img",23),v(2,"photo"),a(3,"div",9),c(4),r()()),e&2){let t=m.$implicit;o(),l("src",g(2,3,t==null||t.profile==null?null:t.profile.photo),b)("alt",t.displayName),o(3),y(t.displayName)}}function xt(e,m){if(e&1&&(a(0,"mat-list")(1,"h3",21),c(2,"Organizadores"),r(),P(3,ht,5,5,"mat-list-item",null,L),r()),e&2){let t=u();o(3),F(t.leaders)}}function yt(e,m){if(e&1&&(a(0,"mat-list-item"),s(1,"img",23),v(2,"photo"),a(3,"div",9),c(4),r()()),e&2){let t=m.$implicit;o(),l("src",g(2,3,t.user.profile==null?null:t.user.profile.photo),b)("alt",t.user.displayName),o(3),y(t.user.displayName)}}function Et(e,m){if(e&1){let t=R();a(0,"form",24)(1,"devmx-rsvp-button",25),x("statusChange",function(){I(t);let n=u(2);return k(n.onStatusChange())}),r()(),a(2,"mat-list")(3,"h3",21),c(4,"Presen\xE7as"),r(),P(5,yt,5,5,"mat-list-item",null,L),r()}if(e&2){let t=u(2);l("formGroup",t.rsvpForm),o(5),F(m)}}function Mt(e,m){if(e&1&&(a(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),r(),a(4,"mat-card-title",4),c(5),r(),a(6,"a",5),s(7,"devmx-icon",6),r()(),f(8,dt,1,2,"img",7),a(9,"mat-list")(10,"mat-list-item"),s(11,"devmx-icon",8),a(12,"div",9),c(13),v(14,"eventFormat"),r()(),a(15,"mat-list-item"),s(16,"devmx-icon",10),a(17,"div",9),c(18),v(19,"date"),r()(),a(20,"mat-list-item"),s(21,"devmx-icon",11),a(22,"div",9),c(23),v(24,"date"),r()(),f(25,ut,4,1,"mat-list-item"),r(),f(26,ft,7,8,"mat-card-content",12),v(27,"async"),a(28,"mat-card-content"),s(29,"devmx-markdown-view",13),a(30,"a",14),c(31," Ir para p\xE1gina do evento "),r()(),f(32,gt,5,0,"mat-list")(33,xt,5,0,"mat-list")(34,Et,7,1),v(35,"async"),a(36,"mat-card-header"),s(37,"img",15),v(38,"photo"),a(39,"mat-card-title"),c(40),r(),a(41,"mat-card-subtitle"),c(42," Organizador "),r()()()),e&2){let t,i,n=m,p=u();o(5),B(" ",n.title," "),o(3),C(n.cover?8:-1),o(5),y(g(14,15,n.format)),o(5),y(H(19,17,n.date,"shortDate")),o(5),B("",H(24,20,n.date,"shortTime"),"h"),o(2),C(n.address?25:-1),o(),C((t=g(27,23,p.eventFacade.page$))?26:-1,t),o(3),l("content",n.description),o(),l("routerLink",E(29,pt,n.id)),o(2),C(n.presentations.length?32:-1),o(),C(n.leaders.length?33:-1),o(),C((i=g(35,25,p.rsvpFacade.response$))?34:-1,i),o(3),l("src",g(38,27,n.owner.profile==null?null:n.owner.profile.photo),b)("alt",n.owner.displayName),o(3),B(" ",n.owner.displayName," ")}}var nt=(()=>{class e{route=d(A);rsvpForm=new Ke;authFacade=d(z);eventFacade=d(w);rsvpFacade=d(De);event$=this.route.data.pipe(T(t=>"event"in t),q(t=>t.event),Z(t=>this.setRSVPEvent(t.id)));constructor(){let t=this.authFacade.auth$.pipe(T(n=>!!n),q(n=>n.id)),i=this.rsvpFacade.response$.pipe(T(n=>n.length>0));X([t,i]).pipe(M()).subscribe(([n,p])=>{let _=p.find(U=>U.user.id===n);_&&this.setRSVPStatus(_)})}setRSVPEvent=t=>{this.rsvpForm.patchValue({event:t}),this.rsvpFacade.loadConfirmed(t)};setRSVPStatus({status:t}){this.rsvpForm.patchValue({status:t},{emitEvent:!1})}onStatusChange(){this.rsvpForm.valid&&this.rsvpFacade.create(this.rsvpForm.getRawValue())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-details"]],decls:2,vars:3,consts:[[1,"event-card"],[1,"event-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"event-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["mat-card-image","",3,"src","alt"],["matListItemIcon","","name","transport/flag-pin"],["matListItemTitle",""],["matListItemIcon","","name","calendar"],["matListItemIcon","","name","alarm-clock-alert"],[1,"event-card-buttons"],[3,"content"],["mat-raised-button","",3,"routerLink"],["mat-card-avatar","",3,"src","alt"],["matListItemIcon","","name","transport/map-pin"],["text","Definir lembrete",3,"data"],["text","Ver no mapa",3,"data"],["text","Assistir",3,"data"],["text","Compartilhar",3,"data"],["mat-subheader",""],["matListItemIcon","","name","presentation"],["matListItemAvatar","",3,"src","alt"],[1,"rsvp-button",3,"formGroup"],["formControlName","status",3,"statusChange"]],template:function(i,n){if(i&1&&(f(0,Mt,43,31,"mat-card",0),v(1,"async")),i&2){let p;C((p=g(1,1,n.event$))?0:-1,p)}},dependencies:[S,$,ve,pe,le,ce,de,ue,Ge,ze,Ue,Ne,je,Ve,Te,Ae,ke,Re,Be,Le,Ie,ye,ge,he,fe,Ce,xe,_e,D,Ee,Pe,N,tt,$e,He,We,Oe,me,se],styles:["[_nghost-%COMP%]{flex:1;height:100%;display:flex;flex-direction:column}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 16px;font-size:1.2em;font-weight:500;opacity:.6}[_nghost-%COMP%] .event-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .event-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .event-card-buttons[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .rsvp-button[_ngcontent-%COMP%]{padding:1em}"],changeDetection:0})}return e})();var it=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-event-home"]],decls:0,vars:0,template:function(i,n){},dependencies:[D,Xe],encapsulation:2,changeDetection:0})}return e})();var at=(()=>{class e{ascText=Q("");descText=Q("");sortChange=te();current=ie("asc");toggle(){this.current()==="asc"?this.current.set("desc"):this.current.set("asc"),this.sortChange.emit(this.current())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-sort-direction"]],inputs:{ascText:[1,"ascText"],descText:[1,"descText"]},outputs:{sortChange:"sortChange"},exportAs:["sortDirection"],decls:4,vars:2,consts:[["mat-icon-button","",3,"click","ngClass"],["name","arrow/up"]],template:function(i,n){i&1&&(a(0,"span"),c(1),r(),a(2,"button",0),x("click",function(){return n.toggle()}),s(3,"devmx-icon",1),r()),i&2&&(o(),y(n.current()==="asc"?n.ascText():n.descText()),o(),l("ngClass",n.current()))},dependencies:[D,Me,N,re],styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center}[_nghost-%COMP%] button[_ngcontent-%COMP%]{transition:transform .6s cubic-bezier(.175,.885,.32,1.275)}[_nghost-%COMP%] button.asc[_ngcontent-%COMP%]{transform:rotate(-360deg)}[_nghost-%COMP%] button.desc[_ngcontent-%COMP%]{transform:rotate(540deg)}"]})}return e})();var Pt=(e,m)=>m.id,Ft=()=>[be,W,import("./chunk-NAKSAAO7.js").then(e=>e.AsyncPipe)],St=()=>[Ye,$],Dt=e=>[e],wt=e=>({right:e}),bt=e=>({outlets:e}),Ot=e=>["/","eventos",e];function Tt(e,m){if(e&1&&(a(0,"a",7),s(1,"devmx-event-card",8),r()),e&2){let t=u().$implicit;l("routerLink",E(8,Ot,E(6,bt,E(4,wt,E(2,Dt,t.id))))),o(),l("data",t)}}function It(e,m){e&1&&s(0,"devmx-skeleton",9),e&2&&l("rows",3)}function kt(e,m){e&1&&(f(0,Tt,2,10)(1,It,1,1),G(2,0,St,null,1),oe(0,-1))}function Lt(e,m){if(e&1){let t=R();a(0,"div",4),P(1,kt,4,0,null,null,Pt),r(),s(3,"div",5),a(4,"footer")(5,"devmx-paginator",6),x("pageChange",function(n){I(t);let p=u(2);return k(p.onPageChange(n))}),r()()}if(e&2){let t=m;o(),F(t.data),o(4),l("size",10)("items",t.items)}}function Rt(e,m){if(e&1&&(f(0,Lt,6,2),v(1,"async")),e&2){let t,i=u();C((t=g(1,1,i.eventFacade.response$))?0:-1,t)}}function Bt(e,m){e&1&&(a(0,"div",4),s(1,"devmx-skeleton",9)(2,"devmx-skeleton",9)(3,"devmx-skeleton",9),r()),e&2&&(o(),l("rows",3),o(),l("rows",2),o(),l("rows",3))}var ot=(()=>{class e{router=d(V);route=d(A);eventFacade=d(w);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{title:i="",format:n="",date:p="asc",time:_=""}=t,{page:U=0,size:rt=10}=t,mt={title:i,format:n},{start:J,end:K}=t,st={date:p};this.eventFacade.setParams({page:U,size:rt,filter:mt,sort:st}),J&&K?this.eventFacade.loadDateRange(new Date(J),new Date(K)):_==="until"?this.eventFacade.loadUntil():this.eventFacade.load()};onFilterChange(t){let i=this.mergeQueryParams({format:t});this.router.navigate([],{queryParams:i})}onTimeChange(t){let i={time:t};this.router.navigate([],{queryParams:i})}onRangeChange({start:t,end:i}){let n=this.mergeQueryParams({start:t,end:i});this.router.navigate([],{queryParams:n})}onSortChange(t){let i=this.mergeQueryParams({date:t});this.router.navigate([],{queryParams:i})}onPageChange(t){this.router.navigate([],{queryParams:t})}mergeQueryParams(t){return j(j({},this.route.snapshot.queryParams),t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=h({type:e,selectors:[["devmx-events"]],decls:11,vars:0,consts:[[3,"filterChange"],[3,"timeChange"],[3,"rangeChange"],[3,"sortChange"],[1,"events-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"event-card",3,"data"],[3,"rows"]],template:function(i,n){i&1&&(a(0,"header")(1,"section")(2,"devmx-event-filter",0),x("filterChange",function(_){return n.onFilterChange(_)}),r(),a(3,"devmx-event-time",1),x("timeChange",function(_){return n.onTimeChange(_)}),r()(),a(4,"div")(5,"devmx-event-date-range",2),x("rangeChange",function(_){return n.onRangeChange(_)}),r(),a(6,"devmx-sort-direction",3),x("sortChange",function(_){return n.onSortChange(_)}),r()()(),f(7,Rt,2,3)(8,Bt,4,3),G(9,7,Ft,null,8),ae(500))},dependencies:[Je,Qe,qe,at,W,S],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;align-items:baseline}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%] .event-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Xn=[{path:"",data:{breadcrumb:"Eventos"},canActivate:[Y("member")],component:Ze,children:[{path:"administracao",canActivate:[Y("leader","director","manager","staff")],loadChildren:()=>import("./chunk-MNMKGC52.js").then(e=>e.eventFeatureAdminRoutes)},{path:"",title:"Eventos",component:ot},{path:":id",data:{breadcrumb:e=>e.event.title},title:"Evento",resolve:{event:et},component:nt,outlet:"right"},{path:"",component:it}]}];export{Ze as EventFeatureShellComponent,Xn as eventFeatureShellRoutes}; diff --git a/chunk-O3T3UZHL.js b/chunk-J4P2XXRU.js similarity index 86% rename from chunk-O3T3UZHL.js rename to chunk-J4P2XXRU.js index 64033ea0..737dfdde 100644 --- a/chunk-O3T3UZHL.js +++ b/chunk-J4P2XXRU.js @@ -1,3 +1,3 @@ -import{c as $t}from"./chunk-VVQ6JEVH.js";import{f as Lt,g as at,k as Wt,n as Gt,o as He,r as Ut}from"./chunk-AND6K73U.js";import{a as nt,f as st,g as qt}from"./chunk-BJXILAOS.js";import{B as jt,q as it,v as rt,x as Qt}from"./chunk-6BGAZ7SQ.js";import{c as Ze,d as de,g as Y,h as Je,i as et,j as le}from"./chunk-I7VYXJU2.js";import{b as Le,d as Be,e as pe,f as Bt,g as Ht,k as zt,p as Kt}from"./chunk-EDIJ2EBQ.js";import{$ as G,M as Rt,R as tt,S as Tt,T as he,U as W,Y as Ot,Z as Pt,_ as f,ba as Yt,ca as Nt,f as It,i as Ye,n as xt,q as ce,r as Ne,s as z,y as Ft}from"./chunk-W5KNOAKV.js";import{$b as Ee,Aa as yt,Bc as Te,Cc as Oe,D as te,Dc as Pe,Ea as p,Eb as kt,F as bt,Fa as Ct,Fb as $e,Fc as P,Ja as q,Kb as B,L as vt,Mb as re,Nb as H,Sb as b,Sc as E,Tb as m,Ub as Ve,Va as Ue,Vb as S,Vc as F,Wb as Xe,Yb as ne,Yd as Et,Z as Ce,ac as Ie,bc as d,cc as c,da as We,dc as V,e as D,ea as Q,ed as Vt,fa as Dt,ha as we,hc as se,ic as xe,j as R,ja as Ae,jc as Mt,ka as o,kc as g,la as ke,lb as l,lc as St,ma as Me,mc as u,nb as wt,nc as Fe,oc as oe,p as ye,pc as Re,qc as I,rc as k,sa as T,sc as M,ta as y,ua as C,ub as A,va as ae,vb as At,wa as Ge,wb as O,xa as ie,xc as v,yc as x,za as Se,zc as j}from"./chunk-TEKHUYWQ.js";var ba=["mat-calendar-body",""];function va(r,s){return this._trackRow(s)}var na=(r,s)=>s.id;function Da(r,s){if(r&1&&(d(0,"tr",0)(1,"td",3),v(2),c()()),r&2){let e=u();l(),Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e.numCols),l(),j(" ",e.label," ")}}function ya(r,s){if(r&1&&(d(0,"td",3),v(1),c()),r&2){let e=u(2);Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e._firstRowOffset),l(),j(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Ca(r,s){if(r&1){let e=se();d(0,"td",6)(1,"button",7),g("click",function(t){let i=y(e).$implicit,n=u(2);return C(n._cellClicked(i,t))})("focus",function(t){let i=y(e).$implicit,n=u(2);return C(n._emitActiveDateChange(i,t))}),d(2,"span",8),v(3),c(),V(4,"span",9),c()()}if(r&2){let e=s.$implicit,a=s.$index,t=u().$index,i=u();Ve("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),b("data-mat-row",t)("data-mat-col",a),l(),S("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(t,a))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),m("ngClass",e.cssClasses)("tabindex",i._isActiveCell(t,a)?0:-1),b("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),l(),S("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),l(),j(" ",e.displayValue," ")}}function wa(r,s){if(r&1&&(d(0,"tr",1),H(1,ya,2,6,"td",4),Ee(2,Ca,5,48,"td",5,na),c()),r&2){let e=s.$implicit,a=s.$index,t=u();l(),ne(a===0&&t._firstRowOffset?1:-1),l(),Ie(e)}}function Aa(r,s){if(r&1&&(d(0,"th",2)(1,"span",6),v(2),c(),d(3,"span",3),v(4),c()()),r&2){let e=s.$implicit;l(2),x(e.long),l(2),x(e.narrow)}}var ka=["*"];function Ma(r,s){}function Sa(r,s){if(r&1){let e=se();d(0,"mat-month-view",4),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("_userSelection",function(t){y(e);let i=u();return C(i._dateSelected(t))})("dragStarted",function(t){y(e);let i=u();return C(i._dragStarted(t))})("dragEnded",function(t){y(e);let i=u();return C(i._dragEnded(t))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Va(r,s){if(r&1){let e=se();d(0,"mat-year-view",5),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("monthSelected",function(t){y(e);let i=u();return C(i._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let i=u();return C(i._goToDateInView(t,"month"))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ea(r,s){if(r&1){let e=se();d(0,"mat-multi-year-view",6),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("yearSelected",function(t){y(e);let i=u();return C(i._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let i=u();return C(i._goToDateInView(t,"year"))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ia(r,s){}var xa=["button"],Fa=[[["","matDatepickerToggleIcon",""]]],Ra=["[matDatepickerToggleIcon]"];function Ta(r,s){r&1&&(ae(),d(0,"svg",2),V(1,"path",3),c())}var Oa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Pa=["input[matStartDate]","input[matEndDate]"];var fe=(()=>{class r{changes=new R;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||r)};static \u0275prov=Q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ya=0,me=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ya++;constructor(s,e,a,t,i={},n=s,h){this.value=s,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=i,this.compareValue=n,this.rawValue=h}},Xt=Ye({passive:!1,capture:!0}),N=Ye({passive:!0,capture:!0}),ze=Ye({passive:!0}),Z=(()=>{class r{_elementRef=o(q);_ngZone=o(Ct);_platform=o(It);_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_didDragSinceMouseDown=!1;_injector=o(Se);_trackRow=e=>e;constructor(){let e=o(he);this._startDateLabelId=e.getId("mat-calendar-body-start-"),this._endDateLabelId=e.getId("mat-calendar-body-start-"),o(ce).load(Nt),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement;a.addEventListener("touchmove",this._touchmoveHandler,Xt),a.addEventListener("mouseenter",this._enterHandler,N),a.addEventListener("focus",this._enterHandler,N),a.addEventListener("mouseleave",this._leaveHandler,N),a.addEventListener("blur",this._leaveHandler,N),a.addEventListener("mousedown",this._mousedownHandler,ze),a.addEventListener("touchstart",this._mousedownHandler,ze),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:i}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?i-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){let e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,Xt),e.removeEventListener("mouseenter",this._enterHandler,N),e.removeEventListener("focus",this._enterHandler,N),e.removeEventListener("mouseleave",this._leaveHandler,N),e.removeEventListener("blur",this._leaveHandler,N),e.removeEventListener("mousedown",this._mousedownHandler,ze),e.removeEventListener("touchstart",this._mousedownHandler,ze),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){Ue(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return lt(e,this.startValue,this.endValue)}_isRangeEnd(e){return ct(e,this.startValue,this.endValue)}_isInRange(e){return ht(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return lt(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[a][t-1];if(!i){let n=this.rows[a-1];i=n&&n[n.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[a][t+1];if(!i){let n=this.rows[a+1];i=n&&n[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ht(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return lt(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ct(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ht(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=Zt(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),dt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=dt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=Zt(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=dt(e);if(a){let t=a.getAttribute("data-mat-row"),i=a.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[T],attrs:ba,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(H(0,Da,3,6,"tr",0),Ee(1,wa,4,1,"tr",1,va,!0),d(3,"span",2),v(4),c(),d(5,"span",2),v(6),c()),a&2&&(ne(t._firstRowOffsets.id;function Da(r,s){if(r&1&&(d(0,"tr",0)(1,"td",3),v(2),c()()),r&2){let e=u();l(),Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e.numCols),l(),j(" ",e.label," ")}}function ya(r,s){if(r&1&&(d(0,"td",3),v(1),c()),r&2){let e=u(2);Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e._firstRowOffset),l(),j(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Ca(r,s){if(r&1){let e=se();d(0,"td",6)(1,"button",7),g("click",function(t){let i=y(e).$implicit,n=u(2);return C(n._cellClicked(i,t))})("focus",function(t){let i=y(e).$implicit,n=u(2);return C(n._emitActiveDateChange(i,t))}),d(2,"span",8),v(3),c(),V(4,"span",9),c()()}if(r&2){let e=s.$implicit,a=s.$index,t=u().$index,i=u();Ve("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),b("data-mat-row",t)("data-mat-col",a),l(),S("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(t,a))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),m("ngClass",e.cssClasses)("tabindex",i._isActiveCell(t,a)?0:-1),b("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),l(),S("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),l(),j(" ",e.displayValue," ")}}function wa(r,s){if(r&1&&(d(0,"tr",1),H(1,ya,2,6,"td",4),Ee(2,Ca,5,48,"td",5,na),c()),r&2){let e=s.$implicit,a=s.$index,t=u();l(),ne(a===0&&t._firstRowOffset?1:-1),l(),Ie(e)}}function Aa(r,s){if(r&1&&(d(0,"th",2)(1,"span",6),v(2),c(),d(3,"span",3),v(4),c()()),r&2){let e=s.$implicit;l(2),x(e.long),l(2),x(e.narrow)}}var ka=["*"];function Ma(r,s){}function Sa(r,s){if(r&1){let e=se();d(0,"mat-month-view",4),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("_userSelection",function(t){y(e);let i=u();return C(i._dateSelected(t))})("dragStarted",function(t){y(e);let i=u();return C(i._dragStarted(t))})("dragEnded",function(t){y(e);let i=u();return C(i._dragEnded(t))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Va(r,s){if(r&1){let e=se();d(0,"mat-year-view",5),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("monthSelected",function(t){y(e);let i=u();return C(i._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let i=u();return C(i._goToDateInView(t,"month"))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ea(r,s){if(r&1){let e=se();d(0,"mat-multi-year-view",6),Pe("activeDateChange",function(t){y(e);let i=u();return Oe(i.activeDate,t)||(i.activeDate=t),C(t)}),g("yearSelected",function(t){y(e);let i=u();return C(i._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let i=u();return C(i._goToDateInView(t,"year"))}),c()}if(r&2){let e=u();Te("activeDate",e.activeDate),m("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ia(r,s){}var xa=["button"],Fa=[[["","matDatepickerToggleIcon",""]]],Ra=["[matDatepickerToggleIcon]"];function Ta(r,s){r&1&&(ae(),d(0,"svg",2),V(1,"path",3),c())}var Oa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Pa=["input[matStartDate]","input[matEndDate]"];var fe=(()=>{class r{changes=new R;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||r)};static \u0275prov=Q({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ya=0,me=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ya++;constructor(s,e,a,t,i={},n=s,h){this.value=s,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=i,this.compareValue=n,this.rawValue=h}},Xt=Ye({passive:!1,capture:!0}),N=Ye({passive:!0,capture:!0}),ze=Ye({passive:!0}),Z=(()=>{class r{_elementRef=o(q);_ngZone=o(Ct);_platform=o(It);_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_didDragSinceMouseDown=!1;_injector=o(Se);_trackRow=e=>e;constructor(){let e=o(he);this._startDateLabelId=e.getId("mat-calendar-body-start-"),this._endDateLabelId=e.getId("mat-calendar-body-start-"),o(ce).load(Nt),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement;a.addEventListener("touchmove",this._touchmoveHandler,Xt),a.addEventListener("mouseenter",this._enterHandler,N),a.addEventListener("focus",this._enterHandler,N),a.addEventListener("mouseleave",this._leaveHandler,N),a.addEventListener("blur",this._leaveHandler,N),a.addEventListener("mousedown",this._mousedownHandler,ze),a.addEventListener("touchstart",this._mousedownHandler,ze),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:i}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?i-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){let e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,Xt),e.removeEventListener("mouseenter",this._enterHandler,N),e.removeEventListener("focus",this._enterHandler,N),e.removeEventListener("mouseleave",this._leaveHandler,N),e.removeEventListener("blur",this._leaveHandler,N),e.removeEventListener("mousedown",this._mousedownHandler,ze),e.removeEventListener("touchstart",this._mousedownHandler,ze),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){Ue(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return lt(e,this.startValue,this.endValue)}_isRangeEnd(e){return ct(e,this.startValue,this.endValue)}_isInRange(e){return ht(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return lt(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[a][t-1];if(!i){let n=this.rows[a-1];i=n&&n[n.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[a][t+1];if(!i){let n=this.rows[a+1];i=n&&n[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ht(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return lt(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ct(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ht(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=Zt(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),dt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=dt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=Zt(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=dt(e);if(a){let t=a.getAttribute("data-mat-row"),i=a.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[T],attrs:ba,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(H(0,Da,3,6,"tr",0),Ee(1,wa,4,1,"tr",1,va,!0),d(3,"span",2),v(4),c(),d(5,"span",2),v(6),c()),a&2&&(ne(t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}'],encapsulation:2,changeDetection:0})}return r})();function ot(r){return r?.nodeName==="TD"}function dt(r){let s;return ot(r)?s=r:ot(r.parentNode)?s=r.parentNode:ot(r.parentNode?.parentNode)&&(s=r.parentNode.parentNode),s?.getAttribute("data-mat-row")!=null?s:null}function lt(r,s,e){return e!==null&&s!==e&&r=s&&r===e}function ht(r,s,e,a){return a&&s!==null&&e!==null&&s!==e&&r>=s&&r<=e}function Zt(r){let s=r.changedTouches[0];return document.elementFromPoint(s.clientX,s.clientY)}var _=class{start;end;_disableStructuralEquivalency;constructor(s,e){this.start=s,this.end=e}},L=(()=>{class r{selection;_adapter;_selectionChanged=new R;selectionChanged=this._selectionChanged;constructor(e,a){this.selection=e,this._adapter=a,this.selection=e}updateSelection(e,a){let t=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:a,oldValue:t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(a){wt()};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})(),Na=(()=>{class r extends L{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new r(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(a){return new(a||r)(Ae(f))};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})(),La=(()=>{class r extends L{constructor(e){super(new _(null,null),e)}add(e){let{start:a,end:t}=this.selection;a==null?a=e:t==null?t=e:(a=e,t=null),super.updateSelection(new _(a,t),this)}isValid(){let{start:e,end:a}=this.selection;return e==null&&a==null?!0:e!=null&&a!=null?this._isValidDateInstance(e)&&this._isValidDateInstance(a)&&this._adapter.compareDate(e,a)<=0:(e==null||this._isValidDateInstance(e))&&(a==null||this._isValidDateInstance(a))}isComplete(){return this.selection.start!=null&&this.selection.end!=null}clone(){let e=new r(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(a){return new(a||r)(Ae(f))};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})();function Ba(r,s){return r||new Na(s)}var sa={provide:L,deps:[[new ke,new Me,L],f],useFactory:Ba};function Ha(r,s){return r||new La(s)}var za={provide:L,deps:[[new ke,new Me,L],f],useFactory:Ha},Ke=new we("MAT_DATE_RANGE_SELECTION_STRATEGY"),Ka=(()=>{class r{_dateAdapter;constructor(e){this._dateAdapter=e}selectionFinished(e,a){let{start:t,end:i}=a;return t==null?t=e:i==null&&e&&this._dateAdapter.compareDate(e,t)>=0?i=e:(t=e,i=null),new _(t,i)}createPreview(e,a){let t=null,i=null;return a.start&&!a.end&&e&&(t=a.start,i=e),new _(t,i)}createDrag(e,a,t){let i=a.start,n=a.end;if(!i||!n)return null;let h=this._dateAdapter,be=h.compareDate(i,n)!==0,K=h.getYear(t)-h.getYear(e),ve=h.getMonth(t)-h.getMonth(e),De=h.getDate(t)-h.getDate(e);return be&&h.sameDate(e,a.start)?(i=t,h.compareDate(t,n)>0&&(n=h.addCalendarYears(n,K),n=h.addCalendarMonths(n,ve),n=h.addCalendarDays(n,De))):be&&h.sameDate(e,a.end)?(n=t,h.compareDate(t,i)<0&&(i=h.addCalendarYears(i,K),i=h.addCalendarMonths(i,ve),i=h.addCalendarDays(i,De))):(i=h.addCalendarYears(i,K),i=h.addCalendarMonths(i,ve),i=h.addCalendarDays(i,De),n=h.addCalendarYears(n,K),n=h.addCalendarMonths(n,ve),n=h.addCalendarDays(n,De)),new _(i,n)}static \u0275fac=function(a){return new(a||r)(Ae(f))};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})();function Qa(r,s){return r||new Ka(s)}var qa={provide:Ke,deps:[[new ke,new Me,Ke],f],useFactory:Qa},pt=7,ja=0,Jt=(()=>{class r{_changeDetectorRef=o(E);_dateFormats=o(G,{optional:!0});_dateAdapter=o(f,{optional:!0});_dir=o(W,{optional:!0});_rangeStrategy=o(Ke,{optional:!0});_rerenderSubscription=D.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate,t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof _?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new p;_userSelection=new p;dragStarted=new p;dragEnded=new p;activeDateChange=new p;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){o(ce).load(Ne),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ce(null)).subscribe(()=>this._init())}ngOnChanges(e){let a=e.comparisonStart||e.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let a=e.value,t=this._getDateFromDayOfMonth(a),i,n;this._selected instanceof _?(i=this._getDateInCurrentMonth(this._selected.start),n=this._getDateInCurrentMonth(this._selected.end)):i=n=this._getDateInCurrentMonth(this._selected),(i!==a||n!==a)&&this.selectedChange.emit(t),this._userSelection.emit({value:t,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let a=e.value,t=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a),this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let a=this._activeDate,t=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,t?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,t?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!z(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(pt+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%pt,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:a}){if(this._rangeStrategy){let t=a?a.rawValue:null,i=this._rangeStrategy.createPreview(t,this.selected,e);if(this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this.activeDrag&&t){let n=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,t,e);n&&(this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let a=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:a??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow"),i=this._dateAdapter.getDayOfWeekNames("long").map((n,h)=>({long:n,narrow:a[h],id:ja++}));this._weekdays=i.slice(e).concat(i.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let t=0,i=this._firstWeekOffset;t=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,a){return!!(e&&a&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(a)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a))}_getCellCompareValue(e){if(e){let a=this._dateAdapter.getYear(e),t=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(a,t,i).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof _?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-month-view"]],viewQuery:function(a,t){if(a&1&&I(Z,5),a&2){let i;k(i=M())&&(t._matCalendarBody=i.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[T],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(a,t){a&1&&(d(0,"table",0)(1,"thead",1)(2,"tr"),Ee(3,Aa,5,2,"th",2,na),c(),d(5,"tr",3),V(6,"th",4),c()(),d(7,"tbody",5),g("selectedValueChange",function(n){return t._dateSelected(n)})("activeDateChange",function(n){return t._updateActiveDate(n)})("previewChange",function(n){return t._previewChanged(n)})("dragStarted",function(n){return t.dragStarted.emit(n)})("dragEnded",function(n){return t._dragEnded(n)})("keyup",function(n){return t._handleCalendarBodyKeyup(n)})("keydown",function(n){return t._handleCalendarBodyKeydown(n)}),c()()),a&2&&(l(3),Ie(t._weekdays),l(4),m("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1)("startDateAccessibleName",t.startDateAccessibleName)("endDateAccessibleName",t.endDateAccessibleName))},dependencies:[Z],encapsulation:2,changeDetection:0})}return r})(),w=24,ut=4,ea=(()=>{class r{_changeDetectorRef=o(E);_dateAdapter=o(f,{optional:!0});_dir=o(W,{optional:!0});_rerenderSubscription=D.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate,t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),oa(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof _?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new p;yearSelected=new p;activeDateChange=new p;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ce(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let a=this._dateAdapter.getYear(this._activeDate)-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,i=[];tthis._createCellForYear(n))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let a=e.value,t=this._dateAdapter.createDate(a,0,1),i=this._getDateFromYear(a);this.yearSelected.emit(t),this.selectedChange.emit(i)}_updateActiveDate(e){let a=e.value,t=this._activeDate;this.activeDate=this._getDateFromYear(a),this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let a=this._activeDate,t=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ut);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ut);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,w-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-w*10:-w);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?w*10:w);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let a=this._dateAdapter.getMonth(this.activeDate),t=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,a,1));return this._dateAdapter.createDate(e,a,Math.min(this._dateAdapter.getDate(this.activeDate),t))}_createCellForYear(e){let a=this._dateAdapter.createDate(e,0,1),t=this._dateAdapter.getYearName(a),i=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new me(e,t,t,this._shouldEnableYear(e),i)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class r{_changeDetectorRef=o(E);_dateFormats=o(G,{optional:!0});_dateAdapter=o(f,{optional:!0});_dir=o(W,{optional:!0});_rerenderSubscription=D.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate,t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof _?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new p;monthSelected=new p;activeDateChange=new p;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ce(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let a=e.value,t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(t);let i=this._getDateFromMonth(a);this.selectedChange.emit(i)}_updateActiveDate(e){let a=e.value,t=this._activeDate;this.activeDate=this._getDateFromMonth(a),this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let a=this._activeDate,t=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,t?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,t?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),t=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),t))}_createCellForMonth(e,a){let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(t,this._dateFormats.display.monthYearA11yLabel),n=this.dateClass?this.dateClass(t,"year"):void 0;return new me(e,a.toLocaleUpperCase(),i,this._shouldEnableMonth(e),n)}_shouldEnableMonth(e){let a=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(a,e)||this._isYearAndMonthBeforeMinDate(a,e))return!1;if(!this.dateFilter)return!0;let t=this._dateAdapter.createDate(a,e,1);for(let i=t;this._dateAdapter.getMonth(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(e,a){if(this.maxDate){let t=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>t||e===t&&a>i}return!1}_isYearAndMonthBeforeMinDate(e,a){if(this.minDate){let t=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e{class r{_intl=o(fe);calendar=o(_t);_dateAdapter=o(f,{optional:!0});_dateFormats=o(G,{optional:!0});constructor(){o(ce).load(Ne);let e=o(E);this.calendar.stateChanges.subscribe(()=>e.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-w)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:w)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,a){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(a):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a):oa(this._dateAdapter,e,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let a=this._dateAdapter.getYear(this.calendar.activeDate)-ue(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=a+w-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return[i,n]}_periodButtonLabelId=o(he).getId("mat-calendar-period-label-");static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ka,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(a,t){a&1&&(Fe(),d(0,"div",0)(1,"div",1)(2,"span",2),v(3),c(),d(4,"button",3),g("click",function(){return t.currentPeriodClicked()}),d(5,"span",4),v(6),c(),ae(),d(7,"svg",5),V(8,"polygon",6),c()(),Ge(),V(9,"div",7),oe(10),d(11,"button",8),g("click",function(){return t.previousClicked()}),ae(),d(12,"svg",9),V(13,"path",10),c()(),Ge(),d(14,"button",11),g("click",function(){return t.nextClicked()}),ae(),d(15,"svg",9),V(16,"path",12),c()()()()),a&2&&(l(2),m("id",t._periodButtonLabelId),l(),x(t.periodButtonDescription),l(),b("aria-label",t.periodButtonLabel)("aria-describedby",t._periodButtonLabelId),l(2),x(t.periodButtonText),l(),S("mat-calendar-invert",t.calendar.currentView!=="month"),l(4),m("disabled",!t.previousEnabled()),b("aria-label",t.prevButtonLabel),l(3),m("disabled",!t.nextEnabled()),b("aria-label",t.nextButtonLabel))},dependencies:[it,rt],encapsulation:2,changeDetection:0})}return r})(),_t=(()=>{class r{_dateAdapter=o(f,{optional:!0});_dateFormats=o(G,{optional:!0});_changeDetectorRef=o(E);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof _?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new p;yearSelected=new p;monthSelected=new p;viewChanged=new p(!0);_userSelection=new p;_userDragDrop=new p;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let a=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}_currentView;_activeDrag=null;stateChanges=new R;constructor(){this._intlChanges=o(fe).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new nt(this.headerComponent||la),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let a=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,t=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,i=a||t||e.dateFilter;if(i&&!i.firstChange){let n=this._getCurrentViewComponent();n&&(this._moveFocusOnNextTick=!0,this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let a=e.value;(this.selected instanceof _||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,a){this.activeDate=e,this.currentView=a}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-calendar"]],viewQuery:function(a,t){if(a&1&&(I(Jt,5),I(ta,5),I(ea,5)),a&2){let i;k(i=M())&&(t.monthView=i.first),k(i=M())&&(t.yearView=i.first),k(i=M())&&(t.multiYearView=i.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[P([sa]),T],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(a,t){if(a&1&&(H(0,Ma,0,0,"ng-template",0),d(1,"div",1),H(2,Sa,1,11,"mat-month-view",2)(3,Va,1,6,"mat-year-view",3)(4,Ea,1,6,"mat-multi-year-view",3),c()),a&2){let i;m("cdkPortalOutlet",t._calendarHeaderPortal),l(2),ne((i=t.currentView)==="month"?2:i==="year"?3:i==="multi-year"?4:-1)}},dependencies:[st,tt,Jt,ta,ea],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})(),aa={transformPanel:Ze("transformPanel",[le("void => enter-dropdown",de("120ms cubic-bezier(0, 0, 0.2, 1)",et([Y({opacity:0,transform:"scale(1, 0.8)"}),Y({opacity:1,transform:"scale(1, 1)"})]))),le("void => enter-dialog",de("150ms cubic-bezier(0, 0, 0.2, 1)",et([Y({opacity:0,transform:"scale(0.7)"}),Y({transform:"none",opacity:1})]))),le("* => void",de("100ms linear",Y({opacity:0})))]),fadeInCalendar:Ze("fadeInCalendar",[Je("void",Y({opacity:0})),Je("enter",Y({opacity:1})),le("void => *",de("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},ca=new we("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let r=o(He);return()=>r.scrollStrategies.reposition()}});function Ga(r){return()=>r.scrollStrategies.reposition()}var Ua={provide:ca,deps:[He],useFactory:Ga},ha=(()=>{class r{_elementRef=o(q);_changeDetectorRef=o(E);_globalModel=o(L);_dateAdapter=o(f);_rangeSelectionStrategy=o(Ke,{optional:!0});_subscriptions=new D;_model;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationState;_animationDone=new R;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){o(ce).load(Ne);let e=o(fe);this._closeButtonText=e.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let a=this._model.selection,t=e.value,i=a instanceof _;if(i&&this._rangeSelectionStrategy){let n=this._rangeSelectionStrategy.selectionFinished(t,a,e.event);this._model.updateSelection(n,this)}else t&&(i||!this._dateAdapter.sameDate(t,a))&&this._model.add(t);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating=e.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,a){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,a&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(a,t){if(a&1&&I(_t,5),a&2){let i;k(i=M())&&(t._calendar=i.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,t){a&1&&St("@transformPanel.start",function(n){return t._handleAnimationEvent(n)})("@transformPanel.done",function(n){return t._handleAnimationEvent(n)}),a&2&&(Mt("@transformPanel",t._animationState),Xe(t.color?"mat-"+t.color:""),S("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(a,t){if(a&1&&(d(0,"div",0)(1,"mat-calendar",1),g("yearSelected",function(n){return t.datepicker._selectYear(n)})("monthSelected",function(n){return t.datepicker._selectMonth(n)})("viewChanged",function(n){return t.datepicker._viewChanged(n)})("_userSelection",function(n){return t._handleUserSelection(n)})("_userDragDrop",function(n){return t._handleUserDragDrop(n)}),c(),H(2,Ia,0,0,"ng-template",2),d(3,"button",3),g("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),v(4),c()()),a&2){let i;S("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),b("aria-modal",!0)("aria-labelledby",(i=t._dialogLabelId)!==null&&i!==void 0?i:void 0),l(),Xe(t.datepicker.panelClass),m("id",t.datepicker.id)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",t.startDateAccessibleName)("endDateAccessibleName",t.endDateAccessibleName),l(),m("cdkPortalOutlet",t._actionsPortal),l(),S("cdk-visually-hidden",!t._closeButtonFocused),m("color",t.color||"primary"),l(),x(t._closeButtonText)}},dependencies:[Rt,_t,st,it],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[aa.transformPanel,aa.fadeInCalendar]},changeDetection:0})}return r})(),Qe=(()=>{class r{_overlay=o(He);_viewContainerRef=o(kt);_dateAdapter=o(f,{optional:!0});_dir=o(W,{optional:!0});_model=o(L);_scrollStrategy=o(ca);_inputStateChanges=D.EMPTY;_document=o(Vt);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new p;monthSelected=new p;viewChanged=new p(!0);dateClass;openedStream=new p;closedStream=new p;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=Ft(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=o(he).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new R;_injector=o(Se);_changeDetectorRef=o(E);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let a=e.xPosition||e.yPosition;if(a&&!a.firstChange&&this._overlayRef){let t=this._overlayRef.getConfig().positionStrategy;t instanceof Gt&&(this._setConnectedPositions(t),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=xt(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:t,location:i}=this._componentRef;t._startExitAnimation(),t._animationDone.pipe(vt(1)).subscribe(()=>{let n=this._document.activeElement;e&&(!n||n===this._document.activeElement||i.nativeElement.contains(n))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(a):a()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,a=new nt(ha,this._viewContainerRef),t=this._overlayRef=this._overlay.create(new Wt({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`}));this._getCloseStream(t).subscribe(i=>{i&&i.preventDefault(),this.close()}),t.keydownEvents().subscribe(i=>{let n=i.keyCode;(n===38||n===40||n===37||n===39||n===33||n===34)&&i.preventDefault()}),this._componentRef=t.attach(a),this._forwardContentValues(this._componentRef.instance),e||Ue(()=>{t.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let a=this.xPosition==="end"?"end":"start",t=a==="start"?"end":"start",i=this.yPosition==="above"?"bottom":"top",n=i==="top"?"bottom":"top";return e.withPositions([{originX:a,originY:n,overlayX:a,overlayY:i},{originX:a,originY:i,overlayX:a,overlayY:n},{originX:t,originY:n,overlayX:t,overlayY:i},{originX:t,originY:i,overlayX:t,overlayY:n}])}_getCloseStream(e){let a=["ctrlKey","shiftKey","metaKey"];return te(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(bt(t=>t.keyCode===27&&!z(t)||this.datepickerInput&&z(t,"altKey")&&t.keyCode===38&&a.every(i=>!z(t,i)))))}static \u0275fac=function(a){return new(a||r)};static \u0275dir=O({type:r,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",F],disabled:[2,"disabled","disabled",F],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",F],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",F]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[re,T]})}return r})(),Ni=(()=>{class r extends Qe{static \u0275fac=(()=>{let e;return function(t){return(e||(e=ie(r)))(t||r)}})();static \u0275cmp=A({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[P([sa,{provide:Qe,useExisting:r}]),B],decls:0,vars:0,template:function(a,t){},encapsulation:2,changeDetection:0})}return r})(),U=class{target;targetElement;value;constructor(s,e){this.target=s,this.targetElement=e,this.value=this.target.value}},pa=(()=>{class r{_elementRef=o(q);_dateAdapter=o(f,{optional:!0});_dateFormats=o(G,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let a=e,t=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&t.blur&&t.blur()}_disabled;dateChange=new p;dateInput=new p;stateChanges=new R;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=D.EMPTY;_localeSubscription=D.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),t=this._getMinDate();return!t||!a||this._dateAdapter.compareDate(t,a)<=0?null:{matDatepickerMin:{min:t,actual:a}}};_maxValidator=e=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),t=this._getMaxDate();return!t||!a||this._dateAdapter.compareDate(t,a)>=0?null:{matDatepickerMax:{max:t,actual:a}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let t=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this.dateInput.emit(new U(this,this._elementRef.nativeElement)),this.dateChange.emit(new U(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){ua(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let a=["ctrlKey","shiftKey","metaKey"];z(e,"altKey")&&e.keyCode===40&&a.every(i=>!z(e,i))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let a=this._lastValueValid,t=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t);let i=!this._dateAdapter.sameDate(t,this.value);!t||i?this._cvaOnChange(t):(e&&!this.value&&this._cvaOnChange(t),a!==this._lastValueValid&&this._validatorOnChange()),i&&(this._assignValue(t),this.dateInput.emit(new U(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new U(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let a=this._getDateFilter();return!a||a(e)}static \u0275fac=function(a){return new(a||r)};static \u0275dir=O({type:r,inputs:{value:"value",disabled:[2,"disabled","disabled",F]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[re,T]})}return r})();function ua(r,s){let e=Object.keys(r);for(let a of e){let{previousValue:t,currentValue:i}=r[a];if(s.isDateInstance(t)&&s.isDateInstance(i)){if(!s.sameDate(t,i))return!0}else return!0}return!1}var $a={provide:Le,useExisting:We(()=>_a),multi:!0},Xa={provide:Be,useExisting:We(()=>_a),multi:!0},_a=(()=>{class r extends pa{_formField=o(at,{optional:!0});_closedSubscription=D.EMPTY;_openedSubscription=D.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=$e(null);get min(){return this._min}set min(e){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._validatorOnChange())}_min;get max(){return this._max}set max(e){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(e){let a=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==a&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=pe.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(a){return new(a||r)};static \u0275dir=O({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,t){a&1&&g("input",function(n){return t._onInput(n.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(n){return t._onKeydown(n)}),a&2&&(xe("disabled",t.disabled),b("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",t._ariaOwns())("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[P([$a,Xa,{provide:$t,useExisting:r}]),B]})}return r})(),Za=(()=>{class r{static \u0275fac=function(a){return new(a||r)};static \u0275dir=O({type:r,selectors:[["","matDatepickerToggleIcon",""]]})}return r})(),Ja=(()=>{class r{_intl=o(fe);_changeDetectorRef=o(E);_stateChanges=D.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=o(new yt("tabindex"),{optional:!0}),a=Number(e);this.tabIndex=a||a===0?a:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ye(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ye(),t=this.datepicker?te(this.datepicker.openedStream,this.datepicker.closedStream):ye();this._stateChanges.unsubscribe(),this._stateChanges=te(this._intl.changes,e,a,t).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,t,i){if(a&1&&Re(i,Za,5),a&2){let n;k(n=M())&&(t._customIcon=n.first)}},viewQuery:function(a,t){if(a&1&&I(xa,5),a&2){let i;k(i=M())&&(t._button=i.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,t){a&1&&g("click",function(n){return t._open(n)}),a&2&&(b("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),S("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&t.datepicker.color==="accent")("mat-warn",t.datepicker&&t.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",F],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[re,T],ngContentSelectors:Ra,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(a,t){a&1&&(Fe(Fa),d(0,"button",1,0),H(2,Ta,2,0,":svg:svg",2),oe(3),c()),a&2&&(m("disabled",t.disabled)("disableRipple",t.disableRipple),b("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),l(2),ne(t._customIcon?-1:2))},dependencies:[rt],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}"],encapsulation:2,changeDetection:0})}return r})();function ei(r){return mt(r,!0)}function ia(r){return r.nodeType===Node.ELEMENT_NODE}function ti(r){return r.nodeName==="INPUT"}function ai(r){return r.nodeName==="TEXTAREA"}function mt(r,s){if(ia(r)&&s){let a=(r.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((t,i)=>{let n=document.getElementById(i);return n&&t.push(n),t},[]);if(a.length)return a.map(t=>mt(t,!1)).join(" ")}if(ia(r)){let e=r.getAttribute("aria-label")?.trim();if(e)return e}if(ti(r)||ai(r)){if(r.labels?.length)return Array.from(r.labels).map(t=>mt(t,!1)).join(" ");let e=r.getAttribute("placeholder")?.trim();if(e)return e;let a=r.getAttribute("title")?.trim();if(a)return a}return(r.textContent||"").replace(/\s+/g," ").trim()}var ma=new we("MAT_DATE_RANGE_INPUT_PARENT"),ga=(()=>{class r extends pa{_rangeInput=o(ma);_elementRef=o(q);_defaultErrorStateMatcher=o(Yt);_injector=o(Se);_parentForm=o(zt,{optional:!0});_parentFormGroup=o(Kt,{optional:!0});ngControl;_dir=o(W,{optional:!0});_errorStateTracker;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super(),this._errorStateTracker=new Pt(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){let e=this._injector.get(Ht,null,{optional:!0,self:!0});e&&(this.ngControl=e,this._errorStateTracker.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return this._elementRef.nativeElement.value.length===0}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){let e=this._elementRef.nativeElement,a=e.value;return a.length>0?a:e.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return ei(this._elementRef.nativeElement)}static \u0275fac=function(a){return new(a||r)};static \u0275dir=O({type:r,inputs:{errorStateMatcher:"errorStateMatcher"},features:[B]})}return r})(),ii=(()=>{class r extends ga{_startValidator=e=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),t=this._model?this._model.selection.end:null;return!a||!t||this._dateAdapter.compareDate(a,t)<=0?null:{matStartDateInvalid:{end:t,actual:a}}};_validator=pe.compose([...super._getValidators(),this._startValidator]);_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return super._shouldHandleChangeEvent(e)?e.oldValue?.start?!e.selection.start||!!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!!e.selection.start:!1}_assignValueToModel(e){if(this._model){let a=new _(e,this._model.selection.end);this._model.updateSelection(a,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_onKeydown(e){let a=this._rangeInput._endInput,t=this._elementRef.nativeElement,i=this._dir?.value!=="rtl";(e.keyCode===39&&i||e.keyCode===37&&!i)&&t.selectionStart===t.value.length&&t.selectionEnd===t.value.length?(e.preventDefault(),a._elementRef.nativeElement.setSelectionRange(0,0),a.focus()):super._onKeydown(e)}static \u0275fac=(()=>{let e;return function(t){return(e||(e=ie(r)))(t||r)}})();static \u0275dir=O({type:r,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(a,t){a&1&&g("input",function(n){return t._onInput(n.target.value)})("change",function(){return t._onChange()})("keydown",function(n){return t._onKeydown(n)})("blur",function(){return t._onBlur()}),a&2&&(xe("disabled",t.disabled),b("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",t._rangeInput._ariaOwns?t._rangeInput._ariaOwns():(t._rangeInput.rangePicker==null?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[P([{provide:Le,useExisting:r,multi:!0},{provide:Be,useExisting:r,multi:!0}]),B]})}return r})(),ri=(()=>{class r extends ga{_endValidator=e=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),t=this._model?this._model.selection.start:null;return!a||!t||this._dateAdapter.compareDate(a,t)>=0?null:{matEndDateInvalid:{start:t,actual:a}}};_validator=pe.compose([...super._getValidators(),this._endValidator]);_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return super._shouldHandleChangeEvent(e)?e.oldValue?.end?!e.selection.end||!!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!!e.selection.end:!1}_assignValueToModel(e){if(this._model){let a=new _(this._model.selection.start,e);this._model.updateSelection(a,this)}}_moveCaretToEndOfStartInput(){let e=this._rangeInput._startInput._elementRef.nativeElement,a=e.value;a.length>0&&e.setSelectionRange(a.length,a.length),e.focus()}_onKeydown(e){let a=this._elementRef.nativeElement,t=this._dir?.value!=="rtl";e.keyCode===8&&!a.value?this._moveCaretToEndOfStartInput():(e.keyCode===37&&t||e.keyCode===39&&!t)&&a.selectionStart===0&&a.selectionEnd===0?(e.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(e)}static \u0275fac=(()=>{let e;return function(t){return(e||(e=ie(r)))(t||r)}})();static \u0275dir=O({type:r,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(a,t){a&1&&g("input",function(n){return t._onInput(n.target.value)})("change",function(){return t._onChange()})("keydown",function(n){return t._onKeydown(n)})("blur",function(){return t._onBlur()}),a&2&&(xe("disabled",t.disabled),b("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",t._rangeInput._ariaOwns?t._rangeInput._ariaOwns():(t._rangeInput.rangePicker==null?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[P([{provide:Le,useExisting:r,multi:!0},{provide:Be,useExisting:r,multi:!0}]),B]})}return r})(),Li=(()=>{class r{_changeDetectorRef=o(E);_elementRef=o(q);_dateAdapter=o(f,{optional:!0});_formField=o(at,{optional:!0});_closedSubscription=D.EMPTY;_openedSubscription=D.EMPTY;get value(){return this._model?this._model.selection:null}id=o(he).getId("mat-date-range-input-");focused=!1;get shouldLabelFloat(){return this.focused||!this.empty}controlType="mat-date-range-input";get placeholder(){let e=this._startInput?._getPlaceholder()||"",a=this._endInput?._getPlaceholder()||"";return e||a?`${e} ${this.separator} ${a}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this._ariaOwns.set(this.rangePicker.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(this._model))}_rangePicker;_ariaOwns=$e(null);get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(e){this._required=e}_required;get dateFilter(){return this._dateFilter}set dateFilter(e){let a=this._startInput,t=this._endInput,i=a&&a._matchesFilter(a.value),n=t&&t._matchesFilter(a.value);this._dateFilter=e,a&&a._matchesFilter(a.value)!==i&&a._validatorOnChange(),t&&t._matchesFilter(t.value)!==n&&t._validatorOnChange()}_dateFilter;get min(){return this._min}set min(e){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._revalidate())}_min;get max(){return this._max}set max(e){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._revalidate())}_max;get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){e!==this._groupDisabled&&(this._groupDisabled=e,this.stateChanges.next(void 0))}_groupDisabled=!1;get errorState(){return this._startInput&&this._endInput?this._startInput.errorState||this._endInput.errorState:!1}get empty(){let e=this._startInput?this._startInput.isEmpty():!1,a=this._endInput?this._endInput.isEmpty():!1;return e&&a}_ariaDescribedBy=null;_model;separator="\u2013";comparisonStart=null;comparisonEnd=null;_startInput;_endInput;ngControl;stateChanges=new R;disableAutomaticLabeling=!0;constructor(){this._dateAdapter,this._formField?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&this._elementRef.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=o(Bt,{optional:!0,self:!0})}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(!this._model||!this._model.selection.start?this._startInput.focus():this._endInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),te(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){ua(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(e){let a=e==="start"?this._startInput:this._endInput;return a?a.getMirrorValue():""}_shouldHidePlaceholders(){return this._startInput?!this._startInput.isEmpty():!1}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){let e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=e!==null,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}_isTargetRequired(e){return e?.ngControl?.control?.hasValidator(pe.required)}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=A({type:r,selectors:[["mat-date-range-input"]],contentQueries:function(a,t,i){if(a&1&&(Re(i,ii,5),Re(i,ri,5)),a&2){let n;k(n=M())&&(t._startInput=n.first),k(n=M())&&(t._endInput=n.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(a,t){a&2&&(b("id",t.id)("aria-labelledby",t._getAriaLabelledby())("aria-describedby",t._ariaDescribedBy)("data-mat-calendar",t.rangePicker?t.rangePicker.id:null),S("mat-date-range-input-hide-placeholders",t._shouldHidePlaceholders())("mat-date-range-input-required",t.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",F],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",F],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[P([{provide:Lt,useExisting:r},{provide:ma,useExisting:r}]),re,T],ngContentSelectors:Pa,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(a,t){a&1&&(Fe(Oa),d(0,"div",0),g("cdkFocusChange",function(n){return t._updateFocus(n)}),d(1,"div",1),oe(2),d(3,"span",2),v(4),c()(),d(5,"span",3),v(6),c(),d(7,"div",4),oe(8,1),d(9,"span",2),v(10),c()()()),a&2&&(l(4),x(t._getInputMirrorValue("start")),l(),S("mat-date-range-input-separator-hidden",t._shouldHideSeparator()),l(),x(t.separator),l(4),x(t._getInputMirrorValue("end")))},dependencies:[tt],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color, var(--mat-sys-on-surface))}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return r})(),Bi=(()=>{class r extends Qe{_forwardContentValues(e){super._forwardContentValues(e);let a=this.datepickerInput;a&&(e.comparisonStart=a.comparisonStart,e.comparisonEnd=a.comparisonEnd,e.startDateAccessibleName=a._getStartDateAccessibleName(),e.endDateAccessibleName=a._getEndDateAccessibleName())}static \u0275fac=(()=>{let e;return function(t){return(e||(e=ie(r)))(t||r)}})();static \u0275cmp=A({type:r,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[P([za,qa,{provide:Qe,useExisting:r}]),B],decls:0,vars:0,template:function(a,t){},encapsulation:2,changeDetection:0})}return r})();var Hi=(()=>{class r{static \u0275fac=function(a){return new(a||r)};static \u0275mod=At({type:r});static \u0275inj=Dt({providers:[fe,Ua],imports:[Qt,Ut,Tt,qt,Ot,ha,Ja,la,jt]})}return r})();export{Ni as a,_a as b,Ja as c,ii as d,ri as e,Li as f,Bi as g,Hi as h}; diff --git a/chunk-UH3UXNJ6.js b/chunk-K7TUA2BU.js similarity index 84% rename from chunk-UH3UXNJ6.js rename to chunk-K7TUA2BU.js index 93391adf..28c2dfc9 100644 --- a/chunk-UH3UXNJ6.js +++ b/chunk-K7TUA2BU.js @@ -1 +1 @@ -import{a as G,b as I}from"./chunk-4422JARR.js";import{c as U}from"./chunk-IIJ56NAR.js";import"./chunk-WK53HQNR.js";import{a as B}from"./chunk-ZHS65JNW.js";import{c as $}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import{a as A}from"./chunk-2GNIBV4J.js";import{a as z,b as L}from"./chunk-UOTKRQ63.js";import{a as Q}from"./chunk-YGTSZDQ5.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as q}from"./chunk-A3N3AUUJ.js";import{g as T,h as k,i as R,j as u,p as C}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import"./chunk-EC6LD5KM.js";import{a as V}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as F,Hc as g,Jc as J,Kc as E,Nb as x,Ob as M,Rb as v,Tb as c,Yb as y,a as h,ac as j,bc as i,cc as o,dc as r,hc as w,je as S,ka as d,kc as f,lb as l,mc as O,ta as b,ua as P,ub as _,xc as D}from"./chunk-TEKHUYWQ.js";var X=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=_({type:e,selectors:[["devmx-career-feature-page"]],decls:10,vars:0,consts:[[1,"app-toolbar"],["routerLink","/",1,"app-logo"],["src","devmx.svg","height","48","alt","DevMX"],[1,"app-title"],[1,"spacer"],["target","_blank","rel","noreferrer","title","Github","href","https://github.com/DeveloperParana/devmx"],["name","github"]],template:function(t,a){t&1&&(i(0,"devmx-app-shell")(1,"mat-toolbar",0)(2,"a",1),r(3,"img",2),o(),i(4,"h1",3),D(5,"Vagas"),o(),r(6,"span",4),i(7,"a",5),r(8,"devmx-icon",6),o()(),r(9,"router-outlet"),o())},dependencies:[C,k,u,L,z,Q,V],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .app-toolbar[_ngcontent-%COMP%]{display:flex;gap:.4em}[_nghost-%COMP%] .app-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:48px}[_nghost-%COMP%] .app-title[_ngcontent-%COMP%]{font-size:.9em;font-weight:500;opacity:.4;margin:0}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return e})();var Y=(e,m)=>m.id,Z=()=>[U,u],ee=e=>[e],ne=e=>({right:e}),te=e=>({outlets:e}),oe=e=>["/","carreiras",e];function ie(e,m){if(e&1&&(i(0,"a",4),r(1,"devmx-job-opening-card",5),o()),e&2){let n=O().$implicit;c("routerLink",g(8,oe,g(6,te,g(4,ne,g(2,ee,n.id))))),l(),c("data",n)}}function re(e,m){e&1&&r(0,"devmx-skeleton",6),e&2&&c("rows",3)}function ae(e,m){e&1&&(x(0,ie,2,10)(1,re,1,1),M(2,0,Z,null,1),v(0,-1))}function pe(e,m){if(e&1){let n=w();i(0,"div",1),F(1,ae,4,0,null,null,Y),o(),r(3,"div",2),i(4,"footer")(5,"devmx-paginator",3),f("pageChange",function(a){b(n);let p=O();return P(p.onPageChange(a))}),o()()}if(e&2){let n=m;l(),j(n.data),l(4),c("size",10)("items",n.items)}}var H=(()=>{class e{jobOpeningFacade=d(A);router=d(R);route=d(T);constructor(){this.route.queryParams.pipe(q()).subscribe(this.onQueryParams)}onQueryParams=n=>{let{page:t=0,size:a=10}=n,{experience:p="",mode:s=""}=n,K={experience:p,mode:s};this.jobOpeningFacade.setParams({page:t,size:a,filter:K}),this.jobOpeningFacade.load()};onExperienceFilterChange(n){let t=this.mergeParams({experience:n});this.router.navigate([],{queryParams:t})}onModeFilterChange(n){let t=this.mergeParams({mode:n});this.router.navigate([],{queryParams:t})}mergeParams(n){return h(h({},this.route.snapshot.queryParams),n)}onPageChange(n){this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=_({type:e,selectors:[["devmx-job-openings"]],decls:5,vars:3,consts:[[3,"filterChange"],[1,"job-openings-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"job-opening-card",3,"data"],[3,"rows"]],template:function(t,a){if(t&1&&(i(0,"header")(1,"devmx-job-opening-experience-filter",0),f("filterChange",function(s){return a.onExperienceFilterChange(s)}),o(),i(2,"devmx-job-opening-mode-filter",0),f("filterChange",function(s){return a.onModeFilterChange(s)}),o()(),x(3,pe,6,2),J(4,"async")),t&2){let p;l(3),y((p=E(4,1,a.jobOpeningFacade.response$))?3:-1,p)}},dependencies:[G,I,$,B,C,S],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;background-color:#fff}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;padding:.4em .8em;gap:1em}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] .job-opening-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Je=[{path:"",title:"Vagas",component:X,children:[{path:"",component:H}]}];export{X as CareerFeaturePageComponent,Je as careerFeaturePageRoutes}; +import{a as G,b as I}from"./chunk-2CZV2Z3I.js";import{c as U}from"./chunk-WDHK3HYB.js";import"./chunk-B7ATSCPT.js";import{a as B}from"./chunk-EM27EDGS.js";import{c as $}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import{a as A}from"./chunk-HY6WPF2C.js";import{a as z,b as L}from"./chunk-OQLD3BC6.js";import{a as Q}from"./chunk-BN44ELXF.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as q}from"./chunk-366DNJGU.js";import{g as T,h as k,i as R,j as u,p as C}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import"./chunk-BJ2ND26O.js";import{a as V}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as F,Hc as g,Jc as J,Kc as E,Nb as x,Ob as M,Rb as v,Tb as c,Yb as y,a as h,ac as j,bc as i,cc as o,dc as r,hc as w,je as S,ka as d,kc as f,lb as l,mc as O,ta as b,ua as P,ub as _,xc as D}from"./chunk-5L47ZUSK.js";var X=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=_({type:e,selectors:[["devmx-career-feature-page"]],decls:10,vars:0,consts:[[1,"app-toolbar"],["routerLink","/",1,"app-logo"],["src","devmx.svg","height","48","alt","DevMX"],[1,"app-title"],[1,"spacer"],["target","_blank","rel","noreferrer","title","Github","href","https://github.com/DeveloperParana/devmx"],["name","github"]],template:function(t,a){t&1&&(i(0,"devmx-app-shell")(1,"mat-toolbar",0)(2,"a",1),r(3,"img",2),o(),i(4,"h1",3),D(5,"Vagas"),o(),r(6,"span",4),i(7,"a",5),r(8,"devmx-icon",6),o()(),r(9,"router-outlet"),o())},dependencies:[C,k,u,L,z,Q,V],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .app-toolbar[_ngcontent-%COMP%]{display:flex;gap:.4em}[_nghost-%COMP%] .app-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:48px}[_nghost-%COMP%] .app-title[_ngcontent-%COMP%]{font-size:.9em;font-weight:500;opacity:.4;margin:0}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return e})();var Y=(e,m)=>m.id,Z=()=>[U,u],ee=e=>[e],ne=e=>({right:e}),te=e=>({outlets:e}),oe=e=>["/","carreiras",e];function ie(e,m){if(e&1&&(i(0,"a",4),r(1,"devmx-job-opening-card",5),o()),e&2){let n=O().$implicit;c("routerLink",g(8,oe,g(6,te,g(4,ne,g(2,ee,n.id))))),l(),c("data",n)}}function re(e,m){e&1&&r(0,"devmx-skeleton",6),e&2&&c("rows",3)}function ae(e,m){e&1&&(x(0,ie,2,10)(1,re,1,1),M(2,0,Z,null,1),v(0,-1))}function pe(e,m){if(e&1){let n=w();i(0,"div",1),F(1,ae,4,0,null,null,Y),o(),r(3,"div",2),i(4,"footer")(5,"devmx-paginator",3),f("pageChange",function(a){b(n);let p=O();return P(p.onPageChange(a))}),o()()}if(e&2){let n=m;l(),j(n.data),l(4),c("size",10)("items",n.items)}}var H=(()=>{class e{jobOpeningFacade=d(A);router=d(R);route=d(T);constructor(){this.route.queryParams.pipe(q()).subscribe(this.onQueryParams)}onQueryParams=n=>{let{page:t=0,size:a=10}=n,{experience:p="",mode:s=""}=n,K={experience:p,mode:s};this.jobOpeningFacade.setParams({page:t,size:a,filter:K}),this.jobOpeningFacade.load()};onExperienceFilterChange(n){let t=this.mergeParams({experience:n});this.router.navigate([],{queryParams:t})}onModeFilterChange(n){let t=this.mergeParams({mode:n});this.router.navigate([],{queryParams:t})}mergeParams(n){return h(h({},this.route.snapshot.queryParams),n)}onPageChange(n){this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=_({type:e,selectors:[["devmx-job-openings"]],decls:5,vars:3,consts:[[3,"filterChange"],[1,"job-openings-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[1,"job-opening-card",3,"data"],[3,"rows"]],template:function(t,a){if(t&1&&(i(0,"header")(1,"devmx-job-opening-experience-filter",0),f("filterChange",function(s){return a.onExperienceFilterChange(s)}),o(),i(2,"devmx-job-opening-mode-filter",0),f("filterChange",function(s){return a.onModeFilterChange(s)}),o()(),x(3,pe,6,2),J(4,"async")),t&2){let p;l(3),y((p=E(4,1,a.jobOpeningFacade.response$))?3:-1,p)}},dependencies:[G,I,$,B,C,S],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;background-color:#fff}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;padding:.4em .8em;gap:1em}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] .job-opening-card[_ngcontent-%COMP%]{width:100%;max-width:100%;box-sizing:border-box}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Je=[{path:"",title:"Vagas",component:X,children:[{path:"",component:H}]}];export{X as CareerFeaturePageComponent,Je as careerFeaturePageRoutes}; diff --git a/chunk-2XST3EDK.js b/chunk-KCQYBIUM.js similarity index 98% rename from chunk-2XST3EDK.js rename to chunk-KCQYBIUM.js index 70d76cee..5a169f37 100644 --- a/chunk-2XST3EDK.js +++ b/chunk-KCQYBIUM.js @@ -1 +1 @@ -import{f as Ee,g as Re,j as Fe,o as j,p as X,q as U,r as qe}from"./chunk-AND6K73U.js";import{A as Ke,B as Ge}from"./chunk-6BGAZ7SQ.js";import{c as q,d as z,g as A,h as fe,j as T,k as ye,l as ve}from"./chunk-I7VYXJU2.js";import{e as Pe,g as Le,k as We,p as Be}from"./chunk-EDIJ2EBQ.js";import{F as be,G as N,I as Ce,P as Me,T as Oe,U as we,Y as Q,Z as Se,ba as ke,ka as xe,la as Ie,na as Ae,oa as Te,pa as De,qa as Y,s as H,xa as Ve}from"./chunk-W5KNOAKV.js";import{$ as c,Aa as re,D as M,Ea as w,F as E,Fc as ue,Ja as ne,L as Z,Mb as se,Nb as S,O as ee,Sb as k,Sc as _e,Tb as V,Vb as ce,Vc as f,Wc as G,Xb as de,Yb as P,Yd as ge,Z as R,_ as F,bc as s,cc as m,dc as he,fa as te,ha as O,hc as L,j as b,ka as o,kc as C,lb as p,mc as u,nc as pe,oc as W,pc as x,qc as I,rc as _,sa as ie,sc as g,t as D,ta as d,ua as h,ub as oe,va as ae,vb as le,wc as me,xc as B,y as J,yc as K}from"./chunk-TEKHUYWQ.js";var $e=["trigger"],Je=["panel"],Ze=[[["mat-select-trigger"]],"*"],et=["mat-select-trigger","*"];function tt(r,y){if(r&1&&(s(0,"span",4),B(1),m()),r&2){let e=u();p(),K(e.placeholder)}}function it(r,y){r&1&&W(0)}function at(r,y){if(r&1&&(s(0,"span",11),B(1),m()),r&2){let e=u(2);p(),K(e.triggerValue)}}function rt(r,y){if(r&1&&(s(0,"span",5),S(1,it,1,0)(2,at,2,1,"span",11),m()),r&2){let e=u();p(),P(e.customTrigger?1:2)}}function nt(r,y){if(r&1){let e=L();s(0,"div",12,1),C("@transformPanel.done",function(i){d(e);let a=u();return h(a._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){d(e);let a=u();return h(a._handleKeydown(i))}),W(2,1),m()}if(r&2){let e=u();de("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),V("ngClass",e.panelClass)("@transformPanel","showing"),k("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var ot={transformPanelWrap:q("transformPanelWrap",[T("* => void",ve("@transformPanel",[ye()],{optional:!0}))]),transformPanel:q("transformPanel",[fe("void",A({opacity:0,transform:"scale(1, 0.8)"})),T("void => showing",z("120ms cubic-bezier(0, 0, 0.2, 1)",A({opacity:1,transform:"scale(1, 1)"}))),T("* => void",z("100ms linear",A({opacity:0})))])};var Ye=new O("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=o(j);return()=>r.scrollStrategies.reposition()}});function lt(r){return()=>r.scrollStrategies.reposition()}var st=new O("MAT_SELECT_CONFIG"),ct={provide:Ye,deps:[j],useFactory:lt},dt=new O("MatSelectTrigger"),$=class{source;value;constructor(y,e){this.source=y,this.value=e}},Lt=(()=>{class r{_viewportRuler=o(Ke);_changeDetectorRef=o(_e);_elementRef=o(ne);_dir=o(we,{optional:!0});_idGenerator=o(Oe);_parentFormField=o(Re,{optional:!0});ngControl=o(Le,{self:!0,optional:!0});_liveAnnouncer=o(Me);_defaultOptions=o(st,{optional:!0});options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=Te(e,this.options,this.optionGroups),n=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=De(n.offsetTop,n.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new $(this,e)}_scrollStrategyFactory=o(Ye);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new b;_errorStateTracker;stateChanges=new b;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new b;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Pe.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new b;optionSelectionChanges=J(()=>{let e=this.options;return e?e.changes.pipe(R(e),F(()=>M(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(F(()=>this.optionSelectionChanges))});openedChange=new w;_openedStream=this.openedChange.pipe(E(e=>e),D(()=>{}));_closedStream=this.openedChange.pipe(E(e=>!e),D(()=>{}));selectionChange=new w;valueChange=new w;constructor(){let e=o(ke),t=o(We,{optional:!0}),i=o(Be,{optional:!0}),a=o(new re("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Se(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ve(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ee(),c(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(c(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(c(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(R(null),c(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&N(this._trackedModal,"aria-owns",t),be(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;N(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,n=this._keyManager;if(!n.isTyping()&&a&&!H(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let v=this.selected;n.onKeydown(e);let l=this.selected;l&&v!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,n=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!n&&(i===13||i===32)&&t.activeItem&&!H(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!n&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let v=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(v?l.select():l.deselect())})}else{let v=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==v&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Z(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof X?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ce(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=M(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(c(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),M(...this.options.map(t=>t._stateChanges)).pipe(c(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=oe({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(x(a,dt,5),x(a,Ae,5),x(a,Ie,5)),t&2){let n;_(n=g())&&(i.customTrigger=n.first),_(n=g())&&(i.options=n),_(n=g())&&(i.optionGroups=n)}},viewQuery:function(t,i){if(t&1&&(I($e,5),I(Je,5),I(U,5)),t&2){let a;_(a=g())&&(i.trigger=a.first),_(a=g())&&(i.panel=a.first),_(a=g())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&C("keydown",function(n){return i._handleKeydown(n)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(k("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",f],disableRipple:[2,"disableRipple","disableRipple",f],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:G(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",f],placeholder:"placeholder",required:[2,"required","required",f],multiple:[2,"multiple","multiple",f],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",f],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",G],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ue([{provide:Ee,useExisting:r},{provide:xe,useExisting:r}]),se,ie],ngContentSelectors:et,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=L();pe(Ze),s(0,"div",2,0),C("click",function(){return d(a),h(i.open())}),s(3,"div",3),S(4,tt,2,1,"span",4)(5,rt,3,1,"span",5),m(),s(6,"div",6)(7,"div",7),ae(),s(8,"svg",8),he(9,"path",9),m()()()(),S(10,nt,3,9,"ng-template",10),C("backdropClick",function(){return d(a),h(i.close())})("attach",function(){return d(a),h(i._onAttached())})("detach",function(){return d(a),h(i.close())})}if(t&2){let a=me(1);p(3),k("id",i._valueId),p(),P(i.empty?4:5),p(6),V("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[X,U,ge],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}'],encapsulation:2,data:{animation:[ot.transformPanel]},changeDetection:0})}return r})();var Wt=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=le({type:r});static \u0275inj=te({providers:[ct],imports:[qe,Y,Q,Ge,Fe,Y,Q]})}return r})();export{Lt as a,Wt as b}; +import{f as Ee,g as Re,j as Fe,o as j,p as X,q as U,r as qe}from"./chunk-TJJFEYFG.js";import{A as Ke,B as Ge}from"./chunk-7RMPQIRR.js";import{c as q,d as z,g as A,h as fe,j as T,k as ye,l as ve}from"./chunk-I7VYXJU2.js";import{e as Pe,g as Le,k as We,p as Be}from"./chunk-E5QACR6S.js";import{$ as Se,H as be,I as N,K as Ce,R as Me,V as Oe,W as we,_ as Q,da as ke,ma as xe,na as Ie,pa as Ae,qa as Te,ra as De,sa as Y,u as H,za as Ve}from"./chunk-CG5OOKZO.js";import{$ as c,Aa as re,D as M,Ea as w,F as E,Fc as ue,Ja as ne,L as Z,Mb as se,Nb as S,O as ee,Sb as k,Sc as _e,Tb as V,Vb as ce,Vc as f,Wc as G,Xb as de,Yb as P,Yd as ge,Z as R,_ as F,bc as s,cc as m,dc as he,fa as te,ha as O,hc as L,j as b,ka as o,kc as C,lb as p,mc as u,nc as pe,oc as W,pc as x,qc as I,rc as _,sa as ie,sc as g,t as D,ta as d,ua as h,ub as oe,va as ae,vb as le,wc as me,xc as B,y as J,yc as K}from"./chunk-5L47ZUSK.js";var $e=["trigger"],Je=["panel"],Ze=[[["mat-select-trigger"]],"*"],et=["mat-select-trigger","*"];function tt(r,y){if(r&1&&(s(0,"span",4),B(1),m()),r&2){let e=u();p(),K(e.placeholder)}}function it(r,y){r&1&&W(0)}function at(r,y){if(r&1&&(s(0,"span",11),B(1),m()),r&2){let e=u(2);p(),K(e.triggerValue)}}function rt(r,y){if(r&1&&(s(0,"span",5),S(1,it,1,0)(2,at,2,1,"span",11),m()),r&2){let e=u();p(),P(e.customTrigger?1:2)}}function nt(r,y){if(r&1){let e=L();s(0,"div",12,1),C("@transformPanel.done",function(i){d(e);let a=u();return h(a._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){d(e);let a=u();return h(a._handleKeydown(i))}),W(2,1),m()}if(r&2){let e=u();de("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),V("ngClass",e.panelClass)("@transformPanel","showing"),k("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var ot={transformPanelWrap:q("transformPanelWrap",[T("* => void",ve("@transformPanel",[ye()],{optional:!0}))]),transformPanel:q("transformPanel",[fe("void",A({opacity:0,transform:"scale(1, 0.8)"})),T("void => showing",z("120ms cubic-bezier(0, 0, 0.2, 1)",A({opacity:1,transform:"scale(1, 1)"}))),T("* => void",z("100ms linear",A({opacity:0})))])};var Ye=new O("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=o(j);return()=>r.scrollStrategies.reposition()}});function lt(r){return()=>r.scrollStrategies.reposition()}var st=new O("MAT_SELECT_CONFIG"),ct={provide:Ye,deps:[j],useFactory:lt},dt=new O("MatSelectTrigger"),$=class{source;value;constructor(y,e){this.source=y,this.value=e}},Lt=(()=>{class r{_viewportRuler=o(Ke);_changeDetectorRef=o(_e);_elementRef=o(ne);_dir=o(we,{optional:!0});_idGenerator=o(Oe);_parentFormField=o(Re,{optional:!0});ngControl=o(Le,{self:!0,optional:!0});_liveAnnouncer=o(Me);_defaultOptions=o(st,{optional:!0});options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=Te(e,this.options,this.optionGroups),n=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=De(n.offsetTop,n.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new $(this,e)}_scrollStrategyFactory=o(Ye);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new b;_errorStateTracker;stateChanges=new b;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new b;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Pe.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new b;optionSelectionChanges=J(()=>{let e=this.options;return e?e.changes.pipe(R(e),F(()=>M(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(F(()=>this.optionSelectionChanges))});openedChange=new w;_openedStream=this.openedChange.pipe(E(e=>e),D(()=>{}));_closedStream=this.openedChange.pipe(E(e=>!e),D(()=>{}));selectionChange=new w;valueChange=new w;constructor(){let e=o(ke),t=o(We,{optional:!0}),i=o(Be,{optional:!0}),a=o(new re("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Se(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ve(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ee(),c(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(c(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(c(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(R(null),c(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&N(this._trackedModal,"aria-owns",t),be(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;N(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,n=this._keyManager;if(!n.isTyping()&&a&&!H(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let v=this.selected;n.onKeydown(e);let l=this.selected;l&&v!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,n=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!n&&(i===13||i===32)&&t.activeItem&&!H(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!n&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let v=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(v?l.select():l.deselect())})}else{let v=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==v&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Z(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof X?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ce(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=M(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(c(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),M(...this.options.map(t=>t._stateChanges)).pipe(c(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=oe({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(x(a,dt,5),x(a,Ae,5),x(a,Ie,5)),t&2){let n;_(n=g())&&(i.customTrigger=n.first),_(n=g())&&(i.options=n),_(n=g())&&(i.optionGroups=n)}},viewQuery:function(t,i){if(t&1&&(I($e,5),I(Je,5),I(U,5)),t&2){let a;_(a=g())&&(i.trigger=a.first),_(a=g())&&(i.panel=a.first),_(a=g())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&C("keydown",function(n){return i._handleKeydown(n)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(k("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",f],disableRipple:[2,"disableRipple","disableRipple",f],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:G(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",f],placeholder:"placeholder",required:[2,"required","required",f],multiple:[2,"multiple","multiple",f],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",f],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",G],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ue([{provide:Ee,useExisting:r},{provide:xe,useExisting:r}]),se,ie],ngContentSelectors:et,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=L();pe(Ze),s(0,"div",2,0),C("click",function(){return d(a),h(i.open())}),s(3,"div",3),S(4,tt,2,1,"span",4)(5,rt,3,1,"span",5),m(),s(6,"div",6)(7,"div",7),ae(),s(8,"svg",8),he(9,"path",9),m()()()(),S(10,nt,3,9,"ng-template",10),C("backdropClick",function(){return d(a),h(i.close())})("attach",function(){return d(a),h(i._onAttached())})("detach",function(){return d(a),h(i.close())})}if(t&2){let a=me(1);p(3),k("id",i._valueId),p(),P(i.empty?4:5),p(6),V("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[X,U,ge],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}'],encapsulation:2,data:{animation:[ot.transformPanel]},changeDetection:0})}return r})();var Wt=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=le({type:r});static \u0275inj=te({providers:[ct],imports:[qe,Y,Q,Ge,Fe,Y,Q]})}return r})();export{Lt as a,Wt as b}; diff --git a/chunk-KDMTRYHW.js b/chunk-KDMTRYHW.js deleted file mode 100644 index 9379aaf1..00000000 --- a/chunk-KDMTRYHW.js +++ /dev/null @@ -1 +0,0 @@ -import{a,b,c,d,e,f,g,h,i,j}from"./chunk-F2BR4OZZ.js";import"./chunk-56M6HFOE.js";import"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-JNB3NYAZ.js";import"./chunk-XYJHVZQT.js";import"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import"./chunk-A3N3AUUJ.js";import"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import"./chunk-EC6LD5KM.js";import"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import"./chunk-TEKHUYWQ.js";export{g as PresentationCardComponent,b as PresentationCardListComponent,f as PresentationEmbedComponent,c as PresentationFilterComponent,a as PresentationFormatPipe,e as PresentationSearchComponent,d as PresentationSearchForm,i as SelectPresentation,h as SelectPresentationDialog,j as provideSelectPresentation}; diff --git a/chunk-YDU3JYTF.js b/chunk-KJGJNKOT.js similarity index 97% rename from chunk-YDU3JYTF.js rename to chunk-KJGJNKOT.js index 2219497d..099c33c8 100644 --- a/chunk-YDU3JYTF.js +++ b/chunk-KJGJNKOT.js @@ -1 +1 @@ -import{b as Ae}from"./chunk-MLNPCJDD.js";import{a as Se}from"./chunk-JNB3NYAZ.js";import{a as Re}from"./chunk-BZ5BKAFD.js";import{a as $e}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{c as Fe}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as Le,b as D,d as Ve,e as qe}from"./chunk-TPJZ2OYR.js";import{a as Ue}from"./chunk-YGTSZDQ5.js";import"./chunk-ZTWYID37.js";import{j as Oe}from"./chunk-XYJHVZQT.js";import{a as ze}from"./chunk-A3N3AUUJ.js";import{c as fe,d as we,g as A,h as be,p as ve,x as De}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as Ie,b as Ee,d as Te}from"./chunk-EDIJ2EBQ.js";import{Q as Ce,T as ke,Y as j,ca as xe,ga as Me,q as ye,sa as Pe}from"./chunk-W5KNOAKV.js";import{$b as k,Aa as J,Ea as L,F as P,Fc as he,Ia as y,Ja as Z,Jc as w,Kc as E,L as U,Lc as $,Mb as ie,Nb as p,Pa as K,Sb as C,Sc as pe,Tb as u,Vb as q,Vc as b,Wb as ae,Wc as ue,Xc as _e,Yb as d,ac as x,bc as n,cc as s,da as G,dc as l,ea as X,fa as H,gb as V,ha as Q,hc as T,ic as ne,ja as R,je as ge,ka as r,kc as I,lb as c,mc as m,nc as oe,oc as ce,qc as se,rc as re,sa as W,sc as de,t as M,ta as O,ua as S,ub as g,va as Y,vb as ee,wc as le,xb as te,xc as _,yc as f,zc as me}from"./chunk-TEKHUYWQ.js";var je=(()=>{class t{route=r(A);script=r(Re);constructor(){this.route.data.pipe(P(({schema:e})=>!!e),M(({schema:e})=>e),ze()).subscribe(e=>{let i="application/ld+json",a=JSON.stringify(e,null,2);this.script.addScript({type:i},a)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-account-feature-about"]],decls:2,vars:0,template:function(i,a){i&1&&(n(0,"devmx-app-shell"),l(1,"router-outlet"),s())},dependencies:[ve,be,Ue],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{font-size:100%;margin:0}[_nghost-%COMP%] .toolbar[_ngcontent-%COMP%]{display:flex;gap:1em}"],changeDetection:0})}return t})();var Be=[];var Ne=t=>qe(r(D),t.params);var Ge=t=>{let o=t.parent?t.parent.params:t.params;return Ve(r(D),o)};var Ke=["switch"],et=["*"];function tt(t,o){t&1&&(n(0,"span",10),Y(),n(1,"svg",12),l(2,"path",13),s(),n(3,"svg",14),l(4,"path",15),s()())}var it=new Q("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),at={provide:Ee,useExisting:G(()=>F),multi:!0},z=class{source;checked;constructor(o,e){this.source=o,this.checked=e}},F=(()=>{class t{_elementRef=r(Z);_focusMonitor=r(Ce);_changeDetectorRef=r(pe);defaults=r(it);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new z(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new L;toggleChange=new L;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){r(ye).load(xe);let e=r(new J("tabindex"),{optional:!0}),i=this.defaults,a=r(K,{optional:!0});this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this._noopAnimations=a==="NoopAnimations",this.id=this._uniqueId=r(ke).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new z(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,a){if(i&1&&se(Ke,5),i&2){let h;re(h=de())&&(a._switchElement=h.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,a){i&2&&(ne("id",a.id),C("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),ae(a.color?"mat-"+a.color:""),q("mat-mdc-slide-toggle-focused",a._focused)("mat-mdc-slide-toggle-checked",a.checked)("_mat-animation-noopable",a._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",b],color:"color",disabled:[2,"disabled","disabled",b],disableRipple:[2,"disableRipple","disableRipple",b],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ue(e)],checked:[2,"checked","checked",b],hideIcon:[2,"hideIcon","hideIcon",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[he([at,{provide:Te,useExisting:t,multi:!0}]),ie,W],ngContentSelectors:et,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,a){if(i&1){let h=T();oe(),n(0,"div",1)(1,"button",2,0),I("click",function(){return O(h),S(a._handleClick())}),l(3,"span",3),n(4,"span",4)(5,"span",5)(6,"span",6),l(7,"span",7),s(),n(8,"span",8),l(9,"span",9),s(),p(10,tt,5,0,"span",10),s()()(),n(11,"label",11),I("click",function(N){return O(h),S(N.stopPropagation())}),ce(12),s()()}if(i&2){let h=le(2);u("labelPosition",a.labelPosition),c(),q("mdc-switch--selected",a.checked)("mdc-switch--unselected",!a.checked)("mdc-switch--checked",a.checked)("mdc-switch--disabled",a.disabled)("mat-mdc-slide-toggle-disabled-interactive",a.disabledInteractive),u("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("disabled",a.disabled&&!a.disabledInteractive),C("id",a.buttonId)("name",a.name)("aria-label",a.ariaLabel)("aria-labelledby",a._getAriaLabelledBy())("aria-describedby",a.ariaDescribedby)("aria-required",a.required||null)("aria-checked",a.checked)("aria-disabled",a.disabled&&a.disabledInteractive?"true":null),c(8),u("matRippleTrigger",h)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0),c(),d(a.hideIcon?-1:10),c(),u("for",a.buttonId),C("id",a._labelId)}},dependencies:[Me,Pe],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0})}return t})();var Xe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ee({type:t});static \u0275inj=H({imports:[F,j,j]})}return t})();var He=(()=>{class t{transform(e,i="phone"){if(e)switch(i){default:case"phone":{let a="#".repeat(Math.max(0,String(e).length-6)),h=String(e).slice(-6);return a+h}case"email":{let[a,h]=String(e).split("@");return`${a[0]+"#".repeat(a.length-2)+a[a.length-1]}@${h}`}}}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=te({name:"shadow",type:t,pure:!0})}return t})();var Qe=(()=>{class t{_meta;_title;constructor(e,i){this._meta=e,this._title=i}setImage(e){this._title.setTitle(e.title),this.#e("url",e.url),this.#e("type","website"),this.#e("title",e.title),this.#e("description",e.description),this.#e("image",e.image),this.#e("image:type",e.type),this.#e("image:width",e.width),this.#e("image:height",e.height)}setVideo(e){this._title.setTitle(e.title),this.#e("url",e.url),this.#e("type","website"),this.#e("title",e.title),this.#e("description",e.description),this.#e("video",e.video),this.#e("image:type",e.type),this.#e("image:width",e.width),this.#e("image:height",e.height)}#e(e,i){let a=this.#t(e);e=`og:${e}`,i=`${i}`,this._meta.updateTag({property:e,content:i},a)}#t(e){return`property="og:${e}"`}static \u0275fac=function(i){return new(i||t)(R(fe),R(we))};static \u0275prov=X({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ot=(t,o)=>o.id;function ct(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;c(),f(e.title)}}var We=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-presentations"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,ct,2,1,"li",null,ot),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M18%204L14%2020M10%204L6%2020M5%208H21M3%2016H19%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();var st=(t,o)=>o.id;function rt(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;c(),f(e.title)}}var Ye=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-events"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,rt,2,1,"li",null,st),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M16.7365%207L7.25643%2016.7233C6.89674%2017.0922%206.31358%2017.0922%205.95389%2016.7233L2%2012.668M12.5199%2016.7233L22%207%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();var dt=(t,o)=>o.skill.id;function lt(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;C("data-weight",e.weight),c(),me(" ",e.skill.name," ")}}var Je=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-skills"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,lt,2,2,"li",null,dt),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M20%207L9.35355%2017.6464C9.15829%2017.8417%208.84171%2017.8417%208.64645%2017.6464L4%2013%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();function mt(t,o){if(t&1){let e=T();n(0,"div",0)(1,"mat-slide-toggle",1),I("change",function(){O(e);let a=m(3);return S(a.toggleDesignMode())}),s()()}if(t&2){let e=m(3);c(),u("checked",e.designMode())}}function ht(t,o){if(t&1&&(n(0,"menu"),p(1,mt,2,1,"div",0),s()),t&2){let e=m();c(),d(o.id===e.id?1:-1)}}function pt(t,o){if(t&1&&(n(0,"a",2),l(1,"devmx-icon",3),n(2,"span"),_(3),w(4,"shadow"),s()()),t&2){let e=m(2);u("href","mailto:"+e.contact.email,V),c(3),f($(4,2,e.contact.email,"email"))}}function ut(t,o){if(t&1&&(n(0,"a",2),l(1,"devmx-icon",4),n(2,"span"),_(3),w(4,"shadow"),s()()),t&2){let e=m(2);u("href","tel://"+e.contact.phone,V),c(3),f($(4,2,e.contact.phone,"phone"))}}function _t(t,o){if(t&1&&(n(0,"nav"),p(1,pt,5,5,"a",2)(2,ut,5,5,"a",2),s()),t&2){let e=m();c(),d(e.visibility!=null&&e.visibility.email?1:-1),c(),d(e.visibility!=null&&e.visibility.phone?2:-1)}}function gt(t,o){if(t&1&&l(0,"devmx-markdown-view",5),t&2){let e=m(2);u("content",e.profile.minibio)}}function ft(t,o){if(t&1&&(n(0,"article"),p(1,gt,1,1,"devmx-markdown-view",5),s()),t&2){let e=m();c(),d(e.profile.minibio?1:-1)}}function wt(t,o){if(t&1&&(n(0,"h3"),_(1,"Habilidades"),s(),l(2,"devmx-user-skills",6)),t&2){let e=m(3);c(2),u("data",e.skills)}}function bt(t,o){if(t&1&&(n(0,"section"),p(1,wt,3,1),s()),t&2){let e=m(2);c(),d(e.skills?1:-1)}}function vt(t,o){t&1&&(n(0,"h3"),_(1,"Eventos organizados"),s(),l(2,"devmx-user-events",6)),t&2&&(c(2),u("data",o.data))}function yt(t,o){if(t&1&&(n(0,"section"),p(1,vt,3,1),w(2,"async"),s()),t&2){let e,i=m(3);c(),d((e=E(2,1,i.eventFacade.response$))?1:-1,e)}}function Ct(t,o){t&1&&(n(0,"h3"),_(1,"Apresenta\xE7\xF5es"),s(),l(2,"devmx-user-presentations",6)),t&2&&(c(2),u("data",o.data))}function kt(t,o){if(t&1&&(n(0,"section"),p(1,Ct,3,1),w(2,"async"),s()),t&2){let e,i=m(3);c(),d((e=E(2,1,i.presentationFacade.response$))?1:-1,e)}}function xt(t,o){if(t&1&&(n(0,"aside"),p(1,bt,2,1,"section")(2,yt,3,3,"section")(3,kt,3,3,"section"),s()),t&2){let e=m();c(),d(e.visibility.skills?1:-1),c(),d(e.visibility.events?2:-1),c(),d(e.visibility.presentations?3:-1)}}function Mt(t,o){if(t&1&&(p(0,ht,2,1,"menu"),w(1,"async"),n(2,"header")(3,"h2"),_(4),s(),p(5,_t,3,2,"nav"),s(),n(6,"main"),p(7,ft,2,1,"article")(8,xt,4,3,"aside"),s()),t&2){let e,i=o,a=m();d((e=E(1,5,a.authFacade.auth$))?0:-1,e),c(4),f(i.displayName),c(),d(i.visibility!=null&&i.visibility.email||i.visibility!=null&&i.visibility.phone?5:-1),c(2),d(i.profile?7:-1),c(),d(i.visibility?8:-1)}}var Ze=(()=>{class t{authFacade=r(Le);presentationFacade=r(Se);eventFacade=r(Fe);route=r(A);graph=r(Qe);user$=this.route.data.pipe(P(({about:e})=>!!e),M(({about:e})=>e));designMode=_e(()=>document.designMode==="on");constructor(){this.user$.pipe(P(e=>!!e.id),M(e=>e.id),U(1)).subscribe(e=>{console.log("owner: ",e);let i={title:"",owner:e};this.eventFacade.setFilter(i),this.presentationFacade.setFilter(i),this.eventFacade.load(),this.presentationFacade.load()}),this.user$.pipe(U(1)).subscribe(e=>{console.log("user: ",e),this.graph.setImage({title:`Perfil de ${e.displayName}`,description:Oe(e.profile?.minibio??""),url:`https://devparana.mx/#/sobre/${e.name}`,image:"https://devparana.mx/images/resume-folder.webp",type:"image/webp",width:800,height:800})})}toggleDesignMode(){let{designMode:e}=document,i=e==="on"?"off":"on";document.designMode=i}print(){window.print()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-about-user"]],decls:2,vars:3,consts:[[1,"edit-mode-toggle"],[3,"change","checked"],[3,"href"],["name","message/mail"],["name","tech/phone"],[3,"content"],[3,"data"]],template:function(i,a){if(i&1&&(p(0,Mt,9,7),w(1,"async")),i&2){let h;d((h=E(1,1,a.user$))?0:-1,h)}},dependencies:[$e,We,Xe,F,Je,Ye,Ae,De,Ie,He,ge],styles:["[_nghost-%COMP%]{flex:1;gap:2em;padding:1em;position:relative;display:flex;flex-direction:column;background-color:#fff}@media print{[_nghost-%COMP%]{max-width:822px;width:100vw;padding:0}}[_nghost-%COMP%] menu[_ngcontent-%COMP%]{margin:0;padding:0;top:16px;right:16px;position:absolute;display:flex;gap:8px}@media print{[_nghost-%COMP%] menu[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] > header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:200%}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%]{gap:2em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{gap:.4em;display:flex;align-items:center}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:link:not(.mdc-button):not(.mdc-icon-button):not(.mdc-fab){color:#1e1e1e}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] > main[_ngcontent-%COMP%]{flex:1;gap:4em;display:flex;flex-direction:row;justify-content:space-between}@media print{[_nghost-%COMP%] > main[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] > main[_ngcontent-%COMP%] .user-card[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] > main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}@media print{[_nghost-%COMP%] > main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{flex:2;min-width:480px}}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column;width:24em}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;opacity:.6;font-size:120%}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] ol[_ngcontent-%COMP%]{padding-left:1.4em}[_nghost-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:1em}[_nghost-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0} :root .mat-typography article h1, :root .mat-typography article h2, :root .mat-typography article h3, :root .mat-typography article h4, :root .mat-typography article h5, :root .mat-typography article h6{font-weight:600;margin:1em 0 0} :root .mat-typography article h1{font-size:1.7em} :root .mat-typography article h2{font-size:1.6em} :root .mat-typography article h3{font-size:1.5em} :root .mat-typography article h4{font-size:1.4em} :root .mat-typography article h5{font-size:1.3em} :root .mat-typography article h6{font-size:1.2em} :root .mat-typography article p{padding:1em 0 0} :root .mat-typography article ul+p{margin-top:1em} :root .mat-typography article .markdown-view h1:first-child, :root .mat-typography article .markdown-view h2:first-child, :root .mat-typography article .markdown-view h3:first-child, :root .mat-typography article .markdown-view h4:first-child, :root .mat-typography article .markdown-view h5:first-child, :root .mat-typography article .markdown-view h6:first-child{margin-top:0}@media print{ :root body .app-shell-container>.sidenav-content{max-height:unset!important} :root body .app-shell-container .app-shell-scroll-wrapper{height:unset;overflow:visible} :root body .app-shell-container .app-shell-scroll-wrapper .app-shell-content{max-height:100%!important}}"],changeDetection:0})}return t})();var Ki=[{path:":name",providers:Be,component:je,data:{breadcrumb:"Sobre"},resolve:{schema:Ne},children:[{path:"",title:"Sobre um usu\xE1rio",resolve:{about:Ge},component:Ze}]}];export{je as AccountFeatureAboutComponent,Ki as accountFeatureAboutRoutes}; +import{b as Ae}from"./chunk-4OXAFH6K.js";import{a as Se}from"./chunk-C7FIZGKV.js";import{a as Re}from"./chunk-YJEP2JMA.js";import{a as $e}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{c as Fe}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as Le,b as D,d as Ve,e as qe}from"./chunk-5MUU2WLY.js";import{a as Ue}from"./chunk-BN44ELXF.js";import"./chunk-HEUAONWX.js";import{j as Oe}from"./chunk-7BKB7KKA.js";import{a as ze}from"./chunk-366DNJGU.js";import{c as fe,d as we,g as A,h as be,p as ve,x as De}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as Ie,b as Ee,d as Te}from"./chunk-E5QACR6S.js";import{S as Ce,V as ke,_ as j,ea as xe,ia as Me,s as ye,ua as Pe}from"./chunk-CG5OOKZO.js";import{$b as k,Aa as J,Ea as L,F as P,Fc as he,Ia as y,Ja as Z,Jc as w,Kc as E,L as U,Lc as $,Mb as ie,Nb as p,Pa as K,Sb as C,Sc as pe,Tb as u,Vb as q,Vc as b,Wb as ae,Wc as ue,Xc as _e,Yb as d,ac as x,bc as n,cc as s,da as G,dc as l,ea as X,fa as H,gb as V,ha as Q,hc as T,ic as ne,ja as R,je as ge,ka as r,kc as I,lb as c,mc as m,nc as oe,oc as ce,qc as se,rc as re,sa as W,sc as de,t as M,ta as O,ua as S,ub as g,va as Y,vb as ee,wc as le,xb as te,xc as _,yc as f,zc as me}from"./chunk-5L47ZUSK.js";var je=(()=>{class t{route=r(A);script=r(Re);constructor(){this.route.data.pipe(P(({schema:e})=>!!e),M(({schema:e})=>e),ze()).subscribe(e=>{let i="application/ld+json",a=JSON.stringify(e,null,2);this.script.addScript({type:i},a)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-account-feature-about"]],decls:2,vars:0,template:function(i,a){i&1&&(n(0,"devmx-app-shell"),l(1,"router-outlet"),s())},dependencies:[ve,be,Ue],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{font-size:100%;margin:0}[_nghost-%COMP%] .toolbar[_ngcontent-%COMP%]{display:flex;gap:1em}"],changeDetection:0})}return t})();var Be=[];var Ne=t=>qe(r(D),t.params);var Ge=t=>{let o=t.parent?t.parent.params:t.params;return Ve(r(D),o)};var Ke=["switch"],et=["*"];function tt(t,o){t&1&&(n(0,"span",10),Y(),n(1,"svg",12),l(2,"path",13),s(),n(3,"svg",14),l(4,"path",15),s()())}var it=new Q("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),at={provide:Ee,useExisting:G(()=>F),multi:!0},z=class{source;checked;constructor(o,e){this.source=o,this.checked=e}},F=(()=>{class t{_elementRef=r(Z);_focusMonitor=r(Ce);_changeDetectorRef=r(pe);defaults=r(it);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new z(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new L;toggleChange=new L;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){r(ye).load(xe);let e=r(new J("tabindex"),{optional:!0}),i=this.defaults,a=r(K,{optional:!0});this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this._noopAnimations=a==="NoopAnimations",this.id=this._uniqueId=r(ke).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new z(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,a){if(i&1&&se(Ke,5),i&2){let h;re(h=de())&&(a._switchElement=h.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,a){i&2&&(ne("id",a.id),C("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),ae(a.color?"mat-"+a.color:""),q("mat-mdc-slide-toggle-focused",a._focused)("mat-mdc-slide-toggle-checked",a.checked)("_mat-animation-noopable",a._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",b],color:"color",disabled:[2,"disabled","disabled",b],disableRipple:[2,"disableRipple","disableRipple",b],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ue(e)],checked:[2,"checked","checked",b],hideIcon:[2,"hideIcon","hideIcon",b],disabledInteractive:[2,"disabledInteractive","disabledInteractive",b]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[he([at,{provide:Te,useExisting:t,multi:!0}]),ie,W],ngContentSelectors:et,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,a){if(i&1){let h=T();oe(),n(0,"div",1)(1,"button",2,0),I("click",function(){return O(h),S(a._handleClick())}),l(3,"span",3),n(4,"span",4)(5,"span",5)(6,"span",6),l(7,"span",7),s(),n(8,"span",8),l(9,"span",9),s(),p(10,tt,5,0,"span",10),s()()(),n(11,"label",11),I("click",function(N){return O(h),S(N.stopPropagation())}),ce(12),s()()}if(i&2){let h=le(2);u("labelPosition",a.labelPosition),c(),q("mdc-switch--selected",a.checked)("mdc-switch--unselected",!a.checked)("mdc-switch--checked",a.checked)("mdc-switch--disabled",a.disabled)("mat-mdc-slide-toggle-disabled-interactive",a.disabledInteractive),u("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("disabled",a.disabled&&!a.disabledInteractive),C("id",a.buttonId)("name",a.name)("aria-label",a.ariaLabel)("aria-labelledby",a._getAriaLabelledBy())("aria-describedby",a.ariaDescribedby)("aria-required",a.required||null)("aria-checked",a.checked)("aria-disabled",a.disabled&&a.disabledInteractive?"true":null),c(8),u("matRippleTrigger",h)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0),c(),d(a.hideIcon?-1:10),c(),u("for",a.buttonId),C("id",a._labelId)}},dependencies:[Me,Pe],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0})}return t})();var Xe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ee({type:t});static \u0275inj=H({imports:[F,j,j]})}return t})();var He=(()=>{class t{transform(e,i="phone"){if(e)switch(i){default:case"phone":{let a="#".repeat(Math.max(0,String(e).length-6)),h=String(e).slice(-6);return a+h}case"email":{let[a,h]=String(e).split("@");return`${a[0]+"#".repeat(a.length-2)+a[a.length-1]}@${h}`}}}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=te({name:"shadow",type:t,pure:!0})}return t})();var Qe=(()=>{class t{_meta;_title;constructor(e,i){this._meta=e,this._title=i}setImage(e){this._title.setTitle(e.title),this.#e("url",e.url),this.#e("type","website"),this.#e("title",e.title),this.#e("description",e.description),this.#e("image",e.image),this.#e("image:type",e.type),this.#e("image:width",e.width),this.#e("image:height",e.height)}setVideo(e){this._title.setTitle(e.title),this.#e("url",e.url),this.#e("type","website"),this.#e("title",e.title),this.#e("description",e.description),this.#e("video",e.video),this.#e("image:type",e.type),this.#e("image:width",e.width),this.#e("image:height",e.height)}#e(e,i){let a=this.#t(e);e=`og:${e}`,i=`${i}`,this._meta.updateTag({property:e,content:i},a)}#t(e){return`property="og:${e}"`}static \u0275fac=function(i){return new(i||t)(R(fe),R(we))};static \u0275prov=X({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ot=(t,o)=>o.id;function ct(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;c(),f(e.title)}}var We=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-presentations"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,ct,2,1,"li",null,ot),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M18%204L14%2020M10%204L6%2020M5%208H21M3%2016H19%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();var st=(t,o)=>o.id;function rt(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;c(),f(e.title)}}var Ye=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-events"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,rt,2,1,"li",null,st),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M16.7365%207L7.25643%2016.7233C6.89674%2017.0922%206.31358%2017.0922%205.95389%2016.7233L2%2012.668M12.5199%2016.7233L22%207%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();var dt=(t,o)=>o.skill.id;function lt(t,o){if(t&1&&(n(0,"li"),_(1),s()),t&2){let e=o.$implicit;C("data-weight",e.weight),c(),me(" ",e.skill.name," ")}}var Je=(()=>{class t{data=y.required();static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-user-skills"]],inputs:{data:[1,"data"]},decls:3,vars:0,template:function(i,a){i&1&&(n(0,"ul"),k(1,lt,2,2,"li",null,dt),s()),i&2&&(c(),x(a.data()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] ul[_ngcontent-%COMP%]{gap:8px;margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{gap:8px;display:flex;list-style-type:none;align-items:center}[_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"";display:flex;width:18px;min-height:18px;background-image:url(data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M20%207L9.35355%2017.6464C9.15829%2017.8417%208.84171%2017.8417%208.64645%2017.6464L4%2013%22%20stroke=%22currentColor%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E);background-size:18px;background-position:center;background-repeat:no-repeat;align-items:center}'],changeDetection:0})}return t})();function mt(t,o){if(t&1){let e=T();n(0,"div",0)(1,"mat-slide-toggle",1),I("change",function(){O(e);let a=m(3);return S(a.toggleDesignMode())}),s()()}if(t&2){let e=m(3);c(),u("checked",e.designMode())}}function ht(t,o){if(t&1&&(n(0,"menu"),p(1,mt,2,1,"div",0),s()),t&2){let e=m();c(),d(o.id===e.id?1:-1)}}function pt(t,o){if(t&1&&(n(0,"a",2),l(1,"devmx-icon",3),n(2,"span"),_(3),w(4,"shadow"),s()()),t&2){let e=m(2);u("href","mailto:"+e.contact.email,V),c(3),f($(4,2,e.contact.email,"email"))}}function ut(t,o){if(t&1&&(n(0,"a",2),l(1,"devmx-icon",4),n(2,"span"),_(3),w(4,"shadow"),s()()),t&2){let e=m(2);u("href","tel://"+e.contact.phone,V),c(3),f($(4,2,e.contact.phone,"phone"))}}function _t(t,o){if(t&1&&(n(0,"nav"),p(1,pt,5,5,"a",2)(2,ut,5,5,"a",2),s()),t&2){let e=m();c(),d(e.visibility!=null&&e.visibility.email?1:-1),c(),d(e.visibility!=null&&e.visibility.phone?2:-1)}}function gt(t,o){if(t&1&&l(0,"devmx-markdown-view",5),t&2){let e=m(2);u("content",e.profile.minibio)}}function ft(t,o){if(t&1&&(n(0,"article"),p(1,gt,1,1,"devmx-markdown-view",5),s()),t&2){let e=m();c(),d(e.profile.minibio?1:-1)}}function wt(t,o){if(t&1&&(n(0,"h3"),_(1,"Habilidades"),s(),l(2,"devmx-user-skills",6)),t&2){let e=m(3);c(2),u("data",e.skills)}}function bt(t,o){if(t&1&&(n(0,"section"),p(1,wt,3,1),s()),t&2){let e=m(2);c(),d(e.skills?1:-1)}}function vt(t,o){t&1&&(n(0,"h3"),_(1,"Eventos organizados"),s(),l(2,"devmx-user-events",6)),t&2&&(c(2),u("data",o.data))}function yt(t,o){if(t&1&&(n(0,"section"),p(1,vt,3,1),w(2,"async"),s()),t&2){let e,i=m(3);c(),d((e=E(2,1,i.eventFacade.response$))?1:-1,e)}}function Ct(t,o){t&1&&(n(0,"h3"),_(1,"Apresenta\xE7\xF5es"),s(),l(2,"devmx-user-presentations",6)),t&2&&(c(2),u("data",o.data))}function kt(t,o){if(t&1&&(n(0,"section"),p(1,Ct,3,1),w(2,"async"),s()),t&2){let e,i=m(3);c(),d((e=E(2,1,i.presentationFacade.response$))?1:-1,e)}}function xt(t,o){if(t&1&&(n(0,"aside"),p(1,bt,2,1,"section")(2,yt,3,3,"section")(3,kt,3,3,"section"),s()),t&2){let e=m();c(),d(e.visibility.skills?1:-1),c(),d(e.visibility.events?2:-1),c(),d(e.visibility.presentations?3:-1)}}function Mt(t,o){if(t&1&&(p(0,ht,2,1,"menu"),w(1,"async"),n(2,"header")(3,"h2"),_(4),s(),p(5,_t,3,2,"nav"),s(),n(6,"main"),p(7,ft,2,1,"article")(8,xt,4,3,"aside"),s()),t&2){let e,i=o,a=m();d((e=E(1,5,a.authFacade.auth$))?0:-1,e),c(4),f(i.displayName),c(),d(i.visibility!=null&&i.visibility.email||i.visibility!=null&&i.visibility.phone?5:-1),c(2),d(i.profile?7:-1),c(),d(i.visibility?8:-1)}}var Ze=(()=>{class t{authFacade=r(Le);presentationFacade=r(Se);eventFacade=r(Fe);route=r(A);graph=r(Qe);user$=this.route.data.pipe(P(({about:e})=>!!e),M(({about:e})=>e));designMode=_e(()=>document.designMode==="on");constructor(){this.user$.pipe(P(e=>!!e.id),M(e=>e.id),U(1)).subscribe(e=>{console.log("owner: ",e);let i={title:"",owner:e};this.eventFacade.setFilter(i),this.presentationFacade.setFilter(i),this.eventFacade.load(),this.presentationFacade.load()}),this.user$.pipe(U(1)).subscribe(e=>{console.log("user: ",e),this.graph.setImage({title:`Perfil de ${e.displayName}`,description:Oe(e.profile?.minibio??""),url:`https://devparana.mx/#/sobre/${e.name}`,image:"https://devparana.mx/images/resume-folder.webp",type:"image/webp",width:800,height:800})})}toggleDesignMode(){let{designMode:e}=document,i=e==="on"?"off":"on";document.designMode=i}print(){window.print()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=g({type:t,selectors:[["devmx-about-user"]],decls:2,vars:3,consts:[[1,"edit-mode-toggle"],[3,"change","checked"],[3,"href"],["name","message/mail"],["name","tech/phone"],[3,"content"],[3,"data"]],template:function(i,a){if(i&1&&(p(0,Mt,9,7),w(1,"async")),i&2){let h;d((h=E(1,1,a.user$))?0:-1,h)}},dependencies:[$e,We,Xe,F,Je,Ye,Ae,De,Ie,He,ge],styles:["[_nghost-%COMP%]{flex:1;gap:2em;padding:1em;position:relative;display:flex;flex-direction:column;background-color:#fff}@media print{[_nghost-%COMP%]{max-width:822px;width:100vw;padding:0}}[_nghost-%COMP%] menu[_ngcontent-%COMP%]{margin:0;padding:0;top:16px;right:16px;position:absolute;display:flex;gap:8px}@media print{[_nghost-%COMP%] menu[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] > header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:200%}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%]{gap:2em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{gap:.4em;display:flex;align-items:center}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:link:not(.mdc-button):not(.mdc-icon-button):not(.mdc-fab){color:#1e1e1e}[_nghost-%COMP%] > header[_ngcontent-%COMP%] > nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] > main[_ngcontent-%COMP%]{flex:1;gap:4em;display:flex;flex-direction:row;justify-content:space-between}@media print{[_nghost-%COMP%] > main[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] > main[_ngcontent-%COMP%] .user-card[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] > main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}@media print{[_nghost-%COMP%] > main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{flex:2;min-width:480px}}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column;width:24em}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;opacity:.6;font-size:120%}[_nghost-%COMP%] > main[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] ol[_ngcontent-%COMP%]{padding-left:1.4em}[_nghost-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:1em}[_nghost-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0} :root .mat-typography article h1, :root .mat-typography article h2, :root .mat-typography article h3, :root .mat-typography article h4, :root .mat-typography article h5, :root .mat-typography article h6{font-weight:600;margin:1em 0 0} :root .mat-typography article h1{font-size:1.7em} :root .mat-typography article h2{font-size:1.6em} :root .mat-typography article h3{font-size:1.5em} :root .mat-typography article h4{font-size:1.4em} :root .mat-typography article h5{font-size:1.3em} :root .mat-typography article h6{font-size:1.2em} :root .mat-typography article p{padding:1em 0 0} :root .mat-typography article ul+p{margin-top:1em} :root .mat-typography article .markdown-view h1:first-child, :root .mat-typography article .markdown-view h2:first-child, :root .mat-typography article .markdown-view h3:first-child, :root .mat-typography article .markdown-view h4:first-child, :root .mat-typography article .markdown-view h5:first-child, :root .mat-typography article .markdown-view h6:first-child{margin-top:0}@media print{ :root body .app-shell-container>.sidenav-content{max-height:unset!important} :root body .app-shell-container .app-shell-scroll-wrapper{height:unset;overflow:visible} :root body .app-shell-container .app-shell-scroll-wrapper .app-shell-content{max-height:100%!important}}"],changeDetection:0})}return t})();var Ki=[{path:":name",providers:Be,component:je,data:{breadcrumb:"Sobre"},resolve:{schema:Ne},children:[{path:"",title:"Sobre um usu\xE1rio",resolve:{about:Ge},component:Ze}]}];export{je as AccountFeatureAboutComponent,Ki as accountFeatureAboutRoutes}; diff --git a/chunk-FVH3EPWM.js b/chunk-KN3XQ7E5.js similarity index 96% rename from chunk-FVH3EPWM.js rename to chunk-KN3XQ7E5.js index dc86f6ad..0f7f231e 100644 --- a/chunk-FVH3EPWM.js +++ b/chunk-KN3XQ7E5.js @@ -1,3 +1,3 @@ -import{r as g,x}from"./chunk-6BGAZ7SQ.js";import{a as h}from"./chunk-EDIJ2EBQ.js";import{f as C,g as b}from"./chunk-W5KNOAKV.js";import{Fb as p,Ia as a,Tb as d,bc as o,cc as l,dc as c,gb as r,ka as M,lb as s,ub as m,xc as f,yc as u}from"./chunk-TEKHUYWQ.js";var j=(()=>{class i{data=a.required();text=a("Enviar no WhatsApp");platform=M(C);link=p("");ngAfterViewInit(){let{id:e,title:t,start:n,address:y}=this.data(),v=`https://devparana.mx/#/evento/${e}`,P=`\u{1F389} *${t}* \u{1F389}`,_=`\u{1F5D3}\uFE0F ${n.toLocaleDateString()}`,S=`\u23F0 ${n.toLocaleTimeString().slice(0,5)}`,D=`\u{1F5FA}\uFE0F ${y}`,k=[v,P,_,S,D].join(` +import{r as g,x}from"./chunk-7RMPQIRR.js";import{a as h}from"./chunk-E5QACR6S.js";import{h as C,i as b}from"./chunk-CG5OOKZO.js";import{Fb as p,Ia as a,Tb as d,bc as o,cc as l,dc as c,gb as r,ka as M,lb as s,ub as m,xc as f,yc as u}from"./chunk-5L47ZUSK.js";var j=(()=>{class i{data=a.required();text=a("Enviar no WhatsApp");platform=M(C);link=p("");ngAfterViewInit(){let{id:e,title:t,start:n,address:y}=this.data(),v=`https://devparana.mx/#/evento/${e}`,P=`\u{1F389} *${t}* \u{1F389}`,_=`\u{1F5D3}\uFE0F ${n.toLocaleDateString()}`,S=`\u23F0 ${n.toLocaleTimeString().slice(0,5)}`,D=`\u{1F5FA}\uFE0F ${y}`,k=[v,P,_,S,D].join(` `),A=this.platform.IOS?"https://api.whatsapp.com/send":"whatsapp://send",I="https://devparana.mx/devmx.svg",$=new URLSearchParams({text:k,media:I});this.link.set(`${A}?${$}`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["devmx-whats-app-button"]],inputs:{data:[1,"data"],text:[1,"text"]},decls:4,vars:2,consts:[["mat-raised-button","","target","_blank","rel","noopener,noreferrer",3,"href"],["matPreffix","","name","social/whatsapp","size","24"]],template:function(t,n){t&1&&(o(0,"a",0),c(1,"devmx-icon",1),o(2,"span"),f(3),l()()),t&2&&(d("href",n.link(),r),s(3),u(n.text()))},dependencies:[x,g,b,h],styles:["[_nghost-%COMP%]{min-width:180px;display:inline-flex}[_nghost-%COMP%] a[href][_ngcontent-%COMP%]{width:100%;padding-left:.6em;padding-right:.6em;border-radius:8px}[_nghost-%COMP%] .mat-mdc-raised-button .mdc-button__label{display:inline-flex;align-items:center;gap:.6em}"],changeDetection:0})}return i})();var G=(()=>{class i{data=a.required();text=a("Adicionar ao calend\xE1rio");link=p("");ngAfterViewInit(){let e="https://calendar.google.com/calendar/render",t=this.#e(this.data()),n=new URLSearchParams(t);this.link.set(`${e}?${n}`)}#e(e){let t="TEMPLATE",{title:n,address:y,description:v}=e,P=this.#t(e.start),_=this.#t(e.end);return{action:t,text:n,location:y,details:v,dates:`${P}/${_}`}}#t(e){return e.toISOString().replace(/-|:|\.\d{3}/g,"")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["devmx-calendar-button"]],inputs:{data:[1,"data"],text:[1,"text"]},decls:4,vars:2,consts:[["mat-raised-button","","target","_blank","rel","noopener,noreferrer",3,"href"],["matPreffix","","name","calendar","size","22"]],template:function(t,n){t&1&&(o(0,"a",0),c(1,"devmx-icon",1),o(2,"span"),f(3),l()()),t&2&&(d("href",n.link(),r),s(3),u(n.text()))},dependencies:[x,g,h],styles:["[_nghost-%COMP%]{min-width:180px;display:inline-flex}[_nghost-%COMP%] a[href][_ngcontent-%COMP%]{width:100%;padding-left:.6em;padding-right:.6em;border-radius:8px}[_nghost-%COMP%] .mat-mdc-raised-button .mdc-button__label{display:inline-flex;align-items:center;gap:.6em}"],changeDetection:0})}return i})();var tt=(()=>{class i{data=a.required();text=a("Abrir com YouTube");platform=M(C);link=p("");ngAfterViewInit(){let{link:e}=this.data();e&&((this.platform.ANDROID||this.platform.IOS)&&(e.indexOf("http")>=0&&e.replace("http://","youtube://"),e.indexOf("https")>=0&&e.replace("https://","youtube://")),this.link.set(e))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["devmx-youtube-button"]],inputs:{data:[1,"data"],text:[1,"text"]},decls:4,vars:2,consts:[["mat-raised-button","","target","_blank","rel","noopener,noreferrer",3,"href"],["matPreffix","","name","social/youtube","size","22"]],template:function(t,n){t&1&&(o(0,"a",0),c(1,"devmx-icon",1),o(2,"span"),f(3),l()()),t&2&&(d("href",n.link(),r),s(3),u(n.text()))},dependencies:[x,g,b,h],styles:["[_nghost-%COMP%]{min-width:180px;display:inline-flex}[_nghost-%COMP%] a[href][_ngcontent-%COMP%]{width:100%;padding-left:.6em;padding-right:.6em;border-radius:8px}[_nghost-%COMP%] .mat-mdc-raised-button .mdc-button__label{display:inline-flex;align-items:center;gap:.6em}"],changeDetection:0})}return i})();var mt=(()=>{class i{data=a.required();text=a("Abrir com Google Maps");platform=M(C);link=p("");ngAfterViewInit(){let{address:e}=this.data(),t={travelmode:"driving"},n;this.platform.IOS?(n="comgooglemaps://",t.daddr=e):(n="//google.com/maps/dir/",t.destination=e,t.api="1");let y=new URLSearchParams(t);this.link.set(`${n}?${y}`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=m({type:i,selectors:[["devmx-maps-button"]],inputs:{data:[1,"data"],text:[1,"text"]},decls:4,vars:2,consts:[["mat-raised-button","","target","_blank","rel","noopener,noreferrer",3,"href"],["matPreffix","","name","transport/map-pin","size","22"]],template:function(t,n){t&1&&(o(0,"a",0),c(1,"devmx-icon",1),o(2,"span"),f(3),l()()),t&2&&(d("href",n.link(),r),s(3),u(n.text()))},dependencies:[x,g,b,h],styles:["[_nghost-%COMP%]{min-width:180px;display:inline-flex}[_nghost-%COMP%] a[href][_ngcontent-%COMP%]{width:100%;padding-left:.6em;padding-right:.6em;border-radius:8px}[_nghost-%COMP%] .mat-mdc-raised-button .mdc-button__label{display:inline-flex;align-items:center;gap:.6em}"],changeDetection:0})}return i})();export{j as a,G as b,tt as c,mt as d}; diff --git a/chunk-ZTJS4K5V.js b/chunk-LJI7J76F.js similarity index 62% rename from chunk-ZTJS4K5V.js rename to chunk-LJI7J76F.js index 19969331..23e2e104 100644 --- a/chunk-ZTJS4K5V.js +++ b/chunk-LJI7J76F.js @@ -1 +1 @@ -import{b as o}from"./chunk-XYJHVZQT.js";import{ka as r,xb as i}from"./chunk-TEKHUYWQ.js";var f=(()=>{class e{env=r(o);transform(t){return this.#t(t)}#t(t){return t?`${this.env.photos.url}/${t}`:"/photos/default.svg"}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=i({name:"photo",type:e,pure:!0})}return e})();export{f as a}; +import{b as o}from"./chunk-7BKB7KKA.js";import{ka as r,xb as i}from"./chunk-5L47ZUSK.js";var f=(()=>{class e{env=r(o);transform(t){return this.#t(t)}#t(t){return t?`${this.env.photos.url}/${t}`:"/photos/default.svg"}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=i({name:"photo",type:e,pure:!0})}return e})();export{f as a}; diff --git a/chunk-LKFEOD7V.js b/chunk-LKFEOD7V.js new file mode 100644 index 00000000..feadfd8d --- /dev/null +++ b/chunk-LKFEOD7V.js @@ -0,0 +1 @@ +import{g as ke,k as Ve,o as O,r as xe}from"./chunk-TJJFEYFG.js";import{b as De}from"./chunk-76QZXEBP.js";import{A as Fe,B as Ie}from"./chunk-7RMPQIRR.js";import{c as me,d as g,e as fe,g as d,h as ge,j as F}from"./chunk-I7VYXJU2.js";import{b as Le}from"./chunk-E5QACR6S.js";import{F as Oe,G as be,H as I,I as y,K as Ae,V as Se,W as we,_ as V,h as ve,ma as Ce,na as Me,oa as Te,pa as Pe,q as ye,qa as Ee,ra as Re,sa as x,u as v}from"./chunk-CG5OOKZO.js";import{A as _,D as c,Ea as r,Eb as ne,F as m,Fa as J,Fc as L,Ja as C,L as S,Mb as M,N as B,Nb as ae,Sb as T,Sc as D,Tb as se,Va as $,Vb as le,Vc as l,Wb as re,Z as q,_ as f,ba as G,bc as ce,cc as pe,da as U,e as h,ed as _e,fa as z,g as W,ha as w,hc as ue,j as A,ka as s,kc as P,mc as E,nc as de,ob as ee,oc as he,p as H,pc as R,qc as k,rc as p,sa as Q,sc as u,t as K,ta as j,ua as X,ub as te,vb as ie,wb as oe,y as Y,za as Z}from"./chunk-5L47ZUSK.js";var Ue=["panel"],ze=["*"];function Qe(a,b){if(a&1){let e=ue();ce(0,"div",1,0),P("@panelAnimation.done",function(i){j(e);let o=E();return X(o._animationDone.next(i))}),he(2),pe()}if(a&2){let e=b.id,t=E();re(t._classList),le("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"),se("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),T("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var je=me("panelAnimation",[ge("void, hidden",d({opacity:0,transform:"scaleY(0.8)"})),F(":enter, hidden => visible",[fe([g("0.03s linear",d({opacity:1})),g("0.12s cubic-bezier(0, 0, 0.2, 1)",d({transform:"scaleY(1)"}))])]),F(":leave, visible => hidden",[g("0.075s linear",d({opacity:0}))])]),N=class{source;option;constructor(b,e){this.source=b,this.option=e}},He=new w("mat-autocomplete-default-options",{providedIn:"root",factory:Xe});function Xe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Tt=(()=>{class a{_changeDetectorRef=s(D);_elementRef=s(C);_defaults=s(He);_activeOptionChanges=h.EMPTY;_animationDone=new r;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new r;opened=new r;closed=new r;optionActivated=new r;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=s(Se).getId("mat-autocomplete-");inertGroups;constructor(){let e=s(ve);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Ae(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new N(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=te({type:a,selectors:[["mat-autocomplete"]],contentQueries:function(t,i,o){if(t&1&&(R(o,Pe,5),R(o,Me,5)),t&2){let n;p(n=u())&&(i.options=n),p(n=u())&&(i.optionGroups=n)}},viewQuery:function(t,i){if(t&1&&(k(ee,7),k(Ue,5)),t&2){let o;p(o=u())&&(i.template=o.first),p(o=u())&&(i.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",l],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",l],requireSelection:[2,"requireSelection","requireSelection",l],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",l],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",l]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[L([{provide:Ce,useExisting:a}]),M],ngContentSelectors:ze,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,i){t&1&&(de(),ae(0,Qe,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-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: 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:[je]},changeDetection:0})}return a})();var Ze={provide:Le,useExisting:U(()=>et),multi:!0};var Ke=new w("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let a=s(O);return()=>a.scrollStrategies.reposition()}});function Je(a){return()=>a.scrollStrategies.reposition()}var $e={provide:Ke,deps:[O],useFactory:Je},et=(()=>{class a{_element=s(C);_overlay=s(O);_viewContainerRef=s(ne);_zone=s(J);_changeDetectorRef=s(D);_dir=s(we,{optional:!0});_formField=s(ke,{optional:!0,host:!0});_document=s(_e);_viewportRuler=s(Fe);_defaults=s(He,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_scrollStrategy=s(Ke);_keydownSubscription;_outsideClickSubscription;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=h.EMPTY;_breakpointObserver=s(Oe);_handsetLandscapeSubscription=h.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new A;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;_initialized=new A;_injector=s(Z);constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.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}_overlayAttached=!1;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&&y(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return c(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(m(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(m(()=>this._overlayAttached)):H()).pipe(K(e=>e instanceof Te?e:null))}optionSelections=Y(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(q(e),f(()=>c(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(f(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return c(_(this._document,"click"),_(this._document,"auxclick"),_(this._document,"touchend")).pipe(m(e=>{let t=ye(e),i=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!i||!i.contains(t))&&(!o||!o.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,i=v(e);if(t===27&&!i&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!i)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,n=t===38||t===40;t===9||n&&!i&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):n&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(n||this.autocomplete._keyManager.activeItem!==o)&&(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(e){let t=e.target,i=t.value;if(t.type==="number"&&(i=i==""?null:parseFloat(i)),this._previousValue!==i){if(this._previousValue=i,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(i),!i)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(n=>n.selected);if(o){let n=this._getDisplayValue(o.value);i!==n&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_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(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new W(i=>{$(()=>{i.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(G(()=>this._positionStrategy.reapplyLastPosition()),B(0));return c(e,t).pipe(f(()=>this._zone.run(()=>{let i=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),i!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),S(1)).subscribe(i=>this._setValueAndClose(i))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,i=e?e.source:this._pendingAutoselectedOption;i?(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),t._emitSelectEvent(i),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(S(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(i=>{i!==e&&i.selected&&i.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;I(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new De(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(be.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let i=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&i!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!v(e)||e.keyCode===38&&v(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Ve({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}],n;this.position==="above"?n=o:this.position==="below"?n=t:n=[...t,...o],e.withPositions(n)}_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 e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let i=0;i .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&y(this._trackedModal,"aria-owns",t),I(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;y(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||a)};static \u0275dir=oe({type:a,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,i){t&1&&P("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(n){return i._handleInput(n)})("keydown",function(n){return i._handleKeydown(n)})("click",function(){return i._handleClick()}),t&2&&T("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-controls",i.autocompleteDisabled||!i.panelOpen||i.autocomplete==null?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",l]},exportAs:["matAutocompleteTrigger"],features:[L([Ze]),M,Q]})}return a})(),Pt=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=ie({type:a});static \u0275inj=z({providers:[$e],imports:[xe,x,V,Ie,x,V]})}return a})();export{Tt as a,et as b,Pt as c}; diff --git a/chunk-MYMD7E64.js b/chunk-MNMKGC52.js similarity index 91% rename from chunk-MYMD7E64.js rename to chunk-MNMKGC52.js index a3644515..2bd976ec 100644 --- a/chunk-MYMD7E64.js +++ b/chunk-MNMKGC52.js @@ -1,7 +1,7 @@ -import{a as fn}from"./chunk-4Z5R5VSG.js";import{i as hn,j as _n}from"./chunk-F2BR4OZZ.js";import{a as Ii,b as Li}from"./chunk-VHE4TYFV.js";import{a as Fe,b as tn}from"./chunk-JMI5D6U5.js";import"./chunk-AFH22WZE.js";import{a as nn,b as on,c as an,d as rn,e as sn,f as ln,g as mn,h as cn,i as pn,j as dn,k as un}from"./chunk-FROUXDRM.js";import{a as Je,b as Qi}from"./chunk-4JU575PW.js";import{a as en}from"./chunk-56M6HFOE.js";import{a as ji}from"./chunk-Q33OVU5J.js";import{a as Yi,b as Ki,c as Wi,d as Xi,e as Zi,g as Ji}from"./chunk-73QBZNVE.js";import{c as qi,d as Ui,e as zi}from"./chunk-Q2N7RZTH.js";import{a as bi}from"./chunk-WOE5TNBB.js";import{a as Ti}from"./chunk-ZHS65JNW.js";import{a as Si,b as wi,c as Xe}from"./chunk-BLJCB4Q7.js";import{a as yi,b as Ei}from"./chunk-2XST3EDK.js";import"./chunk-JNB3NYAZ.js";import{d as Ri}from"./chunk-YFMYPYPE.js";import{a as Ai}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as gi,b as Ci,c as X,d as We,g as xi}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as Fi}from"./chunk-TPJZ2OYR.js";import{h as si,r as Ue,s as li}from"./chunk-XYJHVZQT.js";import{h as Gi}from"./chunk-DAURILCW.js";import{a as Ni,b as Bi,c as $i,h as Hi}from"./chunk-O3T3UZHL.js";import{c as Vi,d as xe,e as Me}from"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import{b as ce,c as ai,e as qe,g as ri,i as pe,j as de,o as Mi}from"./chunk-AND6K73U.js";import{b as _i}from"./chunk-BJXILAOS.js";import{a as W}from"./chunk-A3N3AUUJ.js";import{B as vi,g as se,h as Kt,i as le,j as lt,p as Ge,q as Ce,u as fi,v as L,w as hi,x as w}from"./chunk-6BGAZ7SQ.js";import{c as Wt,d as je,e as Xt,g as Pe,h as Zt,j as mt}from"./chunk-I7VYXJU2.js";import{a as ue,c as fe,e as Ke,f as he,g as _e,i as ve,l as ge}from"./chunk-PAP2P7QR.js";import{a as Di,b as ki,e as Pi,f as Oi,i as Ze}from"./chunk-EC6LD5KM.js";import{a as R,b as mi,c as Q,d as ci,e as C,f as S,g as pi,h as Y,i as I,j as G,l as _,m as ze,n as di,p as A,r as Qe,s as K,t as ui,w as Ye,x as P}from"./chunk-EDIJ2EBQ.js";import{$ as pt,I as ei,T as ti,U as ii,_ as Oe,aa as ni,ka as oi,na as me,o as Jt,s as ct}from"./chunk-W5KNOAKV.js";import{$b as T,Aa as Dt,Ba as kt,Eb as It,Ec as Ne,F as bt,Fb as ae,Fc as V,Gb as re,Ha as U,Hb as At,Hc as qt,Ia as g,J as yt,Ja as Ee,Jb as Lt,Jc as z,Kb as Nt,Kc as Be,L as B,Lc as $e,Nb as x,Nc as Ut,Ob as Bt,Pb as $t,Sb as we,Sc as zt,Tb as u,Va as Pt,Vc as Te,Xc as De,Y as oe,Yb as O,Yc as He,Zc as ke,a as Ct,ac as D,b as xt,bc as s,cc as r,d as Mt,dc as p,ec as $,ed as Qt,fa as Et,fc as H,gb as Ot,ha as St,hc as k,ic as Ht,jb as Se,je as Yt,ka as m,kc as f,lb as c,mb as Ie,mc as M,nc as Gt,oc as jt,sb as Ft,t as ne,ta as y,u as Re,ua as E,ub as h,uc as te,va as wt,vb as Vt,vc as Ae,wb as Rt,wc as Le,xc as d,yc as q,za as Tt,zc as F}from"./chunk-TEKHUYWQ.js";var vn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-feature-admin"]],decls:1,vars:0,template:function(t,n){t&1&&p(0,"router-outlet")},dependencies:[Kt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return i})();var et=class extends G{constructor(){super({src:new _("",{nonNullable:!0}),alt:new _("",{nonNullable:!0})})}};var Un=["box"],zn=["overlay"],Qn=["image"],tt=i=>`${i}px`,gn=(()=>{class i{src=g("");aspectRatio=g(16/9);width=g(null);height=g(null);cropChange=U();boxRef=re("box");get box(){let e=this.boxRef();if(!e)throw"box error";return e.nativeElement}overlayRef=re("overlay");get overlay(){let e=this.overlayRef();if(!e)throw"overlay error";return e.nativeElement}imageRef=re("image");get image(){let e=this.imageRef();if(!e)throw"error";return e.nativeElement}#e=null;#t=null;loaded=!1;ngOnInit(){let e=this.src();this.image.onload=()=>{this.loaded=!0,this.setInitialPosition()},this.box.addEventListener("touchstart",this.startUpdate.bind(this),{passive:!0}),this.image.src=e}setInitialPosition(){let{clientWidth:e,clientHeight:t}=this.image,n=this.width()??Math.round(e/2),a=this.height()??n;this.aspectRatio&&(a=Math.round(n/this.aspectRatio()));let l=(e-n)/2,v=(t-a)/2;this.#e=new Ue(l,v),this.updateDimensions(n,a)}updateDimensions(e,t,n=!0){if(!this.#e)return;let{offsetLeft:a,offsetTop:l}=this.box,{clientWidth:v,clientHeight:b}=this.image,j=Math.min(e,v-this.#e.x),be=Math.min(t,b-this.#e.y),J=n?Math.round(Math.max(0,this.#e.x)):a,ee=n?Math.round(Math.max(0,this.#e.y)):l;this.box.style.left=tt(J),this.box.style.top=tt(ee),this.box.style.width=tt(j),this.box.style.height=tt(be),this.updateOverlay(J,ee,j,be);let ye=new DOMRect(J,ee,j,be);this.fireChangeEvent(ye)}updateOverlay(e,t,n,a){this.overlay.style.clipPath=`polygon( +import{a as fn}from"./chunk-34JIMYEM.js";import{i as hn,j as _n}from"./chunk-SF2V34MO.js";import{a as Ii,b as Li}from"./chunk-FJPP4CEK.js";import{a as Fe,b as tn}from"./chunk-R4QCZCL2.js";import"./chunk-I7HMQKPZ.js";import{a as nn,b as on,c as an,d as rn,e as sn,f as ln,g as mn,h as cn,i as pn,j as dn,k as un}from"./chunk-TDAJGOKB.js";import{a as Je,b as Qi}from"./chunk-HOUESFGN.js";import{a as en}from"./chunk-5XJFAPMG.js";import{a as ji}from"./chunk-Z63MF55O.js";import{a as Yi,b as Ki,c as Wi,d as Xi,e as Zi,g as Ji}from"./chunk-6PKCOWVT.js";import{c as qi,d as Ui,e as zi}from"./chunk-BJPVFIKR.js";import{a as bi}from"./chunk-FTG3SWGJ.js";import{a as Ti}from"./chunk-EM27EDGS.js";import{a as Si,b as wi,c as Xe}from"./chunk-EJAMDHKS.js";import{a as yi,b as Ei}from"./chunk-KCQYBIUM.js";import"./chunk-C7FIZGKV.js";import{d as Ri}from"./chunk-5ZT2NHQS.js";import{a as Ai}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as gi,b as Ci,c as X,d as We,g as xi}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as Fi}from"./chunk-5MUU2WLY.js";import{h as si,r as Ue,s as li}from"./chunk-7BKB7KKA.js";import{h as Gi}from"./chunk-37XQ32LA.js";import{a as Ni,b as Bi,c as $i,h as Hi}from"./chunk-J4P2XXRU.js";import{c as Vi,d as xe,e as Me}from"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import{b as ce,c as ai,e as qe,g as ri,i as pe,j as de,o as Mi}from"./chunk-TJJFEYFG.js";import{b as _i}from"./chunk-76QZXEBP.js";import{a as W}from"./chunk-366DNJGU.js";import{B as vi,g as se,h as Kt,i as le,j as lt,p as Ge,q as Ce,u as fi,v as L,w as hi,x as w}from"./chunk-7RMPQIRR.js";import{c as Wt,d as je,e as Xt,g as Pe,h as Zt,j as mt}from"./chunk-I7VYXJU2.js";import{a as ue,c as fe,e as Ke,f as he,g as _e,i as ve,l as ge}from"./chunk-UANEMOTZ.js";import{a as Di,b as ki,e as Pi,f as Oi,i as Ze}from"./chunk-BJ2ND26O.js";import{a as R,b as mi,c as Q,d as ci,e as C,f as S,g as pi,h as Y,i as I,j as G,l as _,m as ze,n as di,p as A,r as Qe,s as K,t as ui,w as Ye,x as P}from"./chunk-E5QACR6S.js";import{K as ei,V as ti,W as ii,aa as Oe,ba as pt,ca as ni,ma as oi,pa as me,q as Jt,u as ct}from"./chunk-CG5OOKZO.js";import{$b as T,Aa as Dt,Ba as kt,Eb as It,Ec as Ne,F as bt,Fb as ae,Fc as V,Gb as re,Ha as U,Hb as At,Hc as qt,Ia as g,J as yt,Ja as Ee,Jb as Lt,Jc as z,Kb as Nt,Kc as Be,L as B,Lc as $e,Nb as x,Nc as Ut,Ob as Bt,Pb as $t,Sb as we,Sc as zt,Tb as u,Va as Pt,Vc as Te,Xc as De,Y as oe,Yb as O,Yc as He,Zc as ke,a as Ct,ac as D,b as xt,bc as s,cc as r,d as Mt,dc as p,ec as $,ed as Qt,fa as Et,fc as H,gb as Ot,ha as St,hc as k,ic as Ht,jb as Se,je as Yt,ka as m,kc as f,lb as c,mb as Ie,mc as M,nc as Gt,oc as jt,sb as Ft,t as ne,ta as y,u as Re,ua as E,ub as h,uc as te,va as wt,vb as Vt,vc as Ae,wb as Rt,wc as Le,xc as d,yc as q,za as Tt,zc as F}from"./chunk-5L47ZUSK.js";var vn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-feature-admin"]],decls:1,vars:0,template:function(t,n){t&1&&p(0,"router-outlet")},dependencies:[Kt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return i})();var et=class extends G{constructor(){super({src:new _("",{nonNullable:!0}),alt:new _("",{nonNullable:!0})})}};var Un=["box"],zn=["overlay"],Qn=["image"],tt=i=>`${i}px`,gn=(()=>{class i{src=g("");aspectRatio=g(16/9);width=g(null);height=g(null);cropChange=U();boxRef=re("box");get box(){let e=this.boxRef();if(!e)throw"box error";return e.nativeElement}overlayRef=re("overlay");get overlay(){let e=this.overlayRef();if(!e)throw"overlay error";return e.nativeElement}imageRef=re("image");get image(){let e=this.imageRef();if(!e)throw"error";return e.nativeElement}#e=null;#t=null;loaded=!1;ngOnInit(){let e=this.src();this.image.onload=()=>{this.loaded=!0,this.setInitialPosition()},this.box.addEventListener("touchstart",this.startUpdate.bind(this),{passive:!0}),this.image.src=e}setInitialPosition(){let{clientWidth:e,clientHeight:t}=this.image,n=this.width()??Math.round(e/2),a=this.height()??n;this.aspectRatio&&(a=Math.round(n/this.aspectRatio()));let l=(e-n)/2,v=(t-a)/2;this.#e=new Ue(l,v),this.updateDimensions(n,a)}updateDimensions(e,t,n=!0){if(!this.#e)return;let{offsetLeft:a,offsetTop:l}=this.box,{clientWidth:v,clientHeight:b}=this.image,j=Math.min(e,v-this.#e.x),be=Math.min(t,b-this.#e.y),J=n?Math.round(Math.max(0,this.#e.x)):a,ee=n?Math.round(Math.max(0,this.#e.y)):l;this.box.style.left=tt(J),this.box.style.top=tt(ee),this.box.style.width=tt(j),this.box.style.height=tt(be),this.updateOverlay(J,ee,j,be);let ye=new DOMRect(J,ee,j,be);this.fireChangeEvent(ye)}updateOverlay(e,t,n,a){this.overlay.style.clipPath=`polygon( 0% 0%, 0% 100%, 100% 100%, 100% 0%, ${e}px 0%, ${e}px ${t}px, ${e+n}px ${t}px, ${e+n}px ${t+a}px, ${e}px ${t+a}px, ${e}px ${t}px, ${e}px 0%, 0% 0% - )`}fireChangeEvent(e){let t=this.image,n=t.naturalWidth/t.clientWidth;e=new DOMRect(Math.round(e.x*n),Math.round(e.y*n),Math.round(e.width*n),Math.round(e.height*n)),this.cropChange.emit(e)}stopUpdate(){this.#t=null,this.box.classList.remove("nwse","nesw")}startUpdate(e){if(!(e.target instanceof HTMLElement))return;let t="touches"in e?e.touches[0].pageX:e.pageX,n="touches"in e?e.touches[0].pageY:e.pageY;this.#t=new Ue(t,n)}moveCropArea(e){if(!this.#t)return;let t="touches"in e?e.touches[0].pageX:e.pageX,n="touches"in e?e.touches[0].pageY:e.pageY,a=t-this.#t.x,l=n-this.#t.y,v=this.box,b=this.image,{offsetLeft:j,offsetTop:be,offsetWidth:J,offsetHeight:ee}=v,ye=Math.min(Math.max(0,j+a),b.clientWidth-J),st=Math.min(Math.max(0,be+l),b.clientHeight-ee);v.style.left=`${ye}px`,v.style.top=`${st}px`,this.updateOverlay(ye,st,J,ee);let qn=new DOMRect(ye,st,J,ee);this.fireChangeEvent(qn),this.#t=new Ue(t,n)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-crop-image"]],viewQuery:function(t,n){t&1&&(te(n.boxRef,Un,5),te(n.overlayRef,zn,5),te(n.imageRef,Qn,5)),t&2&&Ae(3)},hostBindings:function(t,n){t&1&&f("mouseup",function(){return n.stopUpdate()},!1,Se)("touchend",function(){return n.stopUpdate()},!1,Se)("mousedown",function(l){return n.startUpdate(l)})("mousemove",function(l){return n.moveCropArea(l)},!1,Se)("touchmove",function(l){return n.moveCropArea(l)},!1,Se)},inputs:{src:[1,"src"],aspectRatio:[1,"aspectRatio"],width:[1,"width"],height:[1,"height"]},outputs:{cropChange:"cropChange"},decls:9,vars:1,consts:[["image",""],["box",""],["overlay",""],[1,"crop-wrapper"],["alt","imagem para recorte",1,"crop-image",3,"src"],[1,"crop-container"],[1,"crop-box"],[1,"crop-outline"],[1,"crop-overlay"]],template:function(t,n){t&1&&(s(0,"div",3),p(1,"img",4,0),s(3,"div",5)(4,"div",6,1),p(6,"div",7),r(),p(7,"div",8,2),r()()),t&2&&(c(),u("src",n.src(),Ot))},styles:["[_nghost-%COMP%]{display:block;touch-action:none;position:relative}[_nghost-%COMP%] .crop-wrapper[_ngcontent-%COMP%]{position:relative;font-size:0}[_nghost-%COMP%] .crop-container[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;z-index:2;top:0}[_nghost-%COMP%] .crop-image[_ngcontent-%COMP%]{display:block;max-width:100%;width:100%}[_nghost-%COMP%] .crop-box[_ngcontent-%COMP%]{position:absolute;border:1px dashed #ccc;box-sizing:border-box;background-color:transparent;cursor:move;z-index:3}[_nghost-%COMP%] .crop-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:#00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;z-index:1}"],changeDetection:0})}return i})();function Cn({width:i,height:o}){let e=document.createElement("canvas");e.width=i,e.height=o;let t=e.getContext("2d");if(!t)throw"context error";return t}function xn(i,o){let e=Cn(i),t=Cn(o);return e.drawImage(i,0,0),t.drawImage(e.canvas,o.x,o.y,o.width,o.height,0,0,o.width,o.height),t.canvas.toDataURL("image/webp")}var yn=(()=>{class i{ref=m(qi);data=m(Ui);src;form=new et;position=new DOMRect;constructor(){this.src=URL.createObjectURL(this.data)}onCropChange(e){this.position=e}onCrop(){return Mt(this,null,function*(){let e=yield fn(this.src),t=xn(e,this.position);this.form.patchValue({src:t}),this.ref.close(this.form.getRawValue())})}close(){this.ref.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-select-cover"]],decls:8,vars:3,consts:[[3,"cropChange","src","width"],[3,"submit","formGroup"],["matInput","","formControlName","alt"],["mat-icon-button",""],["name","menu/crop"]],template:function(t,n){t&1&&(s(0,"devmx-crop-image",0),f("cropChange",function(l){return n.onCropChange(l)}),r(),s(1,"form",1),f("submit",function(){return n.onCrop()}),s(2,"mat-form-field")(3,"mat-label"),d(4,"Texto alternativo"),r(),p(5,"input",2),r(),s(6,"button",3),p(7,"devmx-icon",4),r()()),t&2&&(u("src",n.src)("width",980),c(),u("formGroup",n.form))},dependencies:[P,ze,Q,Y,I,A,K,de,pe,ce,gn,Me,xe,w,L,R],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:1em}"],changeDetection:0})}return i})();var it=class{dialog;constructor(o){this.dialog=o}open(o){return this.dialog.open(yn,{data:o}).closed.pipe(B(1))}};function En(){return{provide:it,deps:[zi]}}var dt=(i,o)=>o.id;function Yn(i,o){i&1&&p(0,"devmx-icon",5)}function Kn(i,o){i&1&&p(0,"devmx-icon",6)}function Wn(i,o){i&1&&p(0,"devmx-icon",7)}function Xn(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,Yn,1,0,"devmx-icon",5)(4,Kn,1,0,"devmx-icon",6)(5,Wn,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}function Zn(i,o){i&1&&p(0,"devmx-icon",5)}function Jn(i,o){i&1&&p(0,"devmx-icon",6)}function eo(i,o){i&1&&p(0,"devmx-icon",7)}function to(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,Zn,1,0,"devmx-icon",5)(4,Jn,1,0,"devmx-icon",6)(5,eo,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}function io(i,o){i&1&&p(0,"devmx-icon",5)}function no(i,o){i&1&&p(0,"devmx-icon",6)}function oo(i,o){i&1&&p(0,"devmx-icon",7)}function ao(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,io,1,0,"devmx-icon",5)(4,no,1,0,"devmx-icon",6)(5,oo,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}var wn=(()=>{class i{ref=m(Yi);data=m(Ki);static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-rsvp"]],decls:24,vars:13,consts:[["mat-dialog-title",""],["mat-subheader",""],["align","end"],["mat-button","","mat-dialog-close",""],["matListItemTitle",""],["matListItemMeta","","name","emoji/happy"],["matListItemMeta","","name","emoji/confused"],["matListItemMeta","","name","emoji/crying"]],template:function(t,n){if(t&1&&(s(0,"h2",0),d(1),r(),s(2,"mat-list"),Ne(3),z(4,"rsvpByStatus"),s(5,"h3",1),d(6),r(),T(7,Xn,6,2,"mat-list-item",null,dt),Ne(9),z(10,"rsvpByStatus"),s(11,"h3",1),d(12),r(),T(13,to,6,2,"mat-list-item",null,dt),Ne(15),z(16,"rsvpByStatus"),s(17,"h3",1),d(18),r(),T(19,ao,6,2,"mat-list-item",null,dt),r(),s(21,"mat-dialog-actions",2)(22,"button",3),d(23,"Fechar"),r()()),t&2){c(),F("",n.data.length," respostas");let a=$e(4,4,n.data,"confirmed");c(5),F("",a.length," confirmado(s)"),c(),D(a);let l=$e(10,7,n.data,"maybe");c(5),F("",l.length," em d\xFAvida"),c(),D(l);let v=$e(16,10,n.data,"declined");c(5),F("",v.length," declinado(s)"),c(),D(v)}},dependencies:[Zi,Ji,Xi,w,Ce,ge,he,_e,ve,ue,fe,R,Gi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em;font-weight:500}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin:0 1em;opacity:.6}"],changeDetection:0})}return i})();var Z=class{dialog;constructor(o){this.dialog=o}open(o){return this.dialog.open(wn,{data:o}).afterClosed().pipe(B(1))}};function Tn(){return{provide:Z,deps:[Wi]}}var Dn=[_n(),tn(),En(),Tn(),Qi()];var kn=i=>xi(m(X),i.params);function ro(i,o){i&1&&(s(0,"th",15),d(1,"T\xEDtulo do evento"),r())}function so(i,o){if(i&1&&(s(0,"td",16),d(1),r()),i&2){let e=o.$implicit;c(),q(e.title)}}function lo(i,o){i&1&&(s(0,"th",15),d(1,"Criado por"),r())}function mo(i,o){if(i&1&&(s(0,"td",16),d(1),r()),i&2){let e=o.$implicit;c(),q(e.owner.displayName)}}function co(i,o){i&1&&p(0,"th",15)}function po(i,o){if(i&1){let e=k();s(0,"td",16)(1,"button",17),f("click",function(){let n=y(e).$implicit,a=M(2);return E(a.openDelete(n))}),p(2,"devmx-icon",18),r()()}}function uo(i,o){i&1&&p(0,"tr",19)}function fo(i,o){i&1&&p(0,"tr",20)}function ho(i,o){if(i&1){let e=k();s(0,"table",5),$(1,6),x(2,ro,2,0,"th",7)(3,so,2,1,"td",8),H(),$(4,9),x(5,lo,2,0,"th",7)(6,mo,2,1,"td",8),H(),$(7,10),x(8,co,1,0,"th",7)(9,po,3,0,"td",8),H(),x(10,uo,1,0,"tr",11)(11,fo,1,0,"tr",12),r(),s(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(n){y(e);let a=M();return E(a.onPageChange(n))}),r()()}if(i&2){let e=o,t=M();u("dataSource",e.data),c(10),u("matHeaderRowDef",t.columns),c(),u("matRowDefColumns",t.columns),c(2),u("size",10)("items",e.items)}}var Pn=(()=>{class i{router=m(le);route=m(se);dialogFacade=m(Je);eventFacade=m(X);rsvpFacade=m(We);eventRSVP=m(Z);selectUser=m(Fe);#e=li(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(ne(n=>n?n.id:"")),t=this.route.queryParams.pipe(ne(({page:n,size:a,title:l,format:v,date:b})=>({page:n,size:a,title:l,format:v,date:b})));Re([e,t]).pipe(W()).subscribe(this.onQueryParams),this.eventFacade.loadAll()}setUserRef(e=null){this.#e.update(e)}onQueryParams=([e,t])=>{let{page:n,size:a,title:l,format:v,date:b}=t,j={title:l,format:v,date:b,owner:e};this.eventFacade.setParams({page:n,size:a,filter:j}),this.eventFacade.load()};openSelectUser(){this.selectUser.open({onlyRole:"leader",multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}openRSVP(e){this.rsvpFacade.load(e),this.rsvpFacade.response$.pipe(oe(1),B(1)).subscribe(t=>{t&&this.eventRSVP.open(t)})}openDelete({id:e,title:t}){this.dialogFacade.confirm(`Confirme que deseja apagar o evento ${t}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.eventFacade.delete(e)})}onSearchChange(e=""){this.eventFacade.setFilter({title:e}),this.eventFacade.loadAll()}onPageChange({page:e,size:t}){let n={page:e,size:t};this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-manage-events"]],decls:10,vars:4,consts:[[1,"events-card"],[1,"events-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(t,n){if(t&1&&(s(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),d(3,"Eventos"),r(),s(4,"div")(5,"button",2),f("click",function(){return n.openSelectUser()}),p(6,"devmx-icon",3),r(),s(7,"devmx-search-field",4),f("searchChange",function(l){return n.onSearchChange(l)}),r()()(),x(8,ho,14,5),z(9,"async"),r()),t&2){let a;c(7),u("debounce",1e3),c(),O((a=Be(9,2,n.eventFacade.response$))?8:-1,a)}},dependencies:[Ge,w,L,en,Xe,un,nn,an,mn,rn,on,cn,sn,ln,pn,dn,Ze,Di,Pi,Oi,ki,R,Yt],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .events-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .events-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .events-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return i})();var _o=(i,o)=>o.id,vo=()=>[lt,hi,L,Si,import("./chunk-SZNPDBBQ.js").then(i=>i.EventCardComponent),Xe,R,import("./chunk-QQ3DFMVY.js").then(i=>i.AsyncPipe)],go=i=>["/","evento",i];function Co(i,o){if(i&1){let e=k();s(0,"devmx-event-card",3)(1,"button",7),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.openRSVP(n.id))}),p(2,"devmx-icon",8),r(),s(3,"a",9),p(4,"devmx-icon",10),r(),s(5,"a",11),p(6,"devmx-icon",12),r(),s(7,"button",13),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.copyEvent(n))}),p(8,"devmx-icon",14),r(),s(9,"button",15),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.deleteEvent(n))}),p(10,"devmx-icon",16),r()()}if(i&2){let e=o.$implicit;u("data",e),c(3),u("routerLink",qt(3,go,e.id)),c(2),u("routerLink",e.id)}}function xo(i,o){i&1&&(s(0,"div",4)(1,"h2"),d(2,"N\xE3o temos nada aqui..."),r(),s(3,"h3"),d(4," Siga nessa dire\xE7\xE3o "),p(5,"devmx-icon",17)(6,"br"),d(7," at\xE9 encontrar o bot\xE3o com um "),p(8,"devmx-icon",18)(9,"br"),d(10," e cadastre suas eventos. "),p(11,"devmx-icon",19),r()()),i&2&&(c(5),u("size",32),c(3),u("size",32),c(3),u("size",32))}function Mo(i,o){if(i&1){let e=k();s(0,"div",2),T(1,Co,11,5,"devmx-event-card",3,_o),r(),x(3,xo,12,3,"div",4),p(4,"div",5),s(5,"footer")(6,"devmx-paginator",6),f("pageChange",function(n){y(e);let a=M(2);return E(a.onPageChange(n))}),r()()}if(i&2){let e=o;c(),D(e.data),c(2),O(e.items?-1:3),c(3),u("size",10)("items",e.items)}}function bo(i,o){if(i&1&&(x(0,Mo,7,3),z(1,"async")),i&2){let e,t=M();O((e=Be(1,1,t.eventFacade.response$))?0:-1,e)}}function yo(i,o){i&1&&(s(0,"div",2),p(1,"devmx-skeleton",20)(2,"devmx-skeleton",20)(3,"devmx-skeleton",20),r()),i&2&&(c(),u("rows",3),c(),u("rows",2),c(),u("rows",3))}var On=(()=>{class i{router=m(le);route=m(se);dialogFacade=m(Je);authFacade=m(Fi);eventFacade=m(X);rsvpFacade=m(We);eventRSVP=m(Z);constructor(){let e=this.authFacade.auth$.pipe(bt(n=>!!n),ne(({id:n})=>n)),t=this.route.queryParams.pipe(ne(({page:n,size:a,title:l,format:v,date:b})=>({page:n,size:a,title:l,format:v,date:b})));Re([e,t]).pipe(W()).subscribe(this.onQueryParams)}onQueryParams=([e,t])=>{let{page:n,size:a,title:l,format:v,date:b}=t,j={title:l,format:v,date:b,owner:e};this.eventFacade.setParams({page:n,size:a,filter:j}),this.eventFacade.loadMyEvents()};openRSVP(e){this.rsvpFacade.load(e),this.rsvpFacade.response$.pipe(oe(1),B(1)).subscribe(t=>{t&&this.eventRSVP.open(t)})}copyEvent(e){this.dialogFacade.prompt("Qual nome do evento?",e.title,!0).subscribe(t=>{t&&this.eventFacade.copy(xt(Ct({},e),{title:t})).subscribe(({id:n})=>{this.router.navigate([n],{relativeTo:this.route})})})}deleteEvent({id:e,title:t}){this.dialogFacade.confirm(`Confirme que deseja apagar ${t}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.eventFacade.delete(e)})}onPageChange({page:e,size:t}){let n={page:e,size:t};this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-my-events"]],decls:6,vars:0,consts:[["mat-fab","","routerLink","novo",1,"tertiary-fab","top","right"],["name","plus"],[1,"events-container"],[3,"data"],[1,"no-events-yet"],[1,"spacer"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Lista de presen\xE7a","matTooltipPosition","before",3,"click"],["name","doc/check"],["mat-icon-button","","matTooltip","P\xE1gina p\xFAblica","matTooltipPosition","above",3,"routerLink"],["name","software/web-info"],["mat-icon-button","","matTooltip","Editar evento","matTooltipPosition","above",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Copiar evento","matTooltipPosition","above",3,"click"],["name","doc/copy"],["type","button","mat-icon-button","","matTooltip","Apagar evento","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"],[3,"rows"]],template:function(t,n){t&1&&(s(0,"a",0),p(1,"devmx-icon",1),r(),x(2,bo,2,3)(3,yo,4,3),Bt(4,2,vo,null,3),$t(500))},dependencies:[Ge,lt,w,fi,wi,Ti,R],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return i})();var Eo=(i,o)=>o.value;function So(i,o){if(i&1){let e=k();s(0,"mat-list-item"),p(1,"devmx-icon",3),s(2,"span",4),d(3),r(),s(4,"button",5),f("click",function(){let n=y(e).$index,a=M(2);return E(a.form.presentations.removeAt(n))}),p(5,"devmx-icon",6),r()()}if(i&2){let e=o.$implicit;c(3),q(e.value.title)}}function wo(i,o){if(i&1&&(s(0,"mat-list",1)(1,"p",2),d(2,"Palestras"),r(),T(3,So,6,1,"mat-list-item",null,Eo),r()),i&2){let e=M();c(3),D(e.form.presentations.controls)}}var Fn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-presentations"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[[3,"formGroup"],["formArrayName","presentations"],["mat-subheader",""],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(t,n){t&1&&($(0,0),x(1,wo,5,0,"mat-list",1),H()),t&2&&(u("formGroup",n.form),c(),O(n.form.presentations.controls.length?1:-1))},dependencies:[P,I,A,Qe,ge,he,_e,Ke,ve,ue,fe,w,L,R],encapsulation:2,changeDetection:0})}return i})();var To=(i,o)=>o.value;function Do(i,o){if(i&1){let e=k();s(0,"mat-list-item"),p(1,"devmx-icon",3),s(2,"span",4),d(3),r(),s(4,"button",5),f("click",function(){let n=y(e).$index,a=M(2);return E(a.form.leaders.removeAt(n))}),p(5,"devmx-icon",6),r()()}if(i&2){let e=o.$implicit;c(3),q(e.value.displayName)}}function ko(i,o){if(i&1&&(s(0,"mat-list",1)(1,"p",2),d(2,"L\xEDderes"),r(),T(3,Do,6,1,"mat-list-item",null,To),r()),i&2){let e=M();c(3),D(e.form.leaders.controls)}}var Vn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-leaders"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[[3,"formGroup"],["formArrayName","leaders"],["mat-subheader",""],["matListItemIcon","","name","user-circle"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(t,n){t&1&&($(0,0),x(1,ko,5,0,"mat-list",1),H()),t&2&&(u("formGroup",n.form),c(),O(n.form.leaders.controls.length?1:-1))},dependencies:[P,I,A,Qe,ge,he,_e,Ke,ve,ue,fe,w,L,R],encapsulation:2,changeDetection:0})}return i})();var Rn=(()=>{class i{container=m(S);get form(){return this.container.control}destroyRef=m(kt);saving=g.required();autoSave=U();ngAfterViewInit(){this.form.valueChanges.pipe(W(this.destroyRef),yt(4e3),oe(1)).subscribe(()=>this.autoSave.emit(this.form.getRawValue()))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-auto-save-button"]],inputs:{saving:[1,"saving"]},outputs:{autoSave:"autoSave"},features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[["mat-flat-button","",3,"disabled"]],template:function(t,n){t&1&&(s(0,"button",0),d(1),r()),t&2&&(u("disabled",n.saving()),c(),F(" ",n.saving()?"Salvando...":"Salvar"," "))},dependencies:[P,w,Ce],encapsulation:2,changeDetection:0})}return i})();var Ro=["panelTemplate"],Io=(i,o)=>o.value;function Ao(i,o){if(i&1){let e=k();s(0,"mat-option",3),f("onSelectionChange",function(){let n=y(e).$implicit,a=M(2);return E(a._selectValue(n.value))}),d(1),r()}if(i&2){let e=o.$implicit;u("value",e.value),c(),q(e.label)}}function Lo(i,o){if(i&1&&(s(0,"div",1),T(1,Ao,2,2,"mat-option",2,Io),r()),i&2){let e=M();u("id",e.panelId)("@panel",void 0),we("aria-label",e.ariaLabel()||null)("aria-labelledby",e._getAriaLabelledby()),c(),D(e._timeOptions)}}var No=[[["","matTimepickerToggleIcon",""]]],Bo=["[matTimepickerToggleIcon]"];function $o(i,o){i&1&&(wt(),s(0,"svg",1),p(1,"path",2),r())}var Ho=/^(\d*\.?\d+)\s*(h|hour|hours|m|min|minute|minutes|s|second|seconds)?$/i,Ln=new St("MAT_TIMEPICKER_CONFIG");function In(i){let o;if(i===null)return null;if(typeof i=="number")o=i;else{if(i.trim().length===0)return null;let e=i.match(Ho),t=e?parseFloat(e[1]):null,n=e?.[2]?.toLowerCase()||null;if(!e||t===null||isNaN(t))return null;n==="h"||n==="hour"||n==="hours"?o=t*3600:n==="m"||n==="min"||n==="minute"||n==="minutes"?o=t*60:o=t}return o}function Go(i,o,e,t,n){let a=[],l=i.compareTime(e,t)<1?e:t;for(;i.sameDate(l,e)&&i.compareTime(l,t)<1&&i.isValid(l);)a.push({value:l,label:i.format(l,o.display.timeOptionLabel)}),l=i.addSeconds(l,n);return a}var ft=(()=>{class i{_overlay=m(Mi);_dir=m(ii,{optional:!0});_viewContainerRef=m(It);_injector=m(Tt);_defaultConfig=m(Ln,{optional:!0});_dateAdapter=m(Oe,{optional:!0});_dateFormats=m(pt,{optional:!0});_isOpen=ae(!1);_activeDescendant=ae(null);_input;_overlayRef=null;_portal=null;_optionsCacheKey=null;_localeChanges;_onOpenRender=null;_panelTemplate=re.required("panelTemplate");_timeOptions=[];_options=At(me);_keyManager=new ei(this._options,this._injector).withHomeAndEnd(!0).withPageUpDown(!0).withVerticalOrientation(!0);interval=g(In(this._defaultConfig?.interval||null),{transform:In});options=g(null);isOpen=this._isOpen.asReadonly();selected=U();opened=U();closed=U();activeDescendant=this._activeDescendant.asReadonly();panelId=m(ti).getId("mat-timepicker-panel-");disableRipple=g(this._defaultConfig?.disableRipple??!1,{transform:Te});ariaLabel=g(null,{alias:"aria-label"});ariaLabelledby=g(null,{alias:"aria-labelledby"});constructor(){m(Ee).nativeElement.setAttribute("mat-timepicker-panel-id",this.panelId),this._handleLocaleChanges(),this._handleInputStateChanges(),this._keyManager.change.subscribe(()=>this._activeDescendant.set(this._keyManager.activeItem?.id||null))}open(){if(!this._input||(this._input.focus(),this._isOpen()))return;this._isOpen.set(!0),this._generateOptions();let e=this._getOverlayRef();e.updateSize({width:this._input.getOverlayOrigin().nativeElement.offsetWidth}),this._portal??=new _i(this._panelTemplate(),this._viewContainerRef),e.attach(this._portal),this._onOpenRender?.destroy(),this._onOpenRender=Pt(()=>{let t=this._options();this._syncSelectedState(this._input.value(),t,t[0]),this._onOpenRender=null},{injector:this._injector}),this.opened.emit()}close(){this._isOpen()&&(this._isOpen.set(!1),this._overlayRef?.detach(),this.closed.emit())}registerInput(e){this._input&&this._input,this._input=e}ngOnDestroy(){this._keyManager.destroy(),this._localeChanges.unsubscribe(),this._onOpenRender?.destroy(),this._overlayRef?.dispose()}_selectValue(e){this.close(),this.selected.emit({value:e,source:this}),this._input.focus()}_getAriaLabelledby(){return this.ariaLabel()?null:this.ariaLabelledby()||this._input?._getLabelId()||null}_getOverlayRef(){if(this._overlayRef)return this._overlayRef;let e=this._overlay.position().flexibleConnectedTo(this._input.getOverlayOrigin()).withFlexibleDimensions(!1).withPush(!1).withTransformOriginOn(".mat-timepicker-panel").withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-timepicker-above"}]);return this._overlayRef=this._overlay.create({positionStrategy:e,scrollStrategy:this._overlay.scrollStrategies.reposition(),direction:this._dir||"ltr",hasBackdrop:!1}),this._overlayRef.keydownEvents().subscribe(t=>{this._handleKeydown(t)}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let n=Jt(t),a=this._input.getOverlayOrigin().nativeElement;n&&n!==a&&!a.contains(n)&&this.close()}),this._overlayRef}_generateOptions(){let e=this.interval()??1800,t=this.options();if(t!==null)this._timeOptions=t;else{let n=this._dateAdapter,a=this._dateFormats.display.timeInput,l=this._input.min()||n.setTime(n.today(),0,0,0),v=this._input.max()||n.setTime(n.today(),23,59,0),b=e+"/"+n.format(l,a)+"/"+n.format(v,a);b!==this._optionsCacheKey&&(this._optionsCacheKey=b,this._timeOptions=Go(n,this._dateFormats,l,v,e))}}_syncSelectedState(e,t,n){let a=!1;for(let l of t)e&&this._dateAdapter.sameTime(l.value,e)?(l.select(!1),ut(l,"center"),He(()=>this._keyManager.setActiveItem(l)),a=!0):l.deselect(!1);a||(n?(He(()=>this._keyManager.setActiveItem(n)),ut(n,"center")):He(()=>this._keyManager.setActiveItem(-1)))}_handleKeydown(e){let t=e.keyCode;if(t===9)this.close();else if(t===27&&!ct(e))e.preventDefault(),this.close();else if(t===13)e.preventDefault(),this._keyManager.activeItem?this._selectValue(this._keyManager.activeItem.value):this.close();else{let n=this._keyManager.activeItem;this._keyManager.onKeydown(e);let a=this._keyManager.activeItem;a&&a!==n&&ut(a,"nearest")}}_handleLocaleChanges(){this._localeChanges=this._dateAdapter.localeChanges.subscribe(()=>{this._optionsCacheKey=null,this.isOpen()&&this._generateOptions()})}_handleInputStateChanges(){ke(()=>{let e=this._input?.value(),t=this._options();this._isOpen()&&this._syncSelectedState(e,t,null)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["mat-timepicker"]],viewQuery:function(t,n){t&1&&(te(n._panelTemplate,Ro,5),te(n._options,me,5)),t&2&&Ae(2)},inputs:{interval:[1,"interval"],options:[1,"options"],disableRipple:[1,"disableRipple"],ariaLabel:[1,"aria-label","ariaLabel"],ariaLabelledby:[1,"aria-labelledby","ariaLabelledby"]},outputs:{selected:"selected",opened:"opened",closed:"closed"},exportAs:["matTimepicker"],features:[V([{provide:oi,useExisting:i}])],decls:2,vars:0,consts:[["panelTemplate",""],["role","listbox",1,"mat-timepicker-panel",3,"id"],[3,"value"],[3,"onSelectionChange","value"]],template:function(t,n){t&1&&x(0,Lo,3,4,"ng-template",null,0,Ut)},dependencies:[me],styles:["mat-timepicker{display:none}.mat-timepicker-panel{width:100%;max-height:256px;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;border-bottom-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-timepicker-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-timepicker-container-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){.mat-timepicker-panel{outline:solid 1px}}.mat-timepicker-above .mat-timepicker-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small))}.mat-timepicker-input:read-only{cursor:pointer}@media(forced-colors: active){.mat-timepicker-toggle-default-icon{color:CanvasText}}"],encapsulation:2,data:{animation:[Wt("panel",[Zt("void",Pe({opacity:0,transform:"scaleY(0.8)"})),mt(":enter",[Xt([je("0.03s linear",Pe({opacity:1})),je("0.12s cubic-bezier(0, 0, 0.2, 1)",Pe({transform:"scaleY(1)"}))])]),mt(":leave",[je("0.075s linear",Pe({opacity:0}))])])]},changeDetection:0})}return i})();function ut(i,o){i._getHostElement().scrollIntoView({block:o,inline:o})}var Nn=(()=>{class i{_elementRef=m(Ee);_document=m(Qt);_dateAdapter=m(Oe,{optional:!0});_dateFormats=m(pt,{optional:!0});_formField=m(ri,{optional:!0});_onChange;_onTouched;_validatorOnChange;_accessorDisabled=ae(!1);_localeSubscription;_timepickerSubscription;_validator;_lastValueValid=!0;_lastValidDate=null;_ariaActiveDescendant=De(()=>{let e=this.timepicker(),t=e.isOpen(),n=e.activeDescendant();return t&&n?n:null});_ariaExpanded=De(()=>this.timepicker().isOpen()+"");_ariaControls=De(()=>{let e=this.timepicker();return e.isOpen()?e.panelId:null});value=Lt(null);timepicker=g.required({alias:"matTimepicker"});min=g(null,{alias:"matTimepickerMin",transform:e=>this._transformDateInput(e)});max=g(null,{alias:"matTimepickerMax",transform:e=>this._transformDateInput(e)});disabled=De(()=>this.disabledInput()||this._accessorDisabled());disabledInput=g(!1,{transform:Te,alias:"disabled"});constructor(){this._validator=this._getValidator(),this._respondToValueChanges(),this._respondToMinMaxChanges(),this._registerTimepicker(),this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._hasFocus()||this._formatValue(this.value())}),this.getOverlayOrigin().nativeElement.addEventListener("click",this._handleClick)}writeValue(e){this.value.set(this._dateAdapter.getValidDateOrNull(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._accessorDisabled.set(e)}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._validatorOnChange=e}getOverlayOrigin(){return this._formField?.getConnectedOverlayOrigin()||this._elementRef}focus(){this._elementRef.nativeElement.focus()}ngOnDestroy(){this.getOverlayOrigin().nativeElement.removeEventListener("click",this._handleClick),this._timepickerSubscription?.unsubscribe(),this._localeSubscription.unsubscribe()}_getLabelId(){return this._formField?.getLabelId()||null}_handleClick=()=>{this.timepicker().open()};_handleInput(e){let t=this.value(),n=this._dateAdapter.parseTime(e,this._dateFormats.parse.timeInput),a=!this._dateAdapter.sameTime(n,t);!n||a||e&&!t?this._assignUserSelection(n,!0):this._validatorOnChange?.()}_handleBlur(){let e=this.value();e&&this._isValid(e)&&this._formatValue(e),this._onTouched?.()}_handleKeydown(e){this.timepicker().isOpen()||(e.keyCode===27&&!ct(e)&&this.value()!==null?(e.preventDefault(),this.value.set(null),this._formatValue(null)):(e.keyCode===40||e.keyCode===38)&&!this.disabled()&&(e.preventDefault(),this.timepicker().open()))}_respondToValueChanges(){ke(()=>{let e=this._dateAdapter.deserialize(this.value()),t=this._lastValueValid;this._lastValueValid=this._isValid(e),this._hasFocus()||this._formatValue(e),e&&this._lastValueValid&&(this._lastValidDate=e),t!==this._lastValueValid&&this._validatorOnChange?.()})}_registerTimepicker(){ke(()=>{let e=this.timepicker();e.registerInput(this),e.closed.subscribe(()=>this._onTouched?.()),e.selected.subscribe(({value:t})=>{this._dateAdapter.sameTime(t,this.value())||(this._assignUserSelection(t,!0),this._formatValue(t))})})}_respondToMinMaxChanges(){ke(()=>{this.min(),this.max(),this._validatorOnChange?.()})}_assignUserSelection(e,t){if(e==null||!this._isValid(e))this.value.set(e);else{let n=this._dateAdapter,a=n.getValidDateOrNull(this._lastValidDate||this.value()),l=n.getHours(e),v=n.getMinutes(e),b=n.getSeconds(e);this.value.set(a?n.setTime(a,l,v,b):e)}t&&this._onChange?.(this.value())}_formatValue(e){e=this._dateAdapter.getValidDateOrNull(e),this._elementRef.nativeElement.value=e==null?"":this._dateAdapter.format(e,this._dateFormats.display.timeInput)}_isValid(e){return!e||this._dateAdapter.isValid(e)}_transformDateInput(e){let t=typeof e=="string"?this._dateAdapter.parseTime(e,this._dateFormats.parse.timeInput):this._dateAdapter.deserialize(e);return t&&this._dateAdapter.isValid(t)?t:null}_hasFocus(){return this._document.activeElement===this._elementRef.nativeElement}_getValidator(){return C.compose([()=>this._lastValueValid?null:{matTimepickerParse:{text:this._elementRef.nativeElement.value}},e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this.min();return!n||!t||this._dateAdapter.compareTime(n,t)<=0?null:{matTimepickerMin:{min:n,actual:t}}},e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this.max();return!n||!t||this._dateAdapter.compareTime(n,t)>=0?null:{matTimepickerMax:{max:n,actual:t}}}])}static \u0275fac=function(t){return new(t||i)};static \u0275dir=Rt({type:i,selectors:[["input","matTimepicker",""]],hostAttrs:["role","combobox","type","text","aria-haspopup","listbox",1,"mat-timepicker-input"],hostVars:5,hostBindings:function(t,n){if(t&1&&f("blur",function(){return n._handleBlur()})("input",function(l){return n._handleInput(l.target.value)})("keydown",function(l){return n._handleKeydown(l)}),t&2){let a;Ht("disabled",n.disabled()),we("aria-activedescendant",n._ariaActiveDescendant())("aria-expanded",n._ariaExpanded())("aria-controls",n._ariaControls())("mat-timepicker-id",(a=n.timepicker())==null?null:a.panelId)}},inputs:{value:[1,"value"],timepicker:[1,"matTimepicker","timepicker"],min:[1,"matTimepickerMin","min"],max:[1,"matTimepickerMax","max"],disabledInput:[1,"disabled","disabledInput"]},outputs:{value:"valueChange"},exportAs:["matTimepickerInput"],features:[V([{provide:mi,useExisting:i,multi:!0},{provide:ci,useExisting:i,multi:!0},{provide:Vi,useExisting:i}])]})}return i})(),ht=(()=>{class i{_defaultConfig=m(Ln,{optional:!0});_defaultTabIndex=(()=>{let e=m(new Dt("tabindex"),{optional:!0}),t=Number(e);return isNaN(t)?null:t})();timepicker=g.required({alias:"for"});ariaLabel=g(void 0,{alias:"aria-label"});disabled=g(!1,{transform:Te,alias:"disabled"});tabIndex=g(this._defaultTabIndex);disableRipple=g(this._defaultConfig?.disableRipple??!1,{transform:Te});_open(e){this.timepicker()&&!this.disabled()&&(this.timepicker().open(),e.stopPropagation())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["mat-timepicker-toggle"]],hostAttrs:[1,"mat-timepicker-toggle"],hostVars:1,hostBindings:function(t,n){t&1&&f("click",function(l){return n._open(l)}),t&2&&we("tabindex",null)},inputs:{timepicker:[1,"for","timepicker"],ariaLabel:[1,"aria-label","ariaLabel"],disabled:[1,"disabled"],tabIndex:[1,"tabIndex"],disableRipple:[1,"disableRipple"]},exportAs:["matTimepickerToggle"],ngContentSelectors:Bo,decls:3,vars:5,consts:[["mat-icon-button","","type","button","aria-haspopup","listbox",3,"disabled","disableRipple"],["height","24px","width","24px","viewBox","0 -960 960 960","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-timepicker-toggle-default-icon"],["d","m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z"]],template:function(t,n){t&1&&(Gt(No),s(0,"button",0),jt(1,0,null,$o,2,0),r()),t&2&&(u("disabled",n.disabled())("disableRipple",n.disableRipple()),we("aria-label",n.ariaLabel())("aria-expanded",n.timepicker().isOpen())("tabindex",n.disabled()?-1:n.tabIndex()))},dependencies:[L],encapsulation:2,changeDetection:0})}return i})(),Bn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Vt({type:i});static \u0275inj=Et({imports:[ft,ht,vi]})}return i})();var nt=class extends G{constructor(){super({date:new _,time:new _})}};var $n=(()=>{class i extends Q{elRef;ngControl;get control(){return this.ngControl.control}_adapter=m(Oe);form=new nt;constructor(e,t,n){super(e,t,!0),this.elRef=t,this.ngControl=n,this.ngControl.valueAccessor=this,this._adapter.setLocale("pt-BR")}ngAfterViewInit(){this.control.value||this.control.setValue(new Date);let{value:e}=this.control;this.form.setValue({date:e,time:e},{emitEvent:!1});let{date:t,time:n}=this.form.controls;t.valueChanges.subscribe(a=>{let{value:l}=this.control;!a||!l||(l.setDate(a.getDate()),l.setMonth(a.getMonth()),l.setFullYear(a.getFullYear()),this.control.setValue(l))}),n.valueChanges.subscribe(a=>{let{value:l}=this.control;!a||!l||(l.setHours(a.getHours()),l.setMinutes(a.getMinutes()),l.setSeconds(a.getSeconds()),this.control.setValue(l))})}static \u0275fac=function(t){return new(t||i)(Ie(Ft),Ie(Ee),Ie(pi,10))};static \u0275cmp=h({type:i,selectors:[["devmx-date-time-picker"]],features:[V([ni()]),Nt],decls:15,vars:5,consts:[["datepicker",""],["timepicker",""],[1,"date-time-picker",3,"formGroup"],[1,"date-picker"],["matInput","","formControlName","date","readonly","",3,"focus","matDatepicker"],["matSuffix","",3,"for"],[1,"time-picker"],["matInput","","formControlName","time","readonly","",3,"matTimepicker"]],template:function(t,n){if(t&1){let a=k();s(0,"section",2)(1,"mat-form-field",3)(2,"mat-label"),d(3,"Dia"),r(),s(4,"input",4),f("focus",function(){y(a);let v=Le(6);return E(v.open())}),r(),p(5,"mat-datepicker",null,0)(7,"mat-datepicker-toggle",5),r(),s(8,"mat-form-field",6)(9,"mat-label"),d(10,"Hor\xE1rio"),r(),p(11,"input",7)(12,"mat-timepicker",null,1)(14,"mat-timepicker-toggle",5),r()()}if(t&2){let a=Le(6),l=Le(13);u("formGroup",n.form),c(4),u("matDatepicker",a),c(3),u("for",a),c(4),u("matTimepicker",l),c(3),u("for",l)}},dependencies:[P,Q,Y,I,A,K,Hi,Ni,Bi,$i,Bn,ft,Nn,ht,de,pe,ce,qe,Me,xe],styles:["[_nghost-%COMP%]{display:inline-flex}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%]{display:inline-flex;flex-flow:row wrap;gap:1em}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]{width:10em}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%] .time-picker[_ngcontent-%COMP%]{width:8em}"],changeDetection:0})}return i})();var Hn=(i,o)=>o.value;function qo(i,o){if(i&1&&(s(0,"mat-option",5),d(1),r()),i&2){let e=o.$implicit;u("value",e.value),c(),F(" ",e.viewValue," ")}}function Uo(i,o){if(i&1&&(s(0,"mat-option",5),d(1),r()),i&2){let e=o.$implicit;u("value",e.value),c(),F(" ",e.viewValue," ")}}var Gn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-form"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:42,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","title","placeholder","Ex.: 10\xBA Meetup Maring\xE1 Agile","autofocus",""],["formControlName","date"],[1,"event-duration"],["formControlName","duration"],[3,"value"],[1,"event-max"],["matInput","","type","number","min","0","formControlName","maxAttendees"],["matTextSuffix",""],[1,"event-format"],["formControlName","format",3,"selectionChange"],[1,"event-address"],["matInput","","formControlName","address"],[1,"event-link"],["matInput","","type","url","formControlName","link"]],template:function(t,n){t&1&&($(0,0),s(1,"mat-form-field")(2,"mat-label"),d(3,"Qual nome ou t\xEDtulo do evento?"),r(),p(4,"input",1),s(5,"mat-error"),d(6,"Obrigat\xF3rio"),r()(),s(7,"div"),p(8,"devmx-date-time-picker",2),s(9,"mat-form-field",3)(10,"mat-label"),d(11,"Dura\xE7\xE3o"),r(),s(12,"mat-select",4),T(13,qo,2,2,"mat-option",5,Hn),r(),s(15,"mat-error"),d(16,"Obrigat\xF3rio"),r()(),s(17,"mat-form-field",6)(18,"mat-label"),d(19,"M\xE1ximo de"),r(),p(20,"input",7),s(21,"span",8),d(22,"pessoas"),r()()(),s(23,"div")(24,"mat-form-field",9)(25,"mat-label"),d(26,"Formato"),r(),s(27,"mat-select",10),f("selectionChange",function(){return n.form.onFormatChange(n.form.format.value)}),T(28,Uo,2,2,"mat-option",5,Hn),r(),s(30,"mat-error"),d(31,"Obrigat\xF3rio"),r()(),s(32,"mat-form-field",11)(33,"mat-label"),d(34,"Endere\xE7o"),r(),p(35,"input",12),r(),s(36,"mat-form-field",13)(37,"mat-label"),d(38,"Link"),r(),p(39,"input",14),s(40,"mat-error"),d(41,"Obrigat\xF3rio"),r()()(),H()),t&2&&(u("formGroup",n.form),c(13),D(n.form.durations),c(15),D(n.form.formats))},dependencies:[P,Q,di,Y,I,ui,A,K,de,pe,ce,ai,qe,Me,xe,Ei,yi,me,$n],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2em}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] div[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .event-duration[_ngcontent-%COMP%]{max-width:8em}[_nghost-%COMP%] .event-max[_ngcontent-%COMP%]{max-width:10em}[_nghost-%COMP%] .event-format[_ngcontent-%COMP%]{max-width:9em}[_nghost-%COMP%] .event-address[_ngcontent-%COMP%]{flex:2}[_nghost-%COMP%] .event-link[_ngcontent-%COMP%]{width:18em}"],changeDetection:0})}return i})();var _t=class extends G{constructor(o){super({id:new _("",{nonNullable:!0,validators:[C.required]}),title:new _("",{nonNullable:!0,validators:[C.required]}),description:new _("",{nonNullable:!0}),cover:new _("",{nonNullable:!0})}),o&&this.patchValue(o)}},ot=class extends Ye{constructor(){super([])}add(o){this.push(new _t(o))}};var vt=class extends G{get name(){return this.controls.name.value}constructor(o){super({id:new _("",{nonNullable:!0,validators:[C.required]}),name:new _("",{nonNullable:!0,validators:[C.required]}),displayName:new _("",{nonNullable:!0,validators:[C.required]})}),o&&this.patchValue(o)}},at=class extends Ye{constructor(){super([])}add(o){this.push(new vt(o))}};function jn(i,o,e){let t=Ci(i,e?.in);return isNaN(o)?gi(e?.in||i,NaN):(o&&t.setDate(t.getDate()+o),t)}var rt=class i extends G{formats=[{value:"in-person",viewValue:"Presencial"},{value:"mixed",viewValue:"H\xEDbrido"},{value:"online",viewValue:"Online"}];durations=si.map(o=>({value:o,viewValue:o}));static date=jn(new Date,10);constructor(){i.date.setHours(19),i.date.setMinutes(0),i.date.setSeconds(0),super({id:new _("",{nonNullable:!0}),title:new _("",{nonNullable:!0,validators:[C.required]}),date:new _(i.date,{nonNullable:!0,validators:[C.required],updateOn:"blur"}),duration:new _("2h",{nonNullable:!0,validators:[C.required]}),maxAttendees:new _(0,{nonNullable:!0}),description:new _("",{nonNullable:!0,validators:[C.required]}),presentations:new ot,leaders:new at,format:new _("",{nonNullable:!0,validators:[C.required]}),address:new _("",{nonNullable:!0}),link:new _("",{nonNullable:!0}),visible:new _(!0,{nonNullable:!0})}),this.controls.link?.disable()}get format(){return this.controls.format}get presentations(){return this.controls.presentations}get leaders(){return this.controls.leaders}patch(o){if(this.patchValue(o),o.presentations){this.presentations.clear();for(let e of o.presentations)this.presentations.add(e)}if(o.leaders){this.leaders.clear();for(let e of o.leaders)this.leaders.add(e)}}onFormatChange(o=""){!this.controls.address||!this.controls.link||(o==="in-person"&&(this.controls.address.enable(),this.controls.address.addValidators(C.required),this.controls.link.disable(),this.controls.link.removeValidators(C.required)),o==="online"&&(this.controls.address.disable(),this.controls.address.removeValidators(C.required),this.controls.link.enable(),this.controls.address.addValidators(C.required)),o==="mixed"&&(this.controls.link.enable(),this.controls.link.addValidators(C.required),this.controls.address.enable(),this.controls.address.addValidators(C.required)),this.updateValueAndValidity({onlySelf:!0}))}getErrors(){let o={};for(let e in this.controls){let t=e;o[e]=this.controls[t]?.errors??null}return o}};var gt=(()=>{class i{router=m(le);route=m(se);cdr=m(zt);eventFacade=m(X);messageService=m(bi);searchLeaders=m(Fe);selectPresentation=m(hn);selectUser=m(Fe);saving=ae(!1);form=new rt;constructor(){this.route.data.pipe(W()).subscribe(({event:e})=>{if(e&&e.id&&(this.form.patch(e),this.form.onFormatChange(e.format),e.date)){let t=new Date(e.date);this.form.patchValue({date:t})}})}selectPresentations(){this.selectPresentation.open({multiple:!0}).pipe(B(1)).subscribe(t=>{if(t){for(let n of t)this.form.presentations.add(n);this.cdr.detectChanges()}})}selectLeaders(){this.selectUser.open({multiple:!0,onlyRole:"leader"}).pipe(B(1)).subscribe(t=>{if(t){for(let n of t)this.form.leaders.add(n);this.cdr.detectChanges()}})}onSubmit(){if(this.form.valid){this.saving.set(!0);let e=this.form.getRawValue();e.id?this.eventFacade.update(e).subscribe(this.#e):this.eventFacade.create(e).subscribe(this.#e)}else this.form.markAllAsTouched()}#e=e=>{this.saving.set(!1),this.messageService.open({message:"Armazenando informa\xE7\xF5es"}),e&&e.id&&this.router.navigate(["..",e.id],{relativeTo:this.route})};static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-event"]],decls:17,vars:5,consts:[["id","event",3,"submit","formGroup"],[1,"event-tab-content"],["label","Descreva o evento","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"minRows","maxRows"],[3,"content"],["type","button","mat-button","",3,"click"],[1,"event-footer"],[3,"autoSave","saving"]],template:function(t,n){if(t&1&&(s(0,"form",0),f("submit",function(){return n.onSubmit()}),s(1,"section",1),p(2,"devmx-admin-event-form"),r(),s(3,"section",1)(4,"devmx-markdown-toolbar"),p(5,"devmx-markdown-editor",2)(6,"devmx-markdown-view",3),r()(),s(7,"section",1),p(8,"devmx-admin-event-leaders"),s(9,"button",4),f("click",function(){return n.selectLeaders()}),d(10," Adicionar outras pessoas "),r()(),s(11,"section",1),p(12,"devmx-admin-event-presentations"),s(13,"button",4),f("click",function(){return n.selectPresentations()}),d(14," Procure por conte\xFAdos "),r()(),s(15,"footer",5)(16,"devmx-auto-save-button",6),f("autoSave",function(){return n.onSubmit()}),r()()()),t&2){let a;u("formGroup",n.form),c(5),u("minRows",20)("maxRows",40),c(),u("content",(a=n.form.value.description)!==null&&a!==void 0?a:""),c(10),u("saving",n.saving())}},dependencies:[P,ze,Y,I,A,K,Ai,Ii,Li,Fn,Rn,Vn,Gn,w,Ce,Ri,Ze],styles:["[_nghost-%COMP%]{padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-tab[_ngcontent-%COMP%]{border-radius:.8em;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-tab-content[_ngcontent-%COMP%]{padding:2em 1em}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return i})();var xm=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Dn,component:vn,children:[{path:"meus-eventos/novo",data:{breadcrumb:"Novo"},title:"Novo evento",component:gt},{path:"meus-eventos/:id",data:{breadcrumb:i=>i.event.title},title:"Meu evento",resolve:{event:kn},component:gt},{path:"meus-eventos",data:{breadcrumb:"Meus eventos"},title:"Meus eventos",component:On},{path:"gerenciar-eventos",data:{breadcrumb:"Gerenciar eventos"},title:"Gerenciar eventos",canActivate:[ji("director","manager","staff")],component:Pn},{path:"",pathMatch:"prefix",redirectTo:"meus-eventos"}]}];export{vn as EventFeatureAdminComponent,xm as eventFeatureAdminRoutes}; + )`}fireChangeEvent(e){let t=this.image,n=t.naturalWidth/t.clientWidth;e=new DOMRect(Math.round(e.x*n),Math.round(e.y*n),Math.round(e.width*n),Math.round(e.height*n)),this.cropChange.emit(e)}stopUpdate(){this.#t=null,this.box.classList.remove("nwse","nesw")}startUpdate(e){if(!(e.target instanceof HTMLElement))return;let t="touches"in e?e.touches[0].pageX:e.pageX,n="touches"in e?e.touches[0].pageY:e.pageY;this.#t=new Ue(t,n)}moveCropArea(e){if(!this.#t)return;let t="touches"in e?e.touches[0].pageX:e.pageX,n="touches"in e?e.touches[0].pageY:e.pageY,a=t-this.#t.x,l=n-this.#t.y,v=this.box,b=this.image,{offsetLeft:j,offsetTop:be,offsetWidth:J,offsetHeight:ee}=v,ye=Math.min(Math.max(0,j+a),b.clientWidth-J),st=Math.min(Math.max(0,be+l),b.clientHeight-ee);v.style.left=`${ye}px`,v.style.top=`${st}px`,this.updateOverlay(ye,st,J,ee);let qn=new DOMRect(ye,st,J,ee);this.fireChangeEvent(qn),this.#t=new Ue(t,n)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-crop-image"]],viewQuery:function(t,n){t&1&&(te(n.boxRef,Un,5),te(n.overlayRef,zn,5),te(n.imageRef,Qn,5)),t&2&&Ae(3)},hostBindings:function(t,n){t&1&&f("mouseup",function(){return n.stopUpdate()},!1,Se)("touchend",function(){return n.stopUpdate()},!1,Se)("mousedown",function(l){return n.startUpdate(l)})("mousemove",function(l){return n.moveCropArea(l)},!1,Se)("touchmove",function(l){return n.moveCropArea(l)},!1,Se)},inputs:{src:[1,"src"],aspectRatio:[1,"aspectRatio"],width:[1,"width"],height:[1,"height"]},outputs:{cropChange:"cropChange"},decls:9,vars:1,consts:[["image",""],["box",""],["overlay",""],[1,"crop-wrapper"],["alt","imagem para recorte",1,"crop-image",3,"src"],[1,"crop-container"],[1,"crop-box"],[1,"crop-outline"],[1,"crop-overlay"]],template:function(t,n){t&1&&(s(0,"div",3),p(1,"img",4,0),s(3,"div",5)(4,"div",6,1),p(6,"div",7),r(),p(7,"div",8,2),r()()),t&2&&(c(),u("src",n.src(),Ot))},styles:["[_nghost-%COMP%]{display:block;touch-action:none;position:relative}[_nghost-%COMP%] .crop-wrapper[_ngcontent-%COMP%]{position:relative;font-size:0}[_nghost-%COMP%] .crop-container[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;z-index:2;top:0}[_nghost-%COMP%] .crop-image[_ngcontent-%COMP%]{display:block;max-width:100%;width:100%}[_nghost-%COMP%] .crop-box[_ngcontent-%COMP%]{position:absolute;border:1px dashed #ccc;box-sizing:border-box;background-color:transparent;cursor:move;z-index:3}[_nghost-%COMP%] .crop-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:#00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;z-index:1}"],changeDetection:0})}return i})();function Cn({width:i,height:o}){let e=document.createElement("canvas");e.width=i,e.height=o;let t=e.getContext("2d");if(!t)throw"context error";return t}function xn(i,o){let e=Cn(i),t=Cn(o);return e.drawImage(i,0,0),t.drawImage(e.canvas,o.x,o.y,o.width,o.height,0,0,o.width,o.height),t.canvas.toDataURL("image/webp")}var yn=(()=>{class i{ref=m(qi);data=m(Ui);src;form=new et;position=new DOMRect;constructor(){this.src=URL.createObjectURL(this.data)}onCropChange(e){this.position=e}onCrop(){return Mt(this,null,function*(){let e=yield fn(this.src),t=xn(e,this.position);this.form.patchValue({src:t}),this.ref.close(this.form.getRawValue())})}close(){this.ref.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-select-cover"]],decls:8,vars:3,consts:[[3,"cropChange","src","width"],[3,"submit","formGroup"],["matInput","","formControlName","alt"],["mat-icon-button",""],["name","menu/crop"]],template:function(t,n){t&1&&(s(0,"devmx-crop-image",0),f("cropChange",function(l){return n.onCropChange(l)}),r(),s(1,"form",1),f("submit",function(){return n.onCrop()}),s(2,"mat-form-field")(3,"mat-label"),d(4,"Texto alternativo"),r(),p(5,"input",2),r(),s(6,"button",3),p(7,"devmx-icon",4),r()()),t&2&&(u("src",n.src)("width",980),c(),u("formGroup",n.form))},dependencies:[P,ze,Q,Y,I,A,K,de,pe,ce,gn,Me,xe,w,L,R],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:1em}"],changeDetection:0})}return i})();var it=class{dialog;constructor(o){this.dialog=o}open(o){return this.dialog.open(yn,{data:o}).closed.pipe(B(1))}};function En(){return{provide:it,deps:[zi]}}var dt=(i,o)=>o.id;function Yn(i,o){i&1&&p(0,"devmx-icon",5)}function Kn(i,o){i&1&&p(0,"devmx-icon",6)}function Wn(i,o){i&1&&p(0,"devmx-icon",7)}function Xn(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,Yn,1,0,"devmx-icon",5)(4,Kn,1,0,"devmx-icon",6)(5,Wn,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}function Zn(i,o){i&1&&p(0,"devmx-icon",5)}function Jn(i,o){i&1&&p(0,"devmx-icon",6)}function eo(i,o){i&1&&p(0,"devmx-icon",7)}function to(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,Zn,1,0,"devmx-icon",5)(4,Jn,1,0,"devmx-icon",6)(5,eo,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}function io(i,o){i&1&&p(0,"devmx-icon",5)}function no(i,o){i&1&&p(0,"devmx-icon",6)}function oo(i,o){i&1&&p(0,"devmx-icon",7)}function ao(i,o){if(i&1&&(s(0,"mat-list-item")(1,"span",4),d(2),r(),x(3,io,1,0,"devmx-icon",5)(4,no,1,0,"devmx-icon",6)(5,oo,1,0,"devmx-icon",7),r()),i&2){let e,t=o.$implicit;c(2),F(" ",t.user.displayName," "),c(),O((e=t.status)==="confirmed"?3:e==="maybe"?4:e==="declined"?5:-1)}}var wn=(()=>{class i{ref=m(Yi);data=m(Ki);static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-rsvp"]],decls:24,vars:13,consts:[["mat-dialog-title",""],["mat-subheader",""],["align","end"],["mat-button","","mat-dialog-close",""],["matListItemTitle",""],["matListItemMeta","","name","emoji/happy"],["matListItemMeta","","name","emoji/confused"],["matListItemMeta","","name","emoji/crying"]],template:function(t,n){if(t&1&&(s(0,"h2",0),d(1),r(),s(2,"mat-list"),Ne(3),z(4,"rsvpByStatus"),s(5,"h3",1),d(6),r(),T(7,Xn,6,2,"mat-list-item",null,dt),Ne(9),z(10,"rsvpByStatus"),s(11,"h3",1),d(12),r(),T(13,to,6,2,"mat-list-item",null,dt),Ne(15),z(16,"rsvpByStatus"),s(17,"h3",1),d(18),r(),T(19,ao,6,2,"mat-list-item",null,dt),r(),s(21,"mat-dialog-actions",2)(22,"button",3),d(23,"Fechar"),r()()),t&2){c(),F("",n.data.length," respostas");let a=$e(4,4,n.data,"confirmed");c(5),F("",a.length," confirmado(s)"),c(),D(a);let l=$e(10,7,n.data,"maybe");c(5),F("",l.length," em d\xFAvida"),c(),D(l);let v=$e(16,10,n.data,"declined");c(5),F("",v.length," declinado(s)"),c(),D(v)}},dependencies:[Zi,Ji,Xi,w,Ce,ge,he,_e,ve,ue,fe,R,Gi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.6em;font-weight:500}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin:0 1em;opacity:.6}"],changeDetection:0})}return i})();var Z=class{dialog;constructor(o){this.dialog=o}open(o){return this.dialog.open(wn,{data:o}).afterClosed().pipe(B(1))}};function Tn(){return{provide:Z,deps:[Wi]}}var Dn=[_n(),tn(),En(),Tn(),Qi()];var kn=i=>xi(m(X),i.params);function ro(i,o){i&1&&(s(0,"th",15),d(1,"T\xEDtulo do evento"),r())}function so(i,o){if(i&1&&(s(0,"td",16),d(1),r()),i&2){let e=o.$implicit;c(),q(e.title)}}function lo(i,o){i&1&&(s(0,"th",15),d(1,"Criado por"),r())}function mo(i,o){if(i&1&&(s(0,"td",16),d(1),r()),i&2){let e=o.$implicit;c(),q(e.owner.displayName)}}function co(i,o){i&1&&p(0,"th",15)}function po(i,o){if(i&1){let e=k();s(0,"td",16)(1,"button",17),f("click",function(){let n=y(e).$implicit,a=M(2);return E(a.openDelete(n))}),p(2,"devmx-icon",18),r()()}}function uo(i,o){i&1&&p(0,"tr",19)}function fo(i,o){i&1&&p(0,"tr",20)}function ho(i,o){if(i&1){let e=k();s(0,"table",5),$(1,6),x(2,ro,2,0,"th",7)(3,so,2,1,"td",8),H(),$(4,9),x(5,lo,2,0,"th",7)(6,mo,2,1,"td",8),H(),$(7,10),x(8,co,1,0,"th",7)(9,po,3,0,"td",8),H(),x(10,uo,1,0,"tr",11)(11,fo,1,0,"tr",12),r(),s(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(n){y(e);let a=M();return E(a.onPageChange(n))}),r()()}if(i&2){let e=o,t=M();u("dataSource",e.data),c(10),u("matHeaderRowDef",t.columns),c(),u("matRowDefColumns",t.columns),c(2),u("size",10)("items",e.items)}}var Pn=(()=>{class i{router=m(le);route=m(se);dialogFacade=m(Je);eventFacade=m(X);rsvpFacade=m(We);eventRSVP=m(Z);selectUser=m(Fe);#e=li(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(ne(n=>n?n.id:"")),t=this.route.queryParams.pipe(ne(({page:n,size:a,title:l,format:v,date:b})=>({page:n,size:a,title:l,format:v,date:b})));Re([e,t]).pipe(W()).subscribe(this.onQueryParams),this.eventFacade.loadAll()}setUserRef(e=null){this.#e.update(e)}onQueryParams=([e,t])=>{let{page:n,size:a,title:l,format:v,date:b}=t,j={title:l,format:v,date:b,owner:e};this.eventFacade.setParams({page:n,size:a,filter:j}),this.eventFacade.load()};openSelectUser(){this.selectUser.open({onlyRole:"leader",multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}openRSVP(e){this.rsvpFacade.load(e),this.rsvpFacade.response$.pipe(oe(1),B(1)).subscribe(t=>{t&&this.eventRSVP.open(t)})}openDelete({id:e,title:t}){this.dialogFacade.confirm(`Confirme que deseja apagar o evento ${t}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.eventFacade.delete(e)})}onSearchChange(e=""){this.eventFacade.setFilter({title:e}),this.eventFacade.loadAll()}onPageChange({page:e,size:t}){let n={page:e,size:t};this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-manage-events"]],decls:10,vars:4,consts:[[1,"events-card"],[1,"events-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(t,n){if(t&1&&(s(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),d(3,"Eventos"),r(),s(4,"div")(5,"button",2),f("click",function(){return n.openSelectUser()}),p(6,"devmx-icon",3),r(),s(7,"devmx-search-field",4),f("searchChange",function(l){return n.onSearchChange(l)}),r()()(),x(8,ho,14,5),z(9,"async"),r()),t&2){let a;c(7),u("debounce",1e3),c(),O((a=Be(9,2,n.eventFacade.response$))?8:-1,a)}},dependencies:[Ge,w,L,en,Xe,un,nn,an,mn,rn,on,cn,sn,ln,pn,dn,Ze,Di,Pi,Oi,ki,R,Yt],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .events-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .events-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .events-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return i})();var _o=(i,o)=>o.id,vo=()=>[lt,hi,L,Si,import("./chunk-INB6BZQB.js").then(i=>i.EventCardComponent),Xe,R,import("./chunk-NAKSAAO7.js").then(i=>i.AsyncPipe)],go=i=>["/","evento",i];function Co(i,o){if(i&1){let e=k();s(0,"devmx-event-card",3)(1,"button",7),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.openRSVP(n.id))}),p(2,"devmx-icon",8),r(),s(3,"a",9),p(4,"devmx-icon",10),r(),s(5,"a",11),p(6,"devmx-icon",12),r(),s(7,"button",13),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.copyEvent(n))}),p(8,"devmx-icon",14),r(),s(9,"button",15),f("click",function(){let n=y(e).$implicit,a=M(3);return E(a.deleteEvent(n))}),p(10,"devmx-icon",16),r()()}if(i&2){let e=o.$implicit;u("data",e),c(3),u("routerLink",qt(3,go,e.id)),c(2),u("routerLink",e.id)}}function xo(i,o){i&1&&(s(0,"div",4)(1,"h2"),d(2,"N\xE3o temos nada aqui..."),r(),s(3,"h3"),d(4," Siga nessa dire\xE7\xE3o "),p(5,"devmx-icon",17)(6,"br"),d(7," at\xE9 encontrar o bot\xE3o com um "),p(8,"devmx-icon",18)(9,"br"),d(10," e cadastre suas eventos. "),p(11,"devmx-icon",19),r()()),i&2&&(c(5),u("size",32),c(3),u("size",32),c(3),u("size",32))}function Mo(i,o){if(i&1){let e=k();s(0,"div",2),T(1,Co,11,5,"devmx-event-card",3,_o),r(),x(3,xo,12,3,"div",4),p(4,"div",5),s(5,"footer")(6,"devmx-paginator",6),f("pageChange",function(n){y(e);let a=M(2);return E(a.onPageChange(n))}),r()()}if(i&2){let e=o;c(),D(e.data),c(2),O(e.items?-1:3),c(3),u("size",10)("items",e.items)}}function bo(i,o){if(i&1&&(x(0,Mo,7,3),z(1,"async")),i&2){let e,t=M();O((e=Be(1,1,t.eventFacade.response$))?0:-1,e)}}function yo(i,o){i&1&&(s(0,"div",2),p(1,"devmx-skeleton",20)(2,"devmx-skeleton",20)(3,"devmx-skeleton",20),r()),i&2&&(c(),u("rows",3),c(),u("rows",2),c(),u("rows",3))}var On=(()=>{class i{router=m(le);route=m(se);dialogFacade=m(Je);authFacade=m(Fi);eventFacade=m(X);rsvpFacade=m(We);eventRSVP=m(Z);constructor(){let e=this.authFacade.auth$.pipe(bt(n=>!!n),ne(({id:n})=>n)),t=this.route.queryParams.pipe(ne(({page:n,size:a,title:l,format:v,date:b})=>({page:n,size:a,title:l,format:v,date:b})));Re([e,t]).pipe(W()).subscribe(this.onQueryParams)}onQueryParams=([e,t])=>{let{page:n,size:a,title:l,format:v,date:b}=t,j={title:l,format:v,date:b,owner:e};this.eventFacade.setParams({page:n,size:a,filter:j}),this.eventFacade.loadMyEvents()};openRSVP(e){this.rsvpFacade.load(e),this.rsvpFacade.response$.pipe(oe(1),B(1)).subscribe(t=>{t&&this.eventRSVP.open(t)})}copyEvent(e){this.dialogFacade.prompt("Qual nome do evento?",e.title,!0).subscribe(t=>{t&&this.eventFacade.copy(xt(Ct({},e),{title:t})).subscribe(({id:n})=>{this.router.navigate([n],{relativeTo:this.route})})})}deleteEvent({id:e,title:t}){this.dialogFacade.confirm(`Confirme que deseja apagar ${t}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.eventFacade.delete(e)})}onPageChange({page:e,size:t}){let n={page:e,size:t};this.router.navigate([],{queryParams:n})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-my-events"]],decls:6,vars:0,consts:[["mat-fab","","routerLink","novo",1,"tertiary-fab","top","right"],["name","plus"],[1,"events-container"],[3,"data"],[1,"no-events-yet"],[1,"spacer"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Lista de presen\xE7a","matTooltipPosition","before",3,"click"],["name","doc/check"],["mat-icon-button","","matTooltip","P\xE1gina p\xFAblica","matTooltipPosition","above",3,"routerLink"],["name","software/web-info"],["mat-icon-button","","matTooltip","Editar evento","matTooltipPosition","above",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Copiar evento","matTooltipPosition","above",3,"click"],["name","doc/copy"],["type","button","mat-icon-button","","matTooltip","Apagar evento","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"],[3,"rows"]],template:function(t,n){t&1&&(s(0,"a",0),p(1,"devmx-icon",1),r(),x(2,bo,2,3)(3,yo,4,3),Bt(4,2,vo,null,3),$t(500))},dependencies:[Ge,lt,w,fi,wi,Ti,R],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .events-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .events-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-events-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return i})();var Eo=(i,o)=>o.value;function So(i,o){if(i&1){let e=k();s(0,"mat-list-item"),p(1,"devmx-icon",3),s(2,"span",4),d(3),r(),s(4,"button",5),f("click",function(){let n=y(e).$index,a=M(2);return E(a.form.presentations.removeAt(n))}),p(5,"devmx-icon",6),r()()}if(i&2){let e=o.$implicit;c(3),q(e.value.title)}}function wo(i,o){if(i&1&&(s(0,"mat-list",1)(1,"p",2),d(2,"Palestras"),r(),T(3,So,6,1,"mat-list-item",null,Eo),r()),i&2){let e=M();c(3),D(e.form.presentations.controls)}}var Fn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-presentations"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[[3,"formGroup"],["formArrayName","presentations"],["mat-subheader",""],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(t,n){t&1&&($(0,0),x(1,wo,5,0,"mat-list",1),H()),t&2&&(u("formGroup",n.form),c(),O(n.form.presentations.controls.length?1:-1))},dependencies:[P,I,A,Qe,ge,he,_e,Ke,ve,ue,fe,w,L,R],encapsulation:2,changeDetection:0})}return i})();var To=(i,o)=>o.value;function Do(i,o){if(i&1){let e=k();s(0,"mat-list-item"),p(1,"devmx-icon",3),s(2,"span",4),d(3),r(),s(4,"button",5),f("click",function(){let n=y(e).$index,a=M(2);return E(a.form.leaders.removeAt(n))}),p(5,"devmx-icon",6),r()()}if(i&2){let e=o.$implicit;c(3),q(e.value.displayName)}}function ko(i,o){if(i&1&&(s(0,"mat-list",1)(1,"p",2),d(2,"L\xEDderes"),r(),T(3,Do,6,1,"mat-list-item",null,To),r()),i&2){let e=M();c(3),D(e.form.leaders.controls)}}var Vn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-leaders"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[[3,"formGroup"],["formArrayName","leaders"],["mat-subheader",""],["matListItemIcon","","name","user-circle"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(t,n){t&1&&($(0,0),x(1,ko,5,0,"mat-list",1),H()),t&2&&(u("formGroup",n.form),c(),O(n.form.leaders.controls.length?1:-1))},dependencies:[P,I,A,Qe,ge,he,_e,Ke,ve,ue,fe,w,L,R],encapsulation:2,changeDetection:0})}return i})();var Rn=(()=>{class i{container=m(S);get form(){return this.container.control}destroyRef=m(kt);saving=g.required();autoSave=U();ngAfterViewInit(){this.form.valueChanges.pipe(W(this.destroyRef),yt(4e3),oe(1)).subscribe(()=>this.autoSave.emit(this.form.getRawValue()))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-auto-save-button"]],inputs:{saving:[1,"saving"]},outputs:{autoSave:"autoSave"},features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:2,vars:2,consts:[["mat-flat-button","",3,"disabled"]],template:function(t,n){t&1&&(s(0,"button",0),d(1),r()),t&2&&(u("disabled",n.saving()),c(),F(" ",n.saving()?"Salvando...":"Salvar"," "))},dependencies:[P,w,Ce],encapsulation:2,changeDetection:0})}return i})();var Ro=["panelTemplate"],Io=(i,o)=>o.value;function Ao(i,o){if(i&1){let e=k();s(0,"mat-option",3),f("onSelectionChange",function(){let n=y(e).$implicit,a=M(2);return E(a._selectValue(n.value))}),d(1),r()}if(i&2){let e=o.$implicit;u("value",e.value),c(),q(e.label)}}function Lo(i,o){if(i&1&&(s(0,"div",1),T(1,Ao,2,2,"mat-option",2,Io),r()),i&2){let e=M();u("id",e.panelId)("@panel",void 0),we("aria-label",e.ariaLabel()||null)("aria-labelledby",e._getAriaLabelledby()),c(),D(e._timeOptions)}}var No=[[["","matTimepickerToggleIcon",""]]],Bo=["[matTimepickerToggleIcon]"];function $o(i,o){i&1&&(wt(),s(0,"svg",1),p(1,"path",2),r())}var Ho=/^(\d*\.?\d+)\s*(h|hour|hours|m|min|minute|minutes|s|second|seconds)?$/i,Ln=new St("MAT_TIMEPICKER_CONFIG");function In(i){let o;if(i===null)return null;if(typeof i=="number")o=i;else{if(i.trim().length===0)return null;let e=i.match(Ho),t=e?parseFloat(e[1]):null,n=e?.[2]?.toLowerCase()||null;if(!e||t===null||isNaN(t))return null;n==="h"||n==="hour"||n==="hours"?o=t*3600:n==="m"||n==="min"||n==="minute"||n==="minutes"?o=t*60:o=t}return o}function Go(i,o,e,t,n){let a=[],l=i.compareTime(e,t)<1?e:t;for(;i.sameDate(l,e)&&i.compareTime(l,t)<1&&i.isValid(l);)a.push({value:l,label:i.format(l,o.display.timeOptionLabel)}),l=i.addSeconds(l,n);return a}var ft=(()=>{class i{_overlay=m(Mi);_dir=m(ii,{optional:!0});_viewContainerRef=m(It);_injector=m(Tt);_defaultConfig=m(Ln,{optional:!0});_dateAdapter=m(Oe,{optional:!0});_dateFormats=m(pt,{optional:!0});_isOpen=ae(!1);_activeDescendant=ae(null);_input;_overlayRef=null;_portal=null;_optionsCacheKey=null;_localeChanges;_onOpenRender=null;_panelTemplate=re.required("panelTemplate");_timeOptions=[];_options=At(me);_keyManager=new ei(this._options,this._injector).withHomeAndEnd(!0).withPageUpDown(!0).withVerticalOrientation(!0);interval=g(In(this._defaultConfig?.interval||null),{transform:In});options=g(null);isOpen=this._isOpen.asReadonly();selected=U();opened=U();closed=U();activeDescendant=this._activeDescendant.asReadonly();panelId=m(ti).getId("mat-timepicker-panel-");disableRipple=g(this._defaultConfig?.disableRipple??!1,{transform:Te});ariaLabel=g(null,{alias:"aria-label"});ariaLabelledby=g(null,{alias:"aria-labelledby"});constructor(){m(Ee).nativeElement.setAttribute("mat-timepicker-panel-id",this.panelId),this._handleLocaleChanges(),this._handleInputStateChanges(),this._keyManager.change.subscribe(()=>this._activeDescendant.set(this._keyManager.activeItem?.id||null))}open(){if(!this._input||(this._input.focus(),this._isOpen()))return;this._isOpen.set(!0),this._generateOptions();let e=this._getOverlayRef();e.updateSize({width:this._input.getOverlayOrigin().nativeElement.offsetWidth}),this._portal??=new _i(this._panelTemplate(),this._viewContainerRef),e.attach(this._portal),this._onOpenRender?.destroy(),this._onOpenRender=Pt(()=>{let t=this._options();this._syncSelectedState(this._input.value(),t,t[0]),this._onOpenRender=null},{injector:this._injector}),this.opened.emit()}close(){this._isOpen()&&(this._isOpen.set(!1),this._overlayRef?.detach(),this.closed.emit())}registerInput(e){this._input&&this._input,this._input=e}ngOnDestroy(){this._keyManager.destroy(),this._localeChanges.unsubscribe(),this._onOpenRender?.destroy(),this._overlayRef?.dispose()}_selectValue(e){this.close(),this.selected.emit({value:e,source:this}),this._input.focus()}_getAriaLabelledby(){return this.ariaLabel()?null:this.ariaLabelledby()||this._input?._getLabelId()||null}_getOverlayRef(){if(this._overlayRef)return this._overlayRef;let e=this._overlay.position().flexibleConnectedTo(this._input.getOverlayOrigin()).withFlexibleDimensions(!1).withPush(!1).withTransformOriginOn(".mat-timepicker-panel").withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-timepicker-above"}]);return this._overlayRef=this._overlay.create({positionStrategy:e,scrollStrategy:this._overlay.scrollStrategies.reposition(),direction:this._dir||"ltr",hasBackdrop:!1}),this._overlayRef.keydownEvents().subscribe(t=>{this._handleKeydown(t)}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let n=Jt(t),a=this._input.getOverlayOrigin().nativeElement;n&&n!==a&&!a.contains(n)&&this.close()}),this._overlayRef}_generateOptions(){let e=this.interval()??1800,t=this.options();if(t!==null)this._timeOptions=t;else{let n=this._dateAdapter,a=this._dateFormats.display.timeInput,l=this._input.min()||n.setTime(n.today(),0,0,0),v=this._input.max()||n.setTime(n.today(),23,59,0),b=e+"/"+n.format(l,a)+"/"+n.format(v,a);b!==this._optionsCacheKey&&(this._optionsCacheKey=b,this._timeOptions=Go(n,this._dateFormats,l,v,e))}}_syncSelectedState(e,t,n){let a=!1;for(let l of t)e&&this._dateAdapter.sameTime(l.value,e)?(l.select(!1),ut(l,"center"),He(()=>this._keyManager.setActiveItem(l)),a=!0):l.deselect(!1);a||(n?(He(()=>this._keyManager.setActiveItem(n)),ut(n,"center")):He(()=>this._keyManager.setActiveItem(-1)))}_handleKeydown(e){let t=e.keyCode;if(t===9)this.close();else if(t===27&&!ct(e))e.preventDefault(),this.close();else if(t===13)e.preventDefault(),this._keyManager.activeItem?this._selectValue(this._keyManager.activeItem.value):this.close();else{let n=this._keyManager.activeItem;this._keyManager.onKeydown(e);let a=this._keyManager.activeItem;a&&a!==n&&ut(a,"nearest")}}_handleLocaleChanges(){this._localeChanges=this._dateAdapter.localeChanges.subscribe(()=>{this._optionsCacheKey=null,this.isOpen()&&this._generateOptions()})}_handleInputStateChanges(){ke(()=>{let e=this._input?.value(),t=this._options();this._isOpen()&&this._syncSelectedState(e,t,null)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["mat-timepicker"]],viewQuery:function(t,n){t&1&&(te(n._panelTemplate,Ro,5),te(n._options,me,5)),t&2&&Ae(2)},inputs:{interval:[1,"interval"],options:[1,"options"],disableRipple:[1,"disableRipple"],ariaLabel:[1,"aria-label","ariaLabel"],ariaLabelledby:[1,"aria-labelledby","ariaLabelledby"]},outputs:{selected:"selected",opened:"opened",closed:"closed"},exportAs:["matTimepicker"],features:[V([{provide:oi,useExisting:i}])],decls:2,vars:0,consts:[["panelTemplate",""],["role","listbox",1,"mat-timepicker-panel",3,"id"],[3,"value"],[3,"onSelectionChange","value"]],template:function(t,n){t&1&&x(0,Lo,3,4,"ng-template",null,0,Ut)},dependencies:[me],styles:["mat-timepicker{display:none}.mat-timepicker-panel{width:100%;max-height:256px;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;border-bottom-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-timepicker-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-timepicker-container-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){.mat-timepicker-panel{outline:solid 1px}}.mat-timepicker-above .mat-timepicker-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small))}.mat-timepicker-input:read-only{cursor:pointer}@media(forced-colors: active){.mat-timepicker-toggle-default-icon{color:CanvasText}}"],encapsulation:2,data:{animation:[Wt("panel",[Zt("void",Pe({opacity:0,transform:"scaleY(0.8)"})),mt(":enter",[Xt([je("0.03s linear",Pe({opacity:1})),je("0.12s cubic-bezier(0, 0, 0.2, 1)",Pe({transform:"scaleY(1)"}))])]),mt(":leave",[je("0.075s linear",Pe({opacity:0}))])])]},changeDetection:0})}return i})();function ut(i,o){i._getHostElement().scrollIntoView({block:o,inline:o})}var Nn=(()=>{class i{_elementRef=m(Ee);_document=m(Qt);_dateAdapter=m(Oe,{optional:!0});_dateFormats=m(pt,{optional:!0});_formField=m(ri,{optional:!0});_onChange;_onTouched;_validatorOnChange;_accessorDisabled=ae(!1);_localeSubscription;_timepickerSubscription;_validator;_lastValueValid=!0;_lastValidDate=null;_ariaActiveDescendant=De(()=>{let e=this.timepicker(),t=e.isOpen(),n=e.activeDescendant();return t&&n?n:null});_ariaExpanded=De(()=>this.timepicker().isOpen()+"");_ariaControls=De(()=>{let e=this.timepicker();return e.isOpen()?e.panelId:null});value=Lt(null);timepicker=g.required({alias:"matTimepicker"});min=g(null,{alias:"matTimepickerMin",transform:e=>this._transformDateInput(e)});max=g(null,{alias:"matTimepickerMax",transform:e=>this._transformDateInput(e)});disabled=De(()=>this.disabledInput()||this._accessorDisabled());disabledInput=g(!1,{transform:Te,alias:"disabled"});constructor(){this._validator=this._getValidator(),this._respondToValueChanges(),this._respondToMinMaxChanges(),this._registerTimepicker(),this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._hasFocus()||this._formatValue(this.value())}),this.getOverlayOrigin().nativeElement.addEventListener("click",this._handleClick)}writeValue(e){this.value.set(this._dateAdapter.getValidDateOrNull(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._accessorDisabled.set(e)}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._validatorOnChange=e}getOverlayOrigin(){return this._formField?.getConnectedOverlayOrigin()||this._elementRef}focus(){this._elementRef.nativeElement.focus()}ngOnDestroy(){this.getOverlayOrigin().nativeElement.removeEventListener("click",this._handleClick),this._timepickerSubscription?.unsubscribe(),this._localeSubscription.unsubscribe()}_getLabelId(){return this._formField?.getLabelId()||null}_handleClick=()=>{this.timepicker().open()};_handleInput(e){let t=this.value(),n=this._dateAdapter.parseTime(e,this._dateFormats.parse.timeInput),a=!this._dateAdapter.sameTime(n,t);!n||a||e&&!t?this._assignUserSelection(n,!0):this._validatorOnChange?.()}_handleBlur(){let e=this.value();e&&this._isValid(e)&&this._formatValue(e),this._onTouched?.()}_handleKeydown(e){this.timepicker().isOpen()||(e.keyCode===27&&!ct(e)&&this.value()!==null?(e.preventDefault(),this.value.set(null),this._formatValue(null)):(e.keyCode===40||e.keyCode===38)&&!this.disabled()&&(e.preventDefault(),this.timepicker().open()))}_respondToValueChanges(){ke(()=>{let e=this._dateAdapter.deserialize(this.value()),t=this._lastValueValid;this._lastValueValid=this._isValid(e),this._hasFocus()||this._formatValue(e),e&&this._lastValueValid&&(this._lastValidDate=e),t!==this._lastValueValid&&this._validatorOnChange?.()})}_registerTimepicker(){ke(()=>{let e=this.timepicker();e.registerInput(this),e.closed.subscribe(()=>this._onTouched?.()),e.selected.subscribe(({value:t})=>{this._dateAdapter.sameTime(t,this.value())||(this._assignUserSelection(t,!0),this._formatValue(t))})})}_respondToMinMaxChanges(){ke(()=>{this.min(),this.max(),this._validatorOnChange?.()})}_assignUserSelection(e,t){if(e==null||!this._isValid(e))this.value.set(e);else{let n=this._dateAdapter,a=n.getValidDateOrNull(this._lastValidDate||this.value()),l=n.getHours(e),v=n.getMinutes(e),b=n.getSeconds(e);this.value.set(a?n.setTime(a,l,v,b):e)}t&&this._onChange?.(this.value())}_formatValue(e){e=this._dateAdapter.getValidDateOrNull(e),this._elementRef.nativeElement.value=e==null?"":this._dateAdapter.format(e,this._dateFormats.display.timeInput)}_isValid(e){return!e||this._dateAdapter.isValid(e)}_transformDateInput(e){let t=typeof e=="string"?this._dateAdapter.parseTime(e,this._dateFormats.parse.timeInput):this._dateAdapter.deserialize(e);return t&&this._dateAdapter.isValid(t)?t:null}_hasFocus(){return this._document.activeElement===this._elementRef.nativeElement}_getValidator(){return C.compose([()=>this._lastValueValid?null:{matTimepickerParse:{text:this._elementRef.nativeElement.value}},e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this.min();return!n||!t||this._dateAdapter.compareTime(n,t)<=0?null:{matTimepickerMin:{min:n,actual:t}}},e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this.max();return!n||!t||this._dateAdapter.compareTime(n,t)>=0?null:{matTimepickerMax:{max:n,actual:t}}}])}static \u0275fac=function(t){return new(t||i)};static \u0275dir=Rt({type:i,selectors:[["input","matTimepicker",""]],hostAttrs:["role","combobox","type","text","aria-haspopup","listbox",1,"mat-timepicker-input"],hostVars:5,hostBindings:function(t,n){if(t&1&&f("blur",function(){return n._handleBlur()})("input",function(l){return n._handleInput(l.target.value)})("keydown",function(l){return n._handleKeydown(l)}),t&2){let a;Ht("disabled",n.disabled()),we("aria-activedescendant",n._ariaActiveDescendant())("aria-expanded",n._ariaExpanded())("aria-controls",n._ariaControls())("mat-timepicker-id",(a=n.timepicker())==null?null:a.panelId)}},inputs:{value:[1,"value"],timepicker:[1,"matTimepicker","timepicker"],min:[1,"matTimepickerMin","min"],max:[1,"matTimepickerMax","max"],disabledInput:[1,"disabled","disabledInput"]},outputs:{value:"valueChange"},exportAs:["matTimepickerInput"],features:[V([{provide:mi,useExisting:i,multi:!0},{provide:ci,useExisting:i,multi:!0},{provide:Vi,useExisting:i}])]})}return i})(),ht=(()=>{class i{_defaultConfig=m(Ln,{optional:!0});_defaultTabIndex=(()=>{let e=m(new Dt("tabindex"),{optional:!0}),t=Number(e);return isNaN(t)?null:t})();timepicker=g.required({alias:"for"});ariaLabel=g(void 0,{alias:"aria-label"});disabled=g(!1,{transform:Te,alias:"disabled"});tabIndex=g(this._defaultTabIndex);disableRipple=g(this._defaultConfig?.disableRipple??!1,{transform:Te});_open(e){this.timepicker()&&!this.disabled()&&(this.timepicker().open(),e.stopPropagation())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["mat-timepicker-toggle"]],hostAttrs:[1,"mat-timepicker-toggle"],hostVars:1,hostBindings:function(t,n){t&1&&f("click",function(l){return n._open(l)}),t&2&&we("tabindex",null)},inputs:{timepicker:[1,"for","timepicker"],ariaLabel:[1,"aria-label","ariaLabel"],disabled:[1,"disabled"],tabIndex:[1,"tabIndex"],disableRipple:[1,"disableRipple"]},exportAs:["matTimepickerToggle"],ngContentSelectors:Bo,decls:3,vars:5,consts:[["mat-icon-button","","type","button","aria-haspopup","listbox",3,"disabled","disableRipple"],["height","24px","width","24px","viewBox","0 -960 960 960","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-timepicker-toggle-default-icon"],["d","m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z"]],template:function(t,n){t&1&&(Gt(No),s(0,"button",0),jt(1,0,null,$o,2,0),r()),t&2&&(u("disabled",n.disabled())("disableRipple",n.disableRipple()),we("aria-label",n.ariaLabel())("aria-expanded",n.timepicker().isOpen())("tabindex",n.disabled()?-1:n.tabIndex()))},dependencies:[L],encapsulation:2,changeDetection:0})}return i})(),Bn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Vt({type:i});static \u0275inj=Et({imports:[ft,ht,vi]})}return i})();var nt=class extends G{constructor(){super({date:new _,time:new _})}};var $n=(()=>{class i extends Q{elRef;ngControl;get control(){return this.ngControl.control}_adapter=m(Oe);form=new nt;constructor(e,t,n){super(e,t,!0),this.elRef=t,this.ngControl=n,this.ngControl.valueAccessor=this,this._adapter.setLocale("pt-BR")}ngAfterViewInit(){this.control.value||this.control.setValue(new Date);let{value:e}=this.control;this.form.setValue({date:e,time:e},{emitEvent:!1});let{date:t,time:n}=this.form.controls;t.valueChanges.subscribe(a=>{let{value:l}=this.control;!a||!l||(l.setDate(a.getDate()),l.setMonth(a.getMonth()),l.setFullYear(a.getFullYear()),this.control.setValue(l))}),n.valueChanges.subscribe(a=>{let{value:l}=this.control;!a||!l||(l.setHours(a.getHours()),l.setMinutes(a.getMinutes()),l.setSeconds(a.getSeconds()),this.control.setValue(l))})}static \u0275fac=function(t){return new(t||i)(Ie(Ft),Ie(Ee),Ie(pi,10))};static \u0275cmp=h({type:i,selectors:[["devmx-date-time-picker"]],features:[V([ni()]),Nt],decls:15,vars:5,consts:[["datepicker",""],["timepicker",""],[1,"date-time-picker",3,"formGroup"],[1,"date-picker"],["matInput","","formControlName","date","readonly","",3,"focus","matDatepicker"],["matSuffix","",3,"for"],[1,"time-picker"],["matInput","","formControlName","time","readonly","",3,"matTimepicker"]],template:function(t,n){if(t&1){let a=k();s(0,"section",2)(1,"mat-form-field",3)(2,"mat-label"),d(3,"Dia"),r(),s(4,"input",4),f("focus",function(){y(a);let v=Le(6);return E(v.open())}),r(),p(5,"mat-datepicker",null,0)(7,"mat-datepicker-toggle",5),r(),s(8,"mat-form-field",6)(9,"mat-label"),d(10,"Hor\xE1rio"),r(),p(11,"input",7)(12,"mat-timepicker",null,1)(14,"mat-timepicker-toggle",5),r()()}if(t&2){let a=Le(6),l=Le(13);u("formGroup",n.form),c(4),u("matDatepicker",a),c(3),u("for",a),c(4),u("matTimepicker",l),c(3),u("for",l)}},dependencies:[P,Q,Y,I,A,K,Hi,Ni,Bi,$i,Bn,ft,Nn,ht,de,pe,ce,qe,Me,xe],styles:["[_nghost-%COMP%]{display:inline-flex}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%]{display:inline-flex;flex-flow:row wrap;gap:1em}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]{width:10em}[_nghost-%COMP%] .date-time-picker[_ngcontent-%COMP%] .time-picker[_ngcontent-%COMP%]{width:8em}"],changeDetection:0})}return i})();var Hn=(i,o)=>o.value;function qo(i,o){if(i&1&&(s(0,"mat-option",5),d(1),r()),i&2){let e=o.$implicit;u("value",e.value),c(),F(" ",e.viewValue," ")}}function Uo(i,o){if(i&1&&(s(0,"mat-option",5),d(1),r()),i&2){let e=o.$implicit;u("value",e.value),c(),F(" ",e.viewValue," ")}}var Gn=(()=>{class i{container=m(S);get form(){return this.container.control}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-admin-event-form"]],features:[V([],[{provide:S,useFactory:()=>m(S,{skipSelf:!0})}])],decls:42,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","title","placeholder","Ex.: 10\xBA Meetup Maring\xE1 Agile","autofocus",""],["formControlName","date"],[1,"event-duration"],["formControlName","duration"],[3,"value"],[1,"event-max"],["matInput","","type","number","min","0","formControlName","maxAttendees"],["matTextSuffix",""],[1,"event-format"],["formControlName","format",3,"selectionChange"],[1,"event-address"],["matInput","","formControlName","address"],[1,"event-link"],["matInput","","type","url","formControlName","link"]],template:function(t,n){t&1&&($(0,0),s(1,"mat-form-field")(2,"mat-label"),d(3,"Qual nome ou t\xEDtulo do evento?"),r(),p(4,"input",1),s(5,"mat-error"),d(6,"Obrigat\xF3rio"),r()(),s(7,"div"),p(8,"devmx-date-time-picker",2),s(9,"mat-form-field",3)(10,"mat-label"),d(11,"Dura\xE7\xE3o"),r(),s(12,"mat-select",4),T(13,qo,2,2,"mat-option",5,Hn),r(),s(15,"mat-error"),d(16,"Obrigat\xF3rio"),r()(),s(17,"mat-form-field",6)(18,"mat-label"),d(19,"M\xE1ximo de"),r(),p(20,"input",7),s(21,"span",8),d(22,"pessoas"),r()()(),s(23,"div")(24,"mat-form-field",9)(25,"mat-label"),d(26,"Formato"),r(),s(27,"mat-select",10),f("selectionChange",function(){return n.form.onFormatChange(n.form.format.value)}),T(28,Uo,2,2,"mat-option",5,Hn),r(),s(30,"mat-error"),d(31,"Obrigat\xF3rio"),r()(),s(32,"mat-form-field",11)(33,"mat-label"),d(34,"Endere\xE7o"),r(),p(35,"input",12),r(),s(36,"mat-form-field",13)(37,"mat-label"),d(38,"Link"),r(),p(39,"input",14),s(40,"mat-error"),d(41,"Obrigat\xF3rio"),r()()(),H()),t&2&&(u("formGroup",n.form),c(13),D(n.form.durations),c(15),D(n.form.formats))},dependencies:[P,Q,di,Y,I,ui,A,K,de,pe,ce,ai,qe,Me,xe,Ei,yi,me,$n],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2em}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] div[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .event-duration[_ngcontent-%COMP%]{max-width:8em}[_nghost-%COMP%] .event-max[_ngcontent-%COMP%]{max-width:10em}[_nghost-%COMP%] .event-format[_ngcontent-%COMP%]{max-width:9em}[_nghost-%COMP%] .event-address[_ngcontent-%COMP%]{flex:2}[_nghost-%COMP%] .event-link[_ngcontent-%COMP%]{width:18em}"],changeDetection:0})}return i})();var _t=class extends G{constructor(o){super({id:new _("",{nonNullable:!0,validators:[C.required]}),title:new _("",{nonNullable:!0,validators:[C.required]}),description:new _("",{nonNullable:!0}),cover:new _("",{nonNullable:!0})}),o&&this.patchValue(o)}},ot=class extends Ye{constructor(){super([])}add(o){this.push(new _t(o))}};var vt=class extends G{get name(){return this.controls.name.value}constructor(o){super({id:new _("",{nonNullable:!0,validators:[C.required]}),name:new _("",{nonNullable:!0,validators:[C.required]}),displayName:new _("",{nonNullable:!0,validators:[C.required]})}),o&&this.patchValue(o)}},at=class extends Ye{constructor(){super([])}add(o){this.push(new vt(o))}};function jn(i,o,e){let t=Ci(i,e?.in);return isNaN(o)?gi(e?.in||i,NaN):(o&&t.setDate(t.getDate()+o),t)}var rt=class i extends G{formats=[{value:"in-person",viewValue:"Presencial"},{value:"mixed",viewValue:"H\xEDbrido"},{value:"online",viewValue:"Online"}];durations=si.map(o=>({value:o,viewValue:o}));static date=jn(new Date,10);constructor(){i.date.setHours(19),i.date.setMinutes(0),i.date.setSeconds(0),super({id:new _("",{nonNullable:!0}),title:new _("",{nonNullable:!0,validators:[C.required]}),date:new _(i.date,{nonNullable:!0,validators:[C.required],updateOn:"blur"}),duration:new _("2h",{nonNullable:!0,validators:[C.required]}),maxAttendees:new _(0,{nonNullable:!0}),description:new _("",{nonNullable:!0,validators:[C.required]}),presentations:new ot,leaders:new at,format:new _("",{nonNullable:!0,validators:[C.required]}),address:new _("",{nonNullable:!0}),link:new _("",{nonNullable:!0}),visible:new _(!0,{nonNullable:!0})}),this.controls.link?.disable()}get format(){return this.controls.format}get presentations(){return this.controls.presentations}get leaders(){return this.controls.leaders}patch(o){if(this.patchValue(o),o.presentations){this.presentations.clear();for(let e of o.presentations)this.presentations.add(e)}if(o.leaders){this.leaders.clear();for(let e of o.leaders)this.leaders.add(e)}}onFormatChange(o=""){!this.controls.address||!this.controls.link||(o==="in-person"&&(this.controls.address.enable(),this.controls.address.addValidators(C.required),this.controls.link.disable(),this.controls.link.removeValidators(C.required)),o==="online"&&(this.controls.address.disable(),this.controls.address.removeValidators(C.required),this.controls.link.enable(),this.controls.address.addValidators(C.required)),o==="mixed"&&(this.controls.link.enable(),this.controls.link.addValidators(C.required),this.controls.address.enable(),this.controls.address.addValidators(C.required)),this.updateValueAndValidity({onlySelf:!0}))}getErrors(){let o={};for(let e in this.controls){let t=e;o[e]=this.controls[t]?.errors??null}return o}};var gt=(()=>{class i{router=m(le);route=m(se);cdr=m(zt);eventFacade=m(X);messageService=m(bi);searchLeaders=m(Fe);selectPresentation=m(hn);selectUser=m(Fe);saving=ae(!1);form=new rt;constructor(){this.route.data.pipe(W()).subscribe(({event:e})=>{if(e&&e.id&&(this.form.patch(e),this.form.onFormatChange(e.format),e.date)){let t=new Date(e.date);this.form.patchValue({date:t})}})}selectPresentations(){this.selectPresentation.open({multiple:!0}).pipe(B(1)).subscribe(t=>{if(t){for(let n of t)this.form.presentations.add(n);this.cdr.detectChanges()}})}selectLeaders(){this.selectUser.open({multiple:!0,onlyRole:"leader"}).pipe(B(1)).subscribe(t=>{if(t){for(let n of t)this.form.leaders.add(n);this.cdr.detectChanges()}})}onSubmit(){if(this.form.valid){this.saving.set(!0);let e=this.form.getRawValue();e.id?this.eventFacade.update(e).subscribe(this.#e):this.eventFacade.create(e).subscribe(this.#e)}else this.form.markAllAsTouched()}#e=e=>{this.saving.set(!1),this.messageService.open({message:"Armazenando informa\xE7\xF5es"}),e&&e.id&&this.router.navigate(["..",e.id],{relativeTo:this.route})};static \u0275fac=function(t){return new(t||i)};static \u0275cmp=h({type:i,selectors:[["devmx-event-admin-event"]],decls:17,vars:5,consts:[["id","event",3,"submit","formGroup"],[1,"event-tab-content"],["label","Descreva o evento","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"minRows","maxRows"],[3,"content"],["type","button","mat-button","",3,"click"],[1,"event-footer"],[3,"autoSave","saving"]],template:function(t,n){if(t&1&&(s(0,"form",0),f("submit",function(){return n.onSubmit()}),s(1,"section",1),p(2,"devmx-admin-event-form"),r(),s(3,"section",1)(4,"devmx-markdown-toolbar"),p(5,"devmx-markdown-editor",2)(6,"devmx-markdown-view",3),r()(),s(7,"section",1),p(8,"devmx-admin-event-leaders"),s(9,"button",4),f("click",function(){return n.selectLeaders()}),d(10," Adicionar outras pessoas "),r()(),s(11,"section",1),p(12,"devmx-admin-event-presentations"),s(13,"button",4),f("click",function(){return n.selectPresentations()}),d(14," Procure por conte\xFAdos "),r()(),s(15,"footer",5)(16,"devmx-auto-save-button",6),f("autoSave",function(){return n.onSubmit()}),r()()()),t&2){let a;u("formGroup",n.form),c(5),u("minRows",20)("maxRows",40),c(),u("content",(a=n.form.value.description)!==null&&a!==void 0?a:""),c(10),u("saving",n.saving())}},dependencies:[P,ze,Y,I,A,K,Ai,Ii,Li,Fn,Rn,Vn,Gn,w,Ce,Ri,Ze],styles:["[_nghost-%COMP%]{padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-tab[_ngcontent-%COMP%]{border-radius:.8em;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-tab-content[_ngcontent-%COMP%]{padding:2em 1em}[_nghost-%COMP%] form[_ngcontent-%COMP%] .event-footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return i})();var xm=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Dn,component:vn,children:[{path:"meus-eventos/novo",data:{breadcrumb:"Novo"},title:"Novo evento",component:gt},{path:"meus-eventos/:id",data:{breadcrumb:i=>i.event.title},title:"Meu evento",resolve:{event:kn},component:gt},{path:"meus-eventos",data:{breadcrumb:"Meus eventos"},title:"Meus eventos",component:On},{path:"gerenciar-eventos",data:{breadcrumb:"Gerenciar eventos"},title:"Gerenciar eventos",canActivate:[ji("director","manager","staff")],component:Pn},{path:"",pathMatch:"prefix",redirectTo:"meus-eventos"}]}];export{vn as EventFeatureAdminComponent,xm as eventFeatureAdminRoutes}; diff --git a/chunk-R2BYSYX5.js b/chunk-MSZO77IL.js similarity index 74% rename from chunk-R2BYSYX5.js rename to chunk-MSZO77IL.js index b9454a75..51cff3ed 100644 --- a/chunk-R2BYSYX5.js +++ b/chunk-MSZO77IL.js @@ -1 +1 @@ -import{bc as n,cc as r,ub as o,xc as a,ye as c}from"./chunk-TEKHUYWQ.js";var m=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=o({type:e,selectors:[["devmx-account-feature-board"]],decls:2,vars:0,template:function(t,d){t&1&&(n(0,"p"),a(1,"account-feature-board works!"),r())},dependencies:[c],encapsulation:2,changeDetection:0})}return e})();var l=[{path:"",data:{breadcrumb:"Dashboard"},component:m}];export{m as AccountFeatureBoardComponent,l as accountFeatureBoardRoutes}; +import{bc as n,cc as r,ub as o,xc as a,ye as c}from"./chunk-5L47ZUSK.js";var m=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=o({type:e,selectors:[["devmx-account-feature-board"]],decls:2,vars:0,template:function(t,d){t&1&&(n(0,"p"),a(1,"account-feature-board works!"),r())},dependencies:[c],encapsulation:2,changeDetection:0})}return e})();var l=[{path:"",data:{breadcrumb:"Dashboard"},component:m}];export{m as AccountFeatureBoardComponent,l as accountFeatureBoardRoutes}; diff --git a/chunk-QQ3DFMVY.js b/chunk-NAKSAAO7.js similarity index 95% rename from chunk-QQ3DFMVY.js rename to chunk-NAKSAAO7.js index 6dffa0c8..4fafd1c3 100644 --- a/chunk-QQ3DFMVY.js +++ b/chunk-NAKSAAO7.js @@ -1 +1 @@ -import{$d as aa,Ad as B,Ae as Ba,Bd as C,Be as Ca,Cd as D,Ce as Da,Dd as E,De as Ea,Ed as F,Ee as Fa,Fd as G,Fe as Ga,Gd as H,Ge as Ha,Hd as I,He as Ia,Id as J,Ie as Ja,Jd as K,Je as Ka,Kd as L,Ke as La,Ld as M,Le as Ma,Md as N,Me as Na,Nd as O,Ne as Oa,Od as P,Oe as Pa,Pd as Q,Qd as R,Ra as a,Rd as S,Sd as T,Td as U,Ud as V,Vd as W,Wd as X,Xd as Y,Yd as Z,Zd as _,_d as $,ad as b,ae as ba,bd as c,be as ca,cd as d,ce as da,dd as e,de as ea,ed as f,ee as fa,fd as g,fe as ga,gd as h,ge as ha,hd as i,he as ia,id as j,ie as ja,jd as k,je as ka,kd as l,ke as la,ld as m,le as ma,md as n,me as na,nd as o,ne as oa,od as p,oe as pa,pd as q,pe as qa,qd as r,qe as ra,rd as s,re as sa,sd as t,se as ta,td as u,te as ua,ud as v,ue as va,vd as w,ve as wa,wd as x,we as xa,xd as y,xe as ya,yd as z,ye as za,zd as A,ze as Aa}from"./chunk-TEKHUYWQ.js";export{l as APP_BASE_HREF,ka as AsyncPipe,i as BrowserPlatformLocation,za as CommonModule,xa as CurrencyPipe,pa as DATE_PIPE_DEFAULT_OPTIONS,oa as DATE_PIPE_DEFAULT_TIMEZONE,f as DOCUMENT,qa as DatePipe,va as DecimalPipe,r as FormStyle,t as FormatWidth,n as HashLocationStrategy,ra as I18nPluralPipe,sa as I18nSelectPipe,a as IMAGE_CONFIG,Ia as IMAGE_LOADER,ta as JsonPipe,ua as KeyValuePipe,h as LOCATION_INITIALIZED,o as Location,k as LocationStrategy,la as LowerCasePipe,Z as NgClass,_ as NgComponentOutlet,aa as NgFor,aa as NgForOf,$ as NgForOfContext,ba as NgIf,ca as NgIfContext,W as NgLocaleLocalization,V as NgLocalization,Pa as NgOptimizedImage,ga as NgPlural,ha as NgPluralCase,ia as NgStyle,da as NgSwitch,ea as NgSwitchCase,fa as NgSwitchDefault,ja as NgTemplateOutlet,p as NumberFormatStyle,u as NumberSymbol,Oa as PRECONNECT_CHECK_BLOCKLIST,m as PathLocationStrategy,wa as PercentPipe,g as PlatformLocation,q as Plural,ya as SlicePipe,ma as TitleCasePipe,s as TranslationWidth,na as UpperCasePipe,Ea as VERSION,Fa as ViewportScroller,v as WeekDay,Ha as XhrFactory,S as formatCurrency,R as formatDate,U as formatNumber,T as formatPercent,P as getCurrencySymbol,K as getLocaleCurrencyCode,J as getLocaleCurrencyName,I as getLocaleCurrencySymbol,D as getLocaleDateFormat,F as getLocaleDateTimeFormat,y as getLocaleDayNames,x as getLocaleDayPeriods,O as getLocaleDirection,A as getLocaleEraNames,M as getLocaleExtraDayPeriodRules,N as getLocaleExtraDayPeriods,B as getLocaleFirstDayOfWeek,w as getLocaleId,z as getLocaleMonthNames,H as getLocaleNumberFormat,G as getLocaleNumberSymbol,L as getLocalePluralCase,E as getLocaleTimeFormat,C as getLocaleWeekEndRange,Q as getNumberOfCurrencyDigits,Ca as isPlatformBrowser,Da as isPlatformServer,Ja as provideCloudflareLoader,Ka as provideCloudinaryLoader,La as provideImageKitLoader,Ma as provideImgixLoader,Na as provideNetlifyLoader,X as registerLocaleData,d as \u0275DomAdapter,Ga as \u0275NullViewportScroller,Aa as \u0275PLATFORM_BROWSER_ID,Ba as \u0275PLATFORM_SERVER_ID,e as \u0275PlatformNavigation,b as \u0275getDOM,j as \u0275normalizeQueryParams,Y as \u0275parseCookieValue,c as \u0275setRootDomAdapter}; +import{$d as aa,Ad as B,Ae as Ba,Bd as C,Be as Ca,Cd as D,Ce as Da,Dd as E,De as Ea,Ed as F,Ee as Fa,Fd as G,Fe as Ga,Gd as H,Ge as Ha,Hd as I,He as Ia,Id as J,Ie as Ja,Jd as K,Je as Ka,Kd as L,Ke as La,Ld as M,Le as Ma,Md as N,Me as Na,Nd as O,Ne as Oa,Od as P,Oe as Pa,Pd as Q,Qd as R,Ra as a,Rd as S,Sd as T,Td as U,Ud as V,Vd as W,Wd as X,Xd as Y,Yd as Z,Zd as _,_d as $,ad as b,ae as ba,bd as c,be as ca,cd as d,ce as da,dd as e,de as ea,ed as f,ee as fa,fd as g,fe as ga,gd as h,ge as ha,hd as i,he as ia,id as j,ie as ja,jd as k,je as ka,kd as l,ke as la,ld as m,le as ma,md as n,me as na,nd as o,ne as oa,od as p,oe as pa,pd as q,pe as qa,qd as r,qe as ra,rd as s,re as sa,sd as t,se as ta,td as u,te as ua,ud as v,ue as va,vd as w,ve as wa,wd as x,we as xa,xd as y,xe as ya,yd as z,ye as za,zd as A,ze as Aa}from"./chunk-5L47ZUSK.js";export{l as APP_BASE_HREF,ka as AsyncPipe,i as BrowserPlatformLocation,za as CommonModule,xa as CurrencyPipe,pa as DATE_PIPE_DEFAULT_OPTIONS,oa as DATE_PIPE_DEFAULT_TIMEZONE,f as DOCUMENT,qa as DatePipe,va as DecimalPipe,r as FormStyle,t as FormatWidth,n as HashLocationStrategy,ra as I18nPluralPipe,sa as I18nSelectPipe,a as IMAGE_CONFIG,Ia as IMAGE_LOADER,ta as JsonPipe,ua as KeyValuePipe,h as LOCATION_INITIALIZED,o as Location,k as LocationStrategy,la as LowerCasePipe,Z as NgClass,_ as NgComponentOutlet,aa as NgFor,aa as NgForOf,$ as NgForOfContext,ba as NgIf,ca as NgIfContext,W as NgLocaleLocalization,V as NgLocalization,Pa as NgOptimizedImage,ga as NgPlural,ha as NgPluralCase,ia as NgStyle,da as NgSwitch,ea as NgSwitchCase,fa as NgSwitchDefault,ja as NgTemplateOutlet,p as NumberFormatStyle,u as NumberSymbol,Oa as PRECONNECT_CHECK_BLOCKLIST,m as PathLocationStrategy,wa as PercentPipe,g as PlatformLocation,q as Plural,ya as SlicePipe,ma as TitleCasePipe,s as TranslationWidth,na as UpperCasePipe,Ea as VERSION,Fa as ViewportScroller,v as WeekDay,Ha as XhrFactory,S as formatCurrency,R as formatDate,U as formatNumber,T as formatPercent,P as getCurrencySymbol,K as getLocaleCurrencyCode,J as getLocaleCurrencyName,I as getLocaleCurrencySymbol,D as getLocaleDateFormat,F as getLocaleDateTimeFormat,y as getLocaleDayNames,x as getLocaleDayPeriods,O as getLocaleDirection,A as getLocaleEraNames,M as getLocaleExtraDayPeriodRules,N as getLocaleExtraDayPeriods,B as getLocaleFirstDayOfWeek,w as getLocaleId,z as getLocaleMonthNames,H as getLocaleNumberFormat,G as getLocaleNumberSymbol,L as getLocalePluralCase,E as getLocaleTimeFormat,C as getLocaleWeekEndRange,Q as getNumberOfCurrencyDigits,Ca as isPlatformBrowser,Da as isPlatformServer,Ja as provideCloudflareLoader,Ka as provideCloudinaryLoader,La as provideImageKitLoader,Ma as provideImgixLoader,Na as provideNetlifyLoader,X as registerLocaleData,d as \u0275DomAdapter,Ga as \u0275NullViewportScroller,Aa as \u0275PLATFORM_BROWSER_ID,Ba as \u0275PLATFORM_SERVER_ID,e as \u0275PlatformNavigation,b as \u0275getDOM,j as \u0275normalizeQueryParams,Y as \u0275parseCookieValue,c as \u0275setRootDomAdapter}; diff --git a/chunk-HRSGZXOU.js b/chunk-OOIIDBJ2.js similarity index 88% rename from chunk-HRSGZXOU.js rename to chunk-OOIIDBJ2.js index cc38d0d8..b8e8fbf9 100644 --- a/chunk-HRSGZXOU.js +++ b/chunk-OOIIDBJ2.js @@ -1 +1 @@ -import{m as F,o as w}from"./chunk-XYJHVZQT.js";import{e as b,j as k,l as y,w as v}from"./chunk-EDIJ2EBQ.js";import{a as c,b as a}from"./chunk-TEKHUYWQ.js";var e=class{label;value;order;autocomplete;errors;constructor(r){this.autocomplete=r.autocomplete,this.label=r.label,this.value=r.value??null,this.order=r.order??0,this.errors=r.errors??{}}};var i=class extends e{type;kind="textbox";constructor(r){super(r),this.type=r.type}};function G(t){return new i(t)}function V(t){let r=["required","requiredTrue","email"];return w(t.errors).filter(o=>r.includes(o)).map(o=>b[o])}var m=class extends e{checked;kind="checkbox";constructor(r){super(r),this.checked=r.checked==!0}};var u=class extends e{min;max;kind="datepicker";constructor(r){super(r),this.min=r.min,this.max=r.max}};var p=class extends e{options;kind="dropdown";constructor(r){super(r),this.options=r.options}};var d=class extends e{options;kind="radio";constructor(r){super(r),this.options=r.options}};var l=class extends e{min;max;kind="range";constructor(r){super(r),this.min=r.min,this.max=r.max}};var x=class extends e{min;max;step;kind="slider";constructor(r){super(r),this.min=r.min,this.max=r.max,this.step=r.step??1}};var g=t=>{let r=t instanceof i,o=t instanceof m,n=t instanceof u,f=t instanceof p,s=t instanceof d,h=t instanceof l,T=t instanceof x;return r||o||n||f||s||h||T};function A(t){let o={nonNullable:!0,validators:V(t)};return new y(t.value,o)}function C(t){return F(t).reduce((r,[o,n])=>{if(g(n)){let s=A(n);return a(c({},r),{[o]:s})}if(Array.isArray(n)){let s=n.map(h=>A(h));return a(c({},r),{[o]:new v(s)})}let f=C(n);return a(c({},r),{[o]:new k(f)})},{})}function $(t){let r=C(t);return new k(r)}export{G as a,$ as b}; +import{m as F,o as w}from"./chunk-7BKB7KKA.js";import{e as b,j as k,l as y,w as v}from"./chunk-E5QACR6S.js";import{a as c,b as a}from"./chunk-5L47ZUSK.js";var e=class{label;value;order;autocomplete;errors;constructor(r){this.autocomplete=r.autocomplete,this.label=r.label,this.value=r.value??null,this.order=r.order??0,this.errors=r.errors??{}}};var i=class extends e{type;kind="textbox";constructor(r){super(r),this.type=r.type}};function G(t){return new i(t)}function V(t){let r=["required","requiredTrue","email"];return w(t.errors).filter(o=>r.includes(o)).map(o=>b[o])}var m=class extends e{checked;kind="checkbox";constructor(r){super(r),this.checked=r.checked==!0}};var u=class extends e{min;max;kind="datepicker";constructor(r){super(r),this.min=r.min,this.max=r.max}};var p=class extends e{options;kind="dropdown";constructor(r){super(r),this.options=r.options}};var d=class extends e{options;kind="radio";constructor(r){super(r),this.options=r.options}};var l=class extends e{min;max;kind="range";constructor(r){super(r),this.min=r.min,this.max=r.max}};var x=class extends e{min;max;step;kind="slider";constructor(r){super(r),this.min=r.min,this.max=r.max,this.step=r.step??1}};var g=t=>{let r=t instanceof i,o=t instanceof m,n=t instanceof u,f=t instanceof p,s=t instanceof d,h=t instanceof l,T=t instanceof x;return r||o||n||f||s||h||T};function A(t){let o={nonNullable:!0,validators:V(t)};return new y(t.value,o)}function C(t){return F(t).reduce((r,[o,n])=>{if(g(n)){let s=A(n);return a(c({},r),{[o]:s})}if(Array.isArray(n)){let s=n.map(h=>A(h));return a(c({},r),{[o]:new v(s)})}let f=C(n);return a(c({},r),{[o]:new k(f)})},{})}function $(t){let r=C(t);return new k(r)}export{G as a,$ as b}; diff --git a/chunk-UOTKRQ63.js b/chunk-OQLD3BC6.js similarity index 96% rename from chunk-UOTKRQ63.js rename to chunk-OQLD3BC6.js index 20ae8cf6..9a0de35e 100644 --- a/chunk-UOTKRQ63.js +++ b/chunk-OQLD3BC6.js @@ -1 +1 @@ -import{Y as l,f as x}from"./chunk-W5KNOAKV.js";import{Ja as s,Vb as f,Wb as h,ed as v,fa as m,ka as r,nc as u,oc as i,pc as p,rc as g,sc as w,ub as c,vb as d,wb as b}from"./chunk-TEKHUYWQ.js";var y=["*",[["mat-toolbar-row"]]],_=["*","mat-toolbar-row"],T=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275dir=b({type:o,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return o})(),I=(()=>{class o{_elementRef=r(s);_platform=r(x);_document=r(v);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=c({type:o,selectors:[["mat-toolbar"]],contentQueries:function(t,e,M){if(t&1&&p(M,T,5),t&2){let n;g(n=w())&&(e._toolbarRows=n)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,e){t&2&&(h(e.color?"mat-"+e.color:""),f("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",e._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:_,decls:2,vars:0,template:function(t,e){t&1&&(u(y),i(0),i(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return o})();var O=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=d({type:o});static \u0275inj=m({imports:[l,l]})}return o})();export{I as a,O as b}; +import{_ as l,h as x}from"./chunk-CG5OOKZO.js";import{Ja as s,Vb as f,Wb as h,ed as v,fa as m,ka as r,nc as u,oc as i,pc as p,rc as g,sc as w,ub as c,vb as d,wb as b}from"./chunk-5L47ZUSK.js";var y=["*",[["mat-toolbar-row"]]],_=["*","mat-toolbar-row"],T=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275dir=b({type:o,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return o})(),I=(()=>{class o{_elementRef=r(s);_platform=r(x);_document=r(v);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=c({type:o,selectors:[["mat-toolbar"]],contentQueries:function(t,e,M){if(t&1&&p(M,T,5),t&2){let n;g(n=w())&&(e._toolbarRows=n)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,e){t&2&&(h(e.color?"mat-"+e.color:""),f("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",e._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:_,decls:2,vars:0,template:function(t,e){t&1&&(u(y),i(0),i(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return o})();var O=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=d({type:o});static \u0275inj=m({imports:[l,l]})}return o})();export{I as a,O as b}; diff --git a/chunk-JALA4ZS3.js b/chunk-OSS63ZJA.js similarity index 91% rename from chunk-JALA4ZS3.js rename to chunk-OSS63ZJA.js index 8ffb0723..a03efb4a 100644 --- a/chunk-JALA4ZS3.js +++ b/chunk-OSS63ZJA.js @@ -1 +1 @@ -import{a as ht,b as Mt}from"./chunk-5BAEVBCP.js";import"./chunk-DUF4HXV7.js";import{a as tt,b as nt,c as it,e as ot}from"./chunk-WPU27ID5.js";import{a as Ke,b as Ye}from"./chunk-VHE4TYFV.js";import{a as rt,b as lt}from"./chunk-JMI5D6U5.js";import"./chunk-AFH22WZE.js";import{a as mt,b as st,c as ct,d as pt,e as dt,f as ut,g as gt,h as ft,i as Ct,j as _t,k as bt}from"./chunk-FROUXDRM.js";import{a as X,b as et}from"./chunk-4JU575PW.js";import{a as at}from"./chunk-56M6HFOE.js";import{a as Ze}from"./chunk-Q33OVU5J.js";import"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{a as L}from"./chunk-GXQHMTZK.js";import{a as Ae}from"./chunk-WOE5TNBB.js";import{c as Le}from"./chunk-IIJ56NAR.js";import"./chunk-WK53HQNR.js";import{a as qe,b as H,c as U}from"./chunk-BLJCB4Q7.js";import{a as $e,b as Ie}from"./chunk-2XST3EDK.js";import{a as P,c as Re}from"./chunk-2GNIBV4J.js";import"./chunk-YFMYPYPE.js";import{a as Xe}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as He}from"./chunk-TPJZ2OYR.js";import{A as ve,s as Me}from"./chunk-XYJHVZQT.js";import"./chunk-O3T3UZHL.js";import{a as Ue,d as Qe,e as We}from"./chunk-VVQ6JEVH.js";import{b as fe,c as Ce,d as _e,i as be,j as he}from"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as J}from"./chunk-A3N3AUUJ.js";import{g as k,h as de,i as j,j as ue,p as G,q as Je,u as Ne,v as T,w as Ve,x as D}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{i as Te,l as De}from"./chunk-PAP2P7QR.js";import{a as Q,b as ze,c as Be,e as W,f as Ge,i as K}from"./chunk-EC6LD5KM.js";import{a as F,c as xe,e as g,h as Oe,i as we,j as E,l as u,m as ye,p as Pe,q as Se,r as Ee,s as ke,w as je,x as Fe}from"./chunk-EDIJ2EBQ.js";import{na as ge}from"./chunk-W5KNOAKV.js";import{$b as O,F as me,Fb as se,Jc as q,Kc as z,L as ie,Nb as _,Sc as pe,Tb as p,Yb as S,_b as R,ac as w,bc as n,cc as i,dc as c,ec as $,fc as I,hc as y,j as ne,je as B,ka as d,kc as f,lb as m,mc as b,p as le,t as V,ta as M,u as A,ua as v,ub as x,xc as l,yc as h,zc as ce}from"./chunk-TEKHUYWQ.js";var vt=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-feature-admin"]],decls:1,vars:0,template:function(o,a){o&1&&c(0,"router-outlet")},dependencies:[de],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var xt=[{provide:ve,useExisting:L},lt(),Mt(),ot(),et()];var Ot=t=>t.params.id==="nova"?le({}):Re(d(P),t.params);function Et(t,r){t&1&&(n(0,"th",15),l(1,"T\xEDtulo da vaga"),i())}function kt(t,r){if(t&1&&(n(0,"td",16),l(1),i()),t&2){let e=r.$implicit;m(),h(e.title)}}function jt(t,r){t&1&&(n(0,"th",15),l(1,"Criada por"),i())}function Ft(t,r){if(t&1&&(n(0,"td",16),l(1),i()),t&2){let e=r.$implicit;m(),ce(" ",e.owner.displayName," ")}}function Tt(t,r){t&1&&c(0,"th",15)}function Dt(t,r){if(t&1){let e=y();n(0,"td",16)(1,"button",17),f("click",function(){let a=M(e).$implicit,s=b(2);return v(s.openDelete(a))}),c(2,"devmx-icon",18),i()()}}function Jt(t,r){t&1&&c(0,"tr",19)}function Nt(t,r){t&1&&c(0,"tr",20)}function Vt(t,r){if(t&1){let e=y();n(0,"table",5),$(1,6),_(2,Et,2,0,"th",7)(3,kt,2,1,"td",8),I(),$(4,9),_(5,jt,2,0,"th",7)(6,Ft,2,1,"td",8),I(),$(7,10),_(8,Tt,1,0,"th",7)(9,Dt,3,0,"td",8),I(),_(10,Jt,1,0,"tr",11)(11,Nt,1,0,"tr",12),i(),n(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(a){M(e);let s=b();return v(s.onPageChange(a))}),i()()}if(t&2){let e=r,o=b();p("dataSource",e.data),m(10),p("matHeaderRowDef",o.columns),m(),p("matRowDefColumns",o.columns),m(2),p("size",10)("items",e.items)}}var yt=(()=>{class t{router=d(j);route=d(k);dialogFacade=d(X);jobOpeningFacade=d(P);selectUser=d(rt);#e=Me(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(V(a=>a?a.id:"")),o=this.route.queryParams;A([e,o]).pipe(J()).subscribe(this.onQueryParams)}onQueryParams=([e,o])=>{let{page:a=0,size:s=10}=o,{open:C=null,active:N=null}=o,te={open:C,active:N,owner:e};this.jobOpeningFacade.setParams({page:a,size:s,filter:te}),this.jobOpeningFacade.load()};openDelete({id:e,title:o}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${o}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(a=>{a&&this.jobOpeningFacade.delete(e)})}openSelectUser(){this.selectUser.open({onlyRole:"recruiter",multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}onSearchChange(e=""){this.jobOpeningFacade.setFilter({title:e}),this.jobOpeningFacade.load()}onPageChange({page:e,size:o}){let a={page:e,size:o};this.router.navigate([],{queryParams:a})}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-manage-job-openings"]],decls:10,vars:4,consts:[[1,"job-penings-card"],[1,"job-openings-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(o,a){if(o&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),l(3,"Vagas"),i(),n(4,"div")(5,"button",2),f("click",function(){return a.openSelectUser()}),c(6,"devmx-icon",3),i(),n(7,"devmx-search-field",4),f("searchChange",function(C){return a.onSearchChange(C)}),i()()(),_(8,Vt,14,5),q(9,"async"),i()),o&2){let s;m(7),p("debounce",1e3),m(),S((s=z(9,2,a.jobOpeningFacade.response$))?8:-1,s)}},dependencies:[G,D,T,at,bt,mt,ct,gt,pt,st,ft,dt,ut,Ct,_t,K,Q,W,Ge,ze,H,U,F,B],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .job-openings-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .job-openings-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .job-openings-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();var Rt=(t,r)=>r.id;function At(t,r){if(t&1){let e=y();n(0,"devmx-job-opening-card",3)(1,"a",6),c(2,"devmx-icon",7),i(),n(3,"button",8),f("click",function(){let a=M(e).$implicit,s=b(2);return v(s.deleteJobOpening(a))}),c(4,"devmx-icon",9),i()()}if(t&2){let e=r.$implicit;p("data",e),m(),p("routerLink",e.id)}}function $t(t,r){t&1&&(n(0,"div",4)(1,"h2"),l(2,"N\xE3o temos nada aqui..."),i(),n(3,"h3"),l(4," Siga nessa dire\xE7\xE3o "),c(5,"devmx-icon",10)(6,"br"),l(7," at\xE9 encontrar o bot\xE3o com um "),c(8,"devmx-icon",11)(9,"br"),l(10," e cadastre suas vagas. "),c(11,"devmx-icon",12),i()()),t&2&&(m(5),p("size",32),m(3),p("size",32),m(3),p("size",32))}function It(t,r){if(t&1){let e=y();n(0,"div",2),O(1,At,5,2,"devmx-job-opening-card",3,Rt),i(),_(3,$t,12,3,"div",4),n(4,"footer")(5,"devmx-paginator",5),f("pageChange",function(a){M(e);let s=b();return v(s.onPageChange(a))}),i()()}if(t&2){let e=r;m(),w(e.data),m(2),S(e.items?-1:3),m(2),p("size",10)("items",e.items)}}var Pt=(()=>{class t{router=d(j);route=d(k);dialogFacade=d(X);authFacade=d(He);jobOpeningFacade=d(P);constructor(){let e=this.authFacade.auth$.pipe(me(a=>!!a),V(({id:a})=>a)),o=this.route.queryParams.pipe(V(({page:a,size:s,open:C=null,active:N=null})=>({page:a,size:s,open:C,active:N})));A([e,o]).pipe(J()).subscribe(this.onQueryParams)}onQueryParams=([e,o])=>{let{page:a,size:s,open:C,active:N}=o,te={open:C,active:N,owner:e};this.jobOpeningFacade.setParams({page:a,size:s,filter:te}),this.jobOpeningFacade.load()};deleteJobOpening({id:e,title:o}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${o}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(a=>{a&&this.jobOpeningFacade.delete(e)})}onPageChange({page:e,size:o}){let a={page:e,size:o};this.router.navigate([],{queryParams:a})}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-my-job-openings"]],decls:4,vars:3,consts:[["mat-fab","","routerLink","nova",1,"tertiary-fab","top","right"],["name","plus"],[1,"job-openings-container"],[3,"data"],[1,"no-job-openings-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar vaga","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar vaga","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(o,a){if(o&1&&(n(0,"a",0),c(1,"devmx-icon",1),i(),_(2,It,6,3),q(3,"async")),o&2){let s;m(2),S((s=z(3,1,a.jobOpeningFacade.response$))?2:-1,s)}},dependencies:[G,ue,D,Ve,T,Ne,H,qe,Le,U,F,B],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var Y=class extends E{constructor(){super({id:new u("",{nonNullable:!0}),name:new u("",{nonNullable:!0,validators:[g.required]})})}};var ae=class extends E{constructor(r){super({skill:new Y,weight:new u(0,{nonNullable:!0,validators:[g.min(0),g.max(100)]})}),r&&this.patchValue(r)}},Z=class extends je{constructor(){super([])}add(r){this.push(new ae(r))}childrenErrors=se([]);updateErrors(){let r=this.controls.map(e=>e.errors);this.childrenErrors.set(r)}};var ee=class extends E{types=[{value:"contract",viewValue:"Contrato"},{value:"freelance",viewValue:"Freelance"},{value:"full-time",viewValue:"Integral"},{value:"part-time",viewValue:"Meio periodo"}];modes=[{value:"remote",viewValue:"Remoto"},{value:"hybrid",viewValue:"H\xEDbrido"},{value:"office",viewValue:"Presencial"}];contracts=[{value:"CLT",viewValue:"CLT"},{value:"PJ",viewValue:"PJ"}];experiences=[{value:"internship",viewValue:"Estagi\xE1rio"},{value:"junior",viewValue:"Junior"},{value:"mid",viewValue:"Pleno"},{value:"senior",viewValue:"Senior"}];constructor(){super({id:new u("",{nonNullable:!0}),title:new u("",{nonNullable:!0,validators:[g.required]}),skills:new Z,type:new u("contract",{nonNullable:!0,validators:[g.required]}),requirements:new u("",{nonNullable:!0,validators:[g.required]}),mode:new u("hybrid",{nonNullable:!0,validators:[g.required]}),experience:new u("internship",{nonNullable:!0,validators:[g.required]}),description:new u("",{nonNullable:!0,validators:[g.required]}),contract:new u("CLT",{nonNullable:!0,validators:[g.required]}),salary:new E({min:new u,max:new u}),link:new u("",{nonNullable:!0}),contact:new u("",{nonNullable:!0}),company:new u("",{nonNullable:!0}),benefits:new u("",{nonNullable:!0}),active:new u(!0,{nonNullable:!0}),open:new u(!0,{nonNullable:!0})})}get skills(){return this.controls.skills}patch(r){if(this.patchValue(r),r.skills){this.skills.clear();for(let e of r.skills)this.skills.add(e)}}};var qt=(t,r)=>r.value;function zt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Bt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Gt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Lt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Ht(t,r){if(t&1){let e=y();n(0,"tr",21)(1,"td"),l(2),i(),n(3,"td",26)(4,"mat-slider",27),c(5,"input",28),i()(),n(6,"td"),l(7),i(),n(8,"td")(9,"button",29),f("click",function(){let a=M(e).$index,s=b();return v(s.form.skills.removeAt(a))}),c(10,"devmx-icon",30),i()()()}if(t&2){let e=r.$implicit,o=r.$index;p("formGroupName",o),m(2),h(e.value.skill==null?null:e.value.skill.name),m(5),h(e.value.weight)}}function Ut(t,r){t&1&&(n(0,"mat-error"),l(1,"Selecione ou cadastre ao menos uma habilidade"),i())}var re=(()=>{class t{route=d(k);router=d(j);cdr=d(pe);skillFacade=d(L);jobFacade=d(P);skillDialog=d(ht);messageService=d(Ae);form=new ee;#e={openSkill:new ne,searchSkill:new ne};constructor(){this.route.data.pipe(J()).subscribe(({jobOpening:e})=>{e&&e.id&&this.form.patch(e)})}openSkill(e){return this.skillDialog.open(e).subscribe(o=>{o&&(o.id?this.skillFacade.update(o):this.skillFacade.create(o))})}openSearchSkills(){this.skillDialog.select({multiple:!0}).subscribe(o=>{if(o&&o.length){for(let a of o)this.form.skills.add({weight:50,skill:a});this.cdr.detectChanges()}this.#e.openSkill.next(),this.#e.openSkill.complete(),this.#e.searchSkill.next(),this.#e.searchSkill.complete()})}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return e.id?this.jobFacade.update(e).pipe(ie(1)).subscribe(()=>{let s=["/","carreiras","administracao","minhas-ofertas"];this.router.navigate(s)}):this.jobFacade.create(e).pipe(ie(1)).subscribe(({id:s})=>{this.router.navigate(this.#t(s))}),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}#t(e){return["/","carreiras","administracao","minhas-ofertas",e]}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-job-opening"]],decls:97,vars:6,consts:[["id","job",3,"submit","formGroup"],[1,"job-opening"],[1,"job-opening-content"],["matInput","","formControlName","title","autofocus",""],["label","Descri\xE7\xE3o","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"minRows"],[3,"content"],["label","Requisitos","hint","Compat\xEDvel com markdown do Github","formControlName","requirements",3,"minRows"],["formControlName","type"],[3,"value"],["formControlName","contract"],["matInput","","formControlName","benefits","cdkAutosizeMinRows","5","cdkTextareaAutosize",""],["formControlName","mode"],["formControlName","experience"],["formGroupName","salary"],["matInput","","formControlName","min"],["matInput","","formControlName","max"],["matInput","","formControlName","company"],["matInput","","formControlName","link"],[1,"job-opening-skills"],["mat-subheader",""],["formArrayName","skills"],[1,"flex",3,"formGroupName"],["mat-button","","type","button",1,"add-button",3,"click"],["name","search-list"],["align","end",1,"job-opening-actions"],["mat-flat-button",""],[1,"fill"],["min","0","max","100","step","1","discrete",""],["matSliderThumb","","formControlName","weight"],["type","button","mat-icon-button","",3,"click"],["name","close-cross"]],template:function(o,a){if(o&1&&(n(0,"form",0),f("submit",function(){return a.onSubmit()}),n(1,"mat-card",1)(2,"mat-card-content",2)(3,"section")(4,"mat-form-field")(5,"mat-label"),l(6,"T\xEDtulo da vaga"),i(),c(7,"input",3),n(8,"mat-error"),l(9,"Obrigat\xF3rio"),i()(),n(10,"devmx-markdown-toolbar"),c(11,"devmx-markdown-editor",4)(12,"devmx-markdown-view",5),i(),n(13,"devmx-markdown-toolbar"),c(14,"devmx-markdown-editor",6)(15,"devmx-markdown-view",5),i()(),n(16,"section")(17,"div")(18,"mat-form-field")(19,"mat-label"),l(20,"Formato"),i(),n(21,"mat-select",7),O(22,zt,2,2,"mat-option",8,R),i(),n(24,"mat-error"),l(25,"Obrigat\xF3rio"),i()(),n(26,"mat-form-field")(27,"mat-label"),l(28,"Contrato"),i(),n(29,"mat-select",9),O(30,Bt,2,2,"mat-option",8,R),i(),n(32,"mat-error"),l(33,"Obrigat\xF3rio"),i()()(),n(34,"div")(35,"mat-form-field")(36,"mat-label"),l(37,"Benef\xEDcios"),i(),c(38,"textarea",10),n(39,"mat-error"),l(40,"Obrigat\xF3rio"),i()()(),n(41,"div")(42,"mat-form-field")(43,"mat-label"),l(44,"Regime de trabalho"),i(),n(45,"mat-select",11),O(46,Gt,2,2,"mat-option",8,R),i(),n(48,"mat-error"),l(49,"Obrigat\xF3rio"),i()(),n(50,"mat-form-field")(51,"mat-label"),l(52,"Experi\xEAncia"),i(),n(53,"mat-select",12),O(54,Lt,2,2,"mat-option",8,R),i(),n(56,"mat-error"),l(57,"Obrigat\xF3rio"),i()()(),n(58,"div",13)(59,"mat-form-field")(60,"mat-label"),l(61,"M\xEDnimo de sal\xE1rio"),i(),c(62,"input",14),n(63,"mat-hint"),l(64,"Opcional"),i()(),n(65,"mat-form-field")(66,"mat-label"),l(67,"M\xE1ximo de sal\xE1rio"),i(),c(68,"input",15),n(69,"mat-hint"),l(70,"Opcional"),i()()(),n(71,"mat-form-field")(72,"mat-label"),l(73,"Empresa"),i(),c(74,"input",16),n(75,"mat-hint"),l(76,"Opcional"),i()(),n(77,"mat-form-field")(78,"mat-label"),l(79,"Link"),i(),c(80,"input",17),n(81,"mat-hint"),l(82,"Opcional"),i()(),n(83,"div",18)(84,"h3",19),l(85,"Habilidades"),i(),n(86,"table",20),O(87,Ht,11,3,"tr",21,qt),i(),_(89,Ut,2,0,"mat-error"),n(90,"button",22),f("click",function(){return a.openSearchSkills()}),c(91,"devmx-icon",23),n(92,"span"),l(93,"Encontrar habilidades"),i()()()()(),n(94,"mat-card-actions",24)(95,"button",25),l(96,"Salvar"),i()()()()),o&2){let s,C;p("formGroup",a.form),m(11),p("minRows",10),m(),p("content",(s=a.form.value.description)!==null&&s!==void 0?s:""),m(2),p("minRows",10),m(),p("content",(C=a.form.value.requirements)!==null&&C!==void 0?C:""),m(7),w(a.form.types),m(8),w(a.form.contracts),m(16),w(a.form.modes),m(8),w(a.form.experiences),m(33),w(a.form.skills.controls),m(2),S(a.form.skills.touched&&a.form.skills.hasError("required")?89:-1)}},dependencies:[Fe,ye,xe,Oe,we,Pe,ke,Se,Ee,Xe,Ke,Ye,he,be,fe,_e,Ce,D,Je,T,Ie,$e,ge,it,tt,nt,We,Qe,Ue,De,Te,K,Q,W,Be,F],styles:["[_nghost-%COMP%]{display:block;padding:1em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:100%;opacity:.72;margin-bottom:0}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{align-self:flex-start}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:1em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:8em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{width:3em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column} body .mat-mdc-button .mdc-button__label{display:inline-flex;align-items:center;gap:4px}"],changeDetection:0})}return t})();var Hi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:xt,component:vt,children:[{path:"minhas-ofertas/nova",data:{breadcrumb:"Nova"},title:"Nova vaga",component:re},{path:"minhas-ofertas/:id",data:{breadcrumb:t=>t.jobOpening.title},title:"Minha vaga",resolve:{jobOpening:Ot},component:re},{path:"minhas-ofertas",data:{breadcrumb:"Minhas vagas"},title:"Minhas vagas",component:Pt},{path:"gerenciar-ofertas",data:{breadcrumb:"Gerenciar ofertas"},title:"Gerenciar vagas",canActivate:[Ze("director","manager","staff")],component:yt},{path:"",pathMatch:"prefix",redirectTo:"minhas-ofertas"}]}];export{vt as CareerFeatureAdminComponent,Hi as careerFeatureAdminRoutes}; +import{a as ht,b as Mt}from"./chunk-2ZIXK45P.js";import"./chunk-4GWBJQXV.js";import{a as tt,b as nt,c as it,e as ot}from"./chunk-75BM4JAG.js";import{a as Ke,b as Ye}from"./chunk-FJPP4CEK.js";import{a as rt,b as lt}from"./chunk-R4QCZCL2.js";import"./chunk-I7HMQKPZ.js";import{a as mt,b as st,c as ct,d as pt,e as dt,f as ut,g as gt,h as ft,i as Ct,j as _t,k as bt}from"./chunk-TDAJGOKB.js";import{a as X,b as et}from"./chunk-HOUESFGN.js";import{a as at}from"./chunk-5XJFAPMG.js";import{a as Ze}from"./chunk-Z63MF55O.js";import"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{a as L}from"./chunk-FKKUCUPL.js";import{a as Ae}from"./chunk-FTG3SWGJ.js";import{c as Le}from"./chunk-WDHK3HYB.js";import"./chunk-B7ATSCPT.js";import{a as qe,b as H,c as U}from"./chunk-EJAMDHKS.js";import{a as $e,b as Ie}from"./chunk-KCQYBIUM.js";import{a as P,c as Re}from"./chunk-HY6WPF2C.js";import"./chunk-5ZT2NHQS.js";import{a as Xe}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as He}from"./chunk-5MUU2WLY.js";import{A as ve,s as Me}from"./chunk-7BKB7KKA.js";import"./chunk-J4P2XXRU.js";import{a as Ue,d as Qe,e as We}from"./chunk-A74J7Y3C.js";import{b as fe,c as Ce,d as _e,i as be,j as he}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as J}from"./chunk-366DNJGU.js";import{g as k,h as de,i as j,j as ue,p as G,q as Je,u as Ne,v as T,w as Ve,x as D}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{i as Te,l as De}from"./chunk-UANEMOTZ.js";import{a as Q,b as ze,c as Be,e as W,f as Ge,i as K}from"./chunk-BJ2ND26O.js";import{a as F,c as xe,e as g,h as Oe,i as we,j as E,l as u,m as ye,p as Pe,q as Se,r as Ee,s as ke,w as je,x as Fe}from"./chunk-E5QACR6S.js";import{pa as ge}from"./chunk-CG5OOKZO.js";import{$b as O,F as me,Fb as se,Jc as q,Kc as z,L as ie,Nb as _,Sc as pe,Tb as p,Yb as S,_b as R,ac as w,bc as n,cc as i,dc as c,ec as $,fc as I,hc as y,j as ne,je as B,ka as d,kc as f,lb as m,mc as b,p as le,t as V,ta as M,u as A,ua as v,ub as x,xc as l,yc as h,zc as ce}from"./chunk-5L47ZUSK.js";var vt=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-feature-admin"]],decls:1,vars:0,template:function(o,a){o&1&&c(0,"router-outlet")},dependencies:[de],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var xt=[{provide:ve,useExisting:L},lt(),Mt(),ot(),et()];var Ot=t=>t.params.id==="nova"?le({}):Re(d(P),t.params);function Et(t,r){t&1&&(n(0,"th",15),l(1,"T\xEDtulo da vaga"),i())}function kt(t,r){if(t&1&&(n(0,"td",16),l(1),i()),t&2){let e=r.$implicit;m(),h(e.title)}}function jt(t,r){t&1&&(n(0,"th",15),l(1,"Criada por"),i())}function Ft(t,r){if(t&1&&(n(0,"td",16),l(1),i()),t&2){let e=r.$implicit;m(),ce(" ",e.owner.displayName," ")}}function Tt(t,r){t&1&&c(0,"th",15)}function Dt(t,r){if(t&1){let e=y();n(0,"td",16)(1,"button",17),f("click",function(){let a=M(e).$implicit,s=b(2);return v(s.openDelete(a))}),c(2,"devmx-icon",18),i()()}}function Jt(t,r){t&1&&c(0,"tr",19)}function Nt(t,r){t&1&&c(0,"tr",20)}function Vt(t,r){if(t&1){let e=y();n(0,"table",5),$(1,6),_(2,Et,2,0,"th",7)(3,kt,2,1,"td",8),I(),$(4,9),_(5,jt,2,0,"th",7)(6,Ft,2,1,"td",8),I(),$(7,10),_(8,Tt,1,0,"th",7)(9,Dt,3,0,"td",8),I(),_(10,Jt,1,0,"tr",11)(11,Nt,1,0,"tr",12),i(),n(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(a){M(e);let s=b();return v(s.onPageChange(a))}),i()()}if(t&2){let e=r,o=b();p("dataSource",e.data),m(10),p("matHeaderRowDef",o.columns),m(),p("matRowDefColumns",o.columns),m(2),p("size",10)("items",e.items)}}var yt=(()=>{class t{router=d(j);route=d(k);dialogFacade=d(X);jobOpeningFacade=d(P);selectUser=d(rt);#e=Me(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(V(a=>a?a.id:"")),o=this.route.queryParams;A([e,o]).pipe(J()).subscribe(this.onQueryParams)}onQueryParams=([e,o])=>{let{page:a=0,size:s=10}=o,{open:C=null,active:N=null}=o,te={open:C,active:N,owner:e};this.jobOpeningFacade.setParams({page:a,size:s,filter:te}),this.jobOpeningFacade.load()};openDelete({id:e,title:o}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${o}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(a=>{a&&this.jobOpeningFacade.delete(e)})}openSelectUser(){this.selectUser.open({onlyRole:"recruiter",multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}onSearchChange(e=""){this.jobOpeningFacade.setFilter({title:e}),this.jobOpeningFacade.load()}onPageChange({page:e,size:o}){let a={page:e,size:o};this.router.navigate([],{queryParams:a})}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-manage-job-openings"]],decls:10,vars:4,consts:[[1,"job-penings-card"],[1,"job-openings-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(o,a){if(o&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),l(3,"Vagas"),i(),n(4,"div")(5,"button",2),f("click",function(){return a.openSelectUser()}),c(6,"devmx-icon",3),i(),n(7,"devmx-search-field",4),f("searchChange",function(C){return a.onSearchChange(C)}),i()()(),_(8,Vt,14,5),q(9,"async"),i()),o&2){let s;m(7),p("debounce",1e3),m(),S((s=z(9,2,a.jobOpeningFacade.response$))?8:-1,s)}},dependencies:[G,D,T,at,bt,mt,ct,gt,pt,st,ft,dt,ut,Ct,_t,K,Q,W,Ge,ze,H,U,F,B],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .job-openings-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .job-openings-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .job-openings-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();var Rt=(t,r)=>r.id;function At(t,r){if(t&1){let e=y();n(0,"devmx-job-opening-card",3)(1,"a",6),c(2,"devmx-icon",7),i(),n(3,"button",8),f("click",function(){let a=M(e).$implicit,s=b(2);return v(s.deleteJobOpening(a))}),c(4,"devmx-icon",9),i()()}if(t&2){let e=r.$implicit;p("data",e),m(),p("routerLink",e.id)}}function $t(t,r){t&1&&(n(0,"div",4)(1,"h2"),l(2,"N\xE3o temos nada aqui..."),i(),n(3,"h3"),l(4," Siga nessa dire\xE7\xE3o "),c(5,"devmx-icon",10)(6,"br"),l(7," at\xE9 encontrar o bot\xE3o com um "),c(8,"devmx-icon",11)(9,"br"),l(10," e cadastre suas vagas. "),c(11,"devmx-icon",12),i()()),t&2&&(m(5),p("size",32),m(3),p("size",32),m(3),p("size",32))}function It(t,r){if(t&1){let e=y();n(0,"div",2),O(1,At,5,2,"devmx-job-opening-card",3,Rt),i(),_(3,$t,12,3,"div",4),n(4,"footer")(5,"devmx-paginator",5),f("pageChange",function(a){M(e);let s=b();return v(s.onPageChange(a))}),i()()}if(t&2){let e=r;m(),w(e.data),m(2),S(e.items?-1:3),m(2),p("size",10)("items",e.items)}}var Pt=(()=>{class t{router=d(j);route=d(k);dialogFacade=d(X);authFacade=d(He);jobOpeningFacade=d(P);constructor(){let e=this.authFacade.auth$.pipe(me(a=>!!a),V(({id:a})=>a)),o=this.route.queryParams.pipe(V(({page:a,size:s,open:C=null,active:N=null})=>({page:a,size:s,open:C,active:N})));A([e,o]).pipe(J()).subscribe(this.onQueryParams)}onQueryParams=([e,o])=>{let{page:a,size:s,open:C,active:N}=o,te={open:C,active:N,owner:e};this.jobOpeningFacade.setParams({page:a,size:s,filter:te}),this.jobOpeningFacade.load()};deleteJobOpening({id:e,title:o}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${o}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(a=>{a&&this.jobOpeningFacade.delete(e)})}onPageChange({page:e,size:o}){let a={page:e,size:o};this.router.navigate([],{queryParams:a})}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-my-job-openings"]],decls:4,vars:3,consts:[["mat-fab","","routerLink","nova",1,"tertiary-fab","top","right"],["name","plus"],[1,"job-openings-container"],[3,"data"],[1,"no-job-openings-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar vaga","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar vaga","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(o,a){if(o&1&&(n(0,"a",0),c(1,"devmx-icon",1),i(),_(2,It,6,3),q(3,"async")),o&2){let s;m(2),S((s=z(3,1,a.jobOpeningFacade.response$))?2:-1,s)}},dependencies:[G,ue,D,Ve,T,Ne,H,qe,Le,U,F,B],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .job-openings-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-job-openings-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var Y=class extends E{constructor(){super({id:new u("",{nonNullable:!0}),name:new u("",{nonNullable:!0,validators:[g.required]})})}};var ae=class extends E{constructor(r){super({skill:new Y,weight:new u(0,{nonNullable:!0,validators:[g.min(0),g.max(100)]})}),r&&this.patchValue(r)}},Z=class extends je{constructor(){super([])}add(r){this.push(new ae(r))}childrenErrors=se([]);updateErrors(){let r=this.controls.map(e=>e.errors);this.childrenErrors.set(r)}};var ee=class extends E{types=[{value:"contract",viewValue:"Contrato"},{value:"freelance",viewValue:"Freelance"},{value:"full-time",viewValue:"Integral"},{value:"part-time",viewValue:"Meio periodo"}];modes=[{value:"remote",viewValue:"Remoto"},{value:"hybrid",viewValue:"H\xEDbrido"},{value:"office",viewValue:"Presencial"}];contracts=[{value:"CLT",viewValue:"CLT"},{value:"PJ",viewValue:"PJ"}];experiences=[{value:"internship",viewValue:"Estagi\xE1rio"},{value:"junior",viewValue:"Junior"},{value:"mid",viewValue:"Pleno"},{value:"senior",viewValue:"Senior"}];constructor(){super({id:new u("",{nonNullable:!0}),title:new u("",{nonNullable:!0,validators:[g.required]}),skills:new Z,type:new u("contract",{nonNullable:!0,validators:[g.required]}),requirements:new u("",{nonNullable:!0,validators:[g.required]}),mode:new u("hybrid",{nonNullable:!0,validators:[g.required]}),experience:new u("internship",{nonNullable:!0,validators:[g.required]}),description:new u("",{nonNullable:!0,validators:[g.required]}),contract:new u("CLT",{nonNullable:!0,validators:[g.required]}),salary:new E({min:new u,max:new u}),link:new u("",{nonNullable:!0}),contact:new u("",{nonNullable:!0}),company:new u("",{nonNullable:!0}),benefits:new u("",{nonNullable:!0}),active:new u(!0,{nonNullable:!0}),open:new u(!0,{nonNullable:!0})})}get skills(){return this.controls.skills}patch(r){if(this.patchValue(r),r.skills){this.skills.clear();for(let e of r.skills)this.skills.add(e)}}};var qt=(t,r)=>r.value;function zt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Bt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Gt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Lt(t,r){if(t&1&&(n(0,"mat-option",8),l(1),i()),t&2){let e=r.$implicit;p("value",e.value),m(),h(e.viewValue)}}function Ht(t,r){if(t&1){let e=y();n(0,"tr",21)(1,"td"),l(2),i(),n(3,"td",26)(4,"mat-slider",27),c(5,"input",28),i()(),n(6,"td"),l(7),i(),n(8,"td")(9,"button",29),f("click",function(){let a=M(e).$index,s=b();return v(s.form.skills.removeAt(a))}),c(10,"devmx-icon",30),i()()()}if(t&2){let e=r.$implicit,o=r.$index;p("formGroupName",o),m(2),h(e.value.skill==null?null:e.value.skill.name),m(5),h(e.value.weight)}}function Ut(t,r){t&1&&(n(0,"mat-error"),l(1,"Selecione ou cadastre ao menos uma habilidade"),i())}var re=(()=>{class t{route=d(k);router=d(j);cdr=d(pe);skillFacade=d(L);jobFacade=d(P);skillDialog=d(ht);messageService=d(Ae);form=new ee;#e={openSkill:new ne,searchSkill:new ne};constructor(){this.route.data.pipe(J()).subscribe(({jobOpening:e})=>{e&&e.id&&this.form.patch(e)})}openSkill(e){return this.skillDialog.open(e).subscribe(o=>{o&&(o.id?this.skillFacade.update(o):this.skillFacade.create(o))})}openSearchSkills(){this.skillDialog.select({multiple:!0}).subscribe(o=>{if(o&&o.length){for(let a of o)this.form.skills.add({weight:50,skill:a});this.cdr.detectChanges()}this.#e.openSkill.next(),this.#e.openSkill.complete(),this.#e.searchSkill.next(),this.#e.searchSkill.complete()})}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return e.id?this.jobFacade.update(e).pipe(ie(1)).subscribe(()=>{let s=["/","carreiras","administracao","minhas-ofertas"];this.router.navigate(s)}):this.jobFacade.create(e).pipe(ie(1)).subscribe(({id:s})=>{this.router.navigate(this.#t(s))}),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}#t(e){return["/","carreiras","administracao","minhas-ofertas",e]}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=x({type:t,selectors:[["devmx-career-admin-job-opening"]],decls:97,vars:6,consts:[["id","job",3,"submit","formGroup"],[1,"job-opening"],[1,"job-opening-content"],["matInput","","formControlName","title","autofocus",""],["label","Descri\xE7\xE3o","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"minRows"],[3,"content"],["label","Requisitos","hint","Compat\xEDvel com markdown do Github","formControlName","requirements",3,"minRows"],["formControlName","type"],[3,"value"],["formControlName","contract"],["matInput","","formControlName","benefits","cdkAutosizeMinRows","5","cdkTextareaAutosize",""],["formControlName","mode"],["formControlName","experience"],["formGroupName","salary"],["matInput","","formControlName","min"],["matInput","","formControlName","max"],["matInput","","formControlName","company"],["matInput","","formControlName","link"],[1,"job-opening-skills"],["mat-subheader",""],["formArrayName","skills"],[1,"flex",3,"formGroupName"],["mat-button","","type","button",1,"add-button",3,"click"],["name","search-list"],["align","end",1,"job-opening-actions"],["mat-flat-button",""],[1,"fill"],["min","0","max","100","step","1","discrete",""],["matSliderThumb","","formControlName","weight"],["type","button","mat-icon-button","",3,"click"],["name","close-cross"]],template:function(o,a){if(o&1&&(n(0,"form",0),f("submit",function(){return a.onSubmit()}),n(1,"mat-card",1)(2,"mat-card-content",2)(3,"section")(4,"mat-form-field")(5,"mat-label"),l(6,"T\xEDtulo da vaga"),i(),c(7,"input",3),n(8,"mat-error"),l(9,"Obrigat\xF3rio"),i()(),n(10,"devmx-markdown-toolbar"),c(11,"devmx-markdown-editor",4)(12,"devmx-markdown-view",5),i(),n(13,"devmx-markdown-toolbar"),c(14,"devmx-markdown-editor",6)(15,"devmx-markdown-view",5),i()(),n(16,"section")(17,"div")(18,"mat-form-field")(19,"mat-label"),l(20,"Formato"),i(),n(21,"mat-select",7),O(22,zt,2,2,"mat-option",8,R),i(),n(24,"mat-error"),l(25,"Obrigat\xF3rio"),i()(),n(26,"mat-form-field")(27,"mat-label"),l(28,"Contrato"),i(),n(29,"mat-select",9),O(30,Bt,2,2,"mat-option",8,R),i(),n(32,"mat-error"),l(33,"Obrigat\xF3rio"),i()()(),n(34,"div")(35,"mat-form-field")(36,"mat-label"),l(37,"Benef\xEDcios"),i(),c(38,"textarea",10),n(39,"mat-error"),l(40,"Obrigat\xF3rio"),i()()(),n(41,"div")(42,"mat-form-field")(43,"mat-label"),l(44,"Regime de trabalho"),i(),n(45,"mat-select",11),O(46,Gt,2,2,"mat-option",8,R),i(),n(48,"mat-error"),l(49,"Obrigat\xF3rio"),i()(),n(50,"mat-form-field")(51,"mat-label"),l(52,"Experi\xEAncia"),i(),n(53,"mat-select",12),O(54,Lt,2,2,"mat-option",8,R),i(),n(56,"mat-error"),l(57,"Obrigat\xF3rio"),i()()(),n(58,"div",13)(59,"mat-form-field")(60,"mat-label"),l(61,"M\xEDnimo de sal\xE1rio"),i(),c(62,"input",14),n(63,"mat-hint"),l(64,"Opcional"),i()(),n(65,"mat-form-field")(66,"mat-label"),l(67,"M\xE1ximo de sal\xE1rio"),i(),c(68,"input",15),n(69,"mat-hint"),l(70,"Opcional"),i()()(),n(71,"mat-form-field")(72,"mat-label"),l(73,"Empresa"),i(),c(74,"input",16),n(75,"mat-hint"),l(76,"Opcional"),i()(),n(77,"mat-form-field")(78,"mat-label"),l(79,"Link"),i(),c(80,"input",17),n(81,"mat-hint"),l(82,"Opcional"),i()(),n(83,"div",18)(84,"h3",19),l(85,"Habilidades"),i(),n(86,"table",20),O(87,Ht,11,3,"tr",21,qt),i(),_(89,Ut,2,0,"mat-error"),n(90,"button",22),f("click",function(){return a.openSearchSkills()}),c(91,"devmx-icon",23),n(92,"span"),l(93,"Encontrar habilidades"),i()()()()(),n(94,"mat-card-actions",24)(95,"button",25),l(96,"Salvar"),i()()()()),o&2){let s,C;p("formGroup",a.form),m(11),p("minRows",10),m(),p("content",(s=a.form.value.description)!==null&&s!==void 0?s:""),m(2),p("minRows",10),m(),p("content",(C=a.form.value.requirements)!==null&&C!==void 0?C:""),m(7),w(a.form.types),m(8),w(a.form.contracts),m(16),w(a.form.modes),m(8),w(a.form.experiences),m(33),w(a.form.skills.controls),m(2),S(a.form.skills.touched&&a.form.skills.hasError("required")?89:-1)}},dependencies:[Fe,ye,xe,Oe,we,Pe,ke,Se,Ee,Xe,Ke,Ye,he,be,fe,_e,Ce,D,Je,T,Ie,$e,ge,it,tt,nt,We,Qe,Ue,De,Te,K,Q,W,Be,F],styles:["[_nghost-%COMP%]{display:block;padding:1em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:100%;opacity:.72;margin-bottom:0}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{align-self:flex-start}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:1em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:8em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{width:3em}[_nghost-%COMP%] .job-opening-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%] div.job-opening-skills[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column} body .mat-mdc-button .mdc-button__label{display:inline-flex;align-items:center;gap:4px}"],changeDetection:0})}return t})();var Hi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:xt,component:vt,children:[{path:"minhas-ofertas/nova",data:{breadcrumb:"Nova"},title:"Nova vaga",component:re},{path:"minhas-ofertas/:id",data:{breadcrumb:t=>t.jobOpening.title},title:"Minha vaga",resolve:{jobOpening:Ot},component:re},{path:"minhas-ofertas",data:{breadcrumb:"Minhas vagas"},title:"Minhas vagas",component:Pt},{path:"gerenciar-ofertas",data:{breadcrumb:"Gerenciar ofertas"},title:"Gerenciar vagas",canActivate:[Ze("director","manager","staff")],component:yt},{path:"",pathMatch:"prefix",redirectTo:"minhas-ofertas"}]}];export{vt as CareerFeatureAdminComponent,Hi as careerFeatureAdminRoutes}; diff --git a/chunk-PUZOD6N6.js b/chunk-PUZOD6N6.js new file mode 100644 index 00000000..5b8f9d38 --- /dev/null +++ b/chunk-PUZOD6N6.js @@ -0,0 +1 @@ +import{a as mo,b as so,c as co}from"./chunk-LKFEOD7V.js";import{a as yo}from"./chunk-4GWBJQXV.js";import{a as Gt}from"./chunk-2ZQUZ4JV.js";import{b as Lt,c as Nt,d as Vt,e as At,f as $t,g as Rt}from"./chunk-GXWUGGBK.js";import{a as wo,b as Fo,c as Po,d as So,e as Do,f as ko}from"./chunk-4YGLTYA3.js";import{a as po,b as uo,c as fo,e as bo}from"./chunk-75BM4JAG.js";import{a as Zt,b as Yt}from"./chunk-FJPP4CEK.js";import{a as Kt,b as Xt}from"./chunk-I7HMQKPZ.js";import{a as tt}from"./chunk-Z63MF55O.js";import{a as go,b as ho,c as Co,d as vo,f as _o,g as xo,h as Mo}from"./chunk-6PKCOWVT.js";import{c as no,d as ro,e as ao,f as lo}from"./chunk-BJPVFIKR.js";import{a as jt}from"./chunk-FY4SNPSV.js";import{a as Ve}from"./chunk-FKKUCUPL.js";import{b as Ne}from"./chunk-RN4QN3AM.js";import{a as Wt}from"./chunk-B7ATSCPT.js";import{a as Bt}from"./chunk-EM27EDGS.js";import{a as Ae,b as $e}from"./chunk-KCQYBIUM.js";import{a as Ht}from"./chunk-HY6WPF2C.js";import{b as Et}from"./chunk-4OXAFH6K.js";import{a as St}from"./chunk-C7FIZGKV.js";import"./chunk-5ZT2NHQS.js";import"./chunk-OQLD3BC6.js";import{a as Qt}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{c as Ut}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as ae,b as Re,f as Jt}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import{b as yt,g as wt,r as et,v as Ft,w as Pt}from"./chunk-7BKB7KKA.js";import{a as eo,b as to,c as oo,h as io}from"./chunk-J4P2XXRU.js";import{d as J,e as U}from"./chunk-A74J7Y3C.js";import{a as zt,b as qt}from"./chunk-46FZR7EY.js";import{b as Y,c as ge,e as bt,i as z,j as G}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as se}from"./chunk-366DNJGU.js";import{i as _t,j as ue,p as xt,q as Le,r as Tt,v as re,x as N}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as ee,b as he,c as Te,e as te,f as oe,g as ie,l as ne}from"./chunk-UANEMOTZ.js";import{a as Ce,b as ve,f as _e,i as W}from"./chunk-BJ2ND26O.js";import{a as P,c as H,e as b,f as h,g as Dt,h as S,i as j,j as T,l as u,m as Oe,o as kt,p as Ie,q,r as Ot,s as L,v as It,w as Ee,x as w}from"./chunk-E5QACR6S.js";import{ca as Mt,pa as fe}from"./chunk-CG5OOKZO.js";import{$b as x,B as lt,Ba as Pe,F as Z,Fb as Me,Fc as E,Gb as ut,Ha as Se,Hc as Q,Ia as y,J as Fe,Ja as pt,Jc as $,Kc as B,L as me,Lc as Ct,Nb as C,Ob as pe,Pb as de,Sb as ft,Sc as ke,Tb as p,Y as mt,Yb as F,_ as st,a as nt,ac as M,b as rt,bc as n,cc as a,d as Ye,dc as l,gb as ce,hc as R,je as K,ka as s,kc as g,lb as c,mb as dt,mc as O,pe as vt,t as at,ta as D,ua as k,ub as f,uc as gt,va as ct,vc as ht,wb as De,wc as X,xc as m,yc as A,zc as I}from"./chunk-5L47ZUSK.js";var Oo=(()=>{class e{router=s(_t);destroyRef=s(Pe);authFacade=s(ae);layoutFacade=s(Ne);ngOnInit(){this.authFacade.auth$.pipe(se(this.destroyRef)).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(se(this.destroyRef)).subscribe(t=>{t||(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-feature-shell"]],decls:1,vars:0,template:function(o,r){o&1&&l(0,"devmx-layout")},dependencies:[xt,Gt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();function Io(e){return i=>!i.value||i.value.trim()===""||e.test(i.value)?null:{invalidPhone:{value:i.value}}}var Ge=(()=>{class e{ngControl;previousValue="";constructor(t){this.ngControl=t}onInput(t){let o=t.value.replace(/\D/g,""),r="";if(o.length>10?r=o.replace(/(\d{2})(\d{5})(\d{4})/,"($1) $2-$3"):o.length>6?r=o.replace(/(\d{2})(\d{4})(\d{0,4})/,"($1) $2-$3"):o.length>2?r=o.replace(/(\d{2})(\d{0,4})/,"($1) $2"):o.length>0&&(r=o.replace(/(\d*)/,"($1")),t.value.length()=>{let i=s(ae),t=i.auth$.pipe(Z(o=>!!o),at(o=>o.roles[e]));return i.load(),t};var Lo=(()=>{class e{authFacade=s(ae);layoutFacade=s(Ne);ngOnInit(){this.authFacade.signOut(),this.layoutFacade.resetNavLinks()}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-sign-out"]],decls:0,vars:0,template:function(o,r){},encapsulation:2})}return e})();var No=(()=>{class e{container=s(h);get form(){return this.container.control}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-visibility"]],features:[E([],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:19,vars:0,consts:[["formGroupName","visibility"],["formControlName","email"],["formControlName","phone"],["formControlName","gender"],["formControlName","birthday"],["formControlName","roles"],["formControlName","events"],["formControlName","presentations"],["formControlName","skills"],["formControlName","photos"]],template:function(o,r){o&1&&(n(0,"div",0)(1,"mat-checkbox",1),m(2,"Endere\xE7o de e-mail"),a(),n(3,"mat-checkbox",2),m(4,"Telefone"),a(),n(5,"mat-checkbox",3),m(6,"G\xEAnero"),a(),n(7,"mat-checkbox",4),m(8,"Data de nascimento"),a(),n(9,"mat-checkbox",5),m(10,"Permiss\xF5es"),a(),n(11,"mat-checkbox",6),m(12,"Eventos"),a(),n(13,"mat-checkbox",7),m(14,"Apresenta\xE7\xF5es"),a(),n(15,"mat-checkbox",8),m(16,"Habilidades"),a(),n(17,"mat-checkbox",9),m(18,"Fotos"),a()())},dependencies:[w,S,j,L,q,Xt,Kt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1278px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}"],changeDetection:0})}return e})();var Vo=(()=>{class e{icon=y("tech/folder-opened");accept=y(["image/png","image/jpeg","image/svg+xml","image/webp"]);selectChange=Se();onFilesChange(t){let[o]=Array.from(t??[]);o&&this.selectChange.emit(o)}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-select-file"]],inputs:{icon:[1,"icon"],accept:[1,"accept"]},outputs:{selectChange:"selectChange"},decls:4,vars:1,consts:[["input",""],["hidden","","type","file","name","file",3,"change","accept"],["type","button","mat-icon-button","",3,"click"],["name","tech/folder-opened"]],template:function(o,r){if(o&1){let d=R();n(0,"input",1,0),g("change",function(){D(d);let V=X(1);return k(r.onFilesChange(V.files))}),a(),n(2,"button",2),g("click",function(){D(d);let V=X(1);return k(V.click())}),l(3,"devmx-icon",3),a()}o&2&&p("accept",r.accept())},dependencies:[N,re,P],encapsulation:2,changeDetection:0})}return e})();var He=(()=>{class e{ref=s(pt);destroy=s(Pe);get context(){return this.ref.nativeElement.getContext("2d")}image=new Image;position=new et;mouse=new et;isDragging=!1;scale=1;ngAfterViewInit(){this.ref.nativeElement.addEventListener("mousemove",this.dragImage),this.ref.nativeElement.addEventListener("mousedown",this.startDrag),this.ref.nativeElement.addEventListener("mouseleave",this.stopDrag),this.ref.nativeElement.addEventListener("mouseup",this.stopDrag),this.image.addEventListener("load",this.drawImage),this.destroy.onDestroy(()=>{this.ref.nativeElement.removeEventListener("mousemove",this.dragImage),this.ref.nativeElement.removeEventListener("mousedown",this.startDrag),this.ref.nativeElement.removeEventListener("mouseleave",this.stopDrag),this.ref.nativeElement.removeEventListener("mouseup",this.stopDrag),this.image.removeEventListener("load",this.drawImage)})}drawImage=()=>{if(!this.image||!this.context)return;let{width:t,height:o}=this.context.canvas;this.context.clearRect(0,0,t,o);let{x:r,y:d}=this.position,v=this.image.width*this.scale,V=this.image.height*this.scale;this.context.drawImage(this.image,r,d,v,V)};zoomIn(){this.scale*=1.1,this.drawImage()}zoomOut(){this.scale/=1.1,this.drawImage()}startDrag=({clientX:t,clientY:o})=>{this.isDragging=!0,this.mouse.set(t,o)};stopDrag=()=>{this.isDragging=!1};dragImage=({clientX:t,clientY:o})=>{if(this.isDragging){let r=t-this.mouse.x,d=o-this.mouse.y;this.position.add({x:r,y:d}),this.mouse.set(t,o),this.drawImage()}};static \u0275fac=function(o){return new(o||e)};static \u0275dir=De({type:e,selectors:[["canvas","devmxCropPhoto",""]]})}return e})();var Ao=(()=>{class e{ref=s(no);data=s(ro);cropPhoto=ut(He);ngAfterViewInit(){let t=this.cropPhoto();t&&(t.image.src=URL.createObjectURL(this.data.file))}zoomIn(){this.cropPhoto()?.zoomIn()}zoomOut(){this.cropPhoto()?.zoomOut()}crop(){let t=document.createElement("canvas"),o=t.getContext("2d"),r=this.cropPhoto();if(!r||!r.context||!o)return;t.width=r.context.canvas.width,t.height=r.context.canvas.height;let{x:d,y:v}=r.position,V=r.image.width*r.scale,ni=r.image.height*r.scale;o.drawImage(r.image,d,v,V,ni),t.toBlob(it=>{it&&this.ref.close(it)})}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-user-photo"]],viewQuery:function(o,r){o&1&>(r.cropPhoto,He,5),o&2&&ht()},decls:11,vars:0,consts:[[1,"canvas-wrapper"],["devmxCropPhoto","","width","400","height","400"],[1,"canvas-overlay"],["type","button","mat-icon-button","",3,"click"],["name","zoom-plus"],["name","zoom-minus"],["mat-icon-button","",3,"click"],["name","menu/crop"]],template:function(o,r){o&1&&(n(0,"div",0),l(1,"canvas",1)(2,"div",2),a(),n(3,"footer")(4,"div")(5,"button",3),g("click",function(){return r.zoomIn()}),l(6,"devmx-icon",4),a(),n(7,"button",3),g("click",function(){return r.zoomOut()}),l(8,"devmx-icon",5),a()(),n(9,"button",6),g("click",function(){return r.crop()}),l(10,"devmx-icon",7),a()())},dependencies:[lo,N,re,He,P],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;border-radius:1em;overflow:hidden;background-color:#fff}[_nghost-%COMP%] .canvas-wrapper[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .canvas-overlay[_ngcontent-%COMP%]{top:0;left:0;width:400px;height:400px;position:absolute;pointer-events:none;overflow:hidden}[_nghost-%COMP%] .canvas-overlay[_ngcontent-%COMP%]:before{content:"";position:absolute;top:1em;left:1em;width:calc(100% - 2em);height:calc(100% - 2em);background:transparent;border:1px dashed rgba(255,255,255,.8);border-radius:50%;box-shadow:0 0 0 100vmax #0009}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{padding:1em;display:flex;align-items:center;justify-content:space-between}'],changeDetection:0})}return e})();var ye=class{dialog;constructor(i){this.dialog=i}open(i){return this.dialog.open(Ao,{data:i})}};function je(){return{provide:ye,deps:[ao]}}var Ue=class extends T{constructor(){super({email:new u("",{nonNullable:!0,validators:[b.required,b.email]}),phone:new u("",{nonNullable:!0,validators:[b.maxLength(15),Io(/^\(\d{2}\) \d{4,5}-\d{4}$/)]})})}};var Be=class extends T{genders=[{value:"female",viewValue:"Feminino"},{value:"male",viewValue:"Masculino"},{value:"non-binary",viewValue:"N\xE3o bin\xE1rio"},{value:"gender-fluid",viewValue:"G\xEAnero flu\xEDdo"},{value:"agender",viewValue:"Ag\xEAnero"},{value:"prefer-not-to-say",viewValue:"Prefiro n\xE3o dizer"},{value:"",viewValue:"Outro"}];get gender(){return this.controls.gender}constructor(){super({minibio:new u("",{nonNullable:!0,validators:[b.maxLength(102400)]}),birthday:new u,gender:new u,photo:new u})}};var ze=class extends T{constructor(){super({academic:new u(!1,{nonNullable:!0}),director:new u({value:!1,disabled:!0},{nonNullable:!0}),donor:new u({value:!1,disabled:!0},{nonNullable:!0}),fellow:new u({value:!1,disabled:!0},{nonNullable:!0}),leader:new u({value:!1,disabled:!0},{nonNullable:!0}),manager:new u({value:!1,disabled:!0},{nonNullable:!0}),member:new u(!1,{nonNullable:!0,validators:[b.requiredTrue]}),neighbor:new u({value:!1,disabled:!0},{nonNullable:!0}),recruiter:new u(!1,{nonNullable:!0}),speaker:new u(!1,{nonNullable:!0}),staff:new u({value:!1,disabled:!0},{nonNullable:!0})})}};var ri=(e,i)=>i.id;function ai(e,i){if(e&1&&(n(0,"mat-option",3),m(1),a()),e&2){let t=i.$implicit;p("value",t),c(),A(t.name)}}function li(e,i){e&1&&x(0,ai,2,2,"mat-option",3,ri),e&2&&M(i.data)}var Ro=(()=>{class e{skillFacade=s(Ve);selected=Se();label=y("Habilidade");control=new u("");constructor(){this.control.valueChanges.pipe(Z(t=>typeof t=="string"),Z(t=>t.length>0),se(),Fe(400)).subscribe(t=>{this.skillFacade.setFilter({name:t}),this.skillFacade.load()})}displayFn(t){return t&&t.name?t.name:""}onOptionSelected(t){this.selected.emit(t),this.control.setValue("")}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-search-skill"]],inputs:{label:[1,"label"]},outputs:{selected:"selected"},decls:8,vars:7,consts:[["auto","matAutocomplete"],["matInput","",3,"formControl","matAutocomplete"],[3,"optionSelected","displayWith"],[3,"value"]],template:function(o,r){if(o&1){let d=R();n(0,"mat-form-field")(1,"mat-label"),m(2),a(),l(3,"input",1),n(4,"mat-autocomplete",2,0),g("optionSelected",function(V){return D(d),k(r.onOptionSelected(V.option.value))}),C(6,li,2,0),$(7,"async"),a()()}if(o&2){let d,v=X(5);c(2),A(r.label()),c(),p("formControl",r.control)("matAutocomplete",v),c(),p("displayWith",r.displayFn),c(2),F((d=B(7,5,r.skillFacade.response$))?6:-1,d)}},dependencies:[w,H,S,kt,co,mo,fe,so,G,z,Y,U,J,K],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();function mi(e,i){if(e&1&&(ct(),n(0,"svg",0),l(1,"path",2),a()),e&2){let t=O();c(),ft("fill",t.color())}}function si(e,i){if(e&1&&l(0,"img",1),e&2){let t=O();p("src",t.path,ce)}}var Go=(()=>{class e{env=s(yt);color=y("#333");src=y();get path(){return`${this.env.photos.url}/${this.src()}`}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-avatar"]],inputs:{color:[1,"color"],src:[1,"src"]},decls:2,vars:1,consts:[["fill","none","viewBox","0 0 48 48","xmlns","http://www.w3.org/2000/svg"],["alt","Avatar",3,"src"],["d","M11.7 34.2C13.4 32.9 15.3 31.875 17.4 31.125C19.5 30.375 21.7 30 24 30C26.3 30 28.5 30.375 30.6 31.125C32.7 31.875 34.6 32.9 36.3 34.2C37.4667 32.8333 38.375 31.2833 39.025 29.55C39.675 27.8167 40 25.9667 40 24C40 19.5667 38.4417 15.7917 35.325 12.675C32.2083 9.55833 28.4333 8 24 8C19.5667 8 15.7917 9.55833 12.675 12.675C9.55833 15.7917 8 19.5667 8 24C8 25.9667 8.325 27.8167 8.975 29.55C9.625 31.2833 10.5333 32.8333 11.7 34.2ZM24 26C22.0333 26 20.375 25.325 19.025 23.975C17.675 22.625 17 20.9667 17 19C17 17.0333 17.675 15.375 19.025 14.025C20.375 12.675 22.0333 12 24 12C25.9667 12 27.625 12.675 28.975 14.025C30.325 15.375 31 17.0333 31 19C31 20.9667 30.325 22.625 28.975 23.975C27.625 25.325 25.9667 26 24 26ZM24 44C21.2333 44 18.6333 43.475 16.2 42.425C13.7667 41.375 11.65 39.95 9.85 38.15C8.05 36.35 6.625 34.2333 5.575 31.8C4.525 29.3667 4 26.7667 4 24C4 21.2333 4.525 18.6333 5.575 16.2C6.625 13.7667 8.05 11.65 9.85 9.85C11.65 8.05 13.7667 6.625 16.2 5.575C18.6333 4.525 21.2333 4 24 4C26.7667 4 29.3667 4.525 31.8 5.575C34.2333 6.625 36.35 8.05 38.15 9.85C39.95 11.65 41.375 13.7667 42.425 16.2C43.475 18.6333 44 21.2333 44 24C44 26.7667 43.475 29.3667 42.425 31.8C41.375 34.2333 39.95 36.35 38.15 38.15C36.35 39.95 34.2333 41.375 31.8 42.425C29.3667 43.475 26.7667 44 24 44ZM24 40C25.7667 40 27.4333 39.7417 29 39.225C30.5667 38.7083 32 37.9667 33.3 37C32 36.0333 30.5667 35.2917 29 34.775C27.4333 34.2583 25.7667 34 24 34C22.2333 34 20.5667 34.2583 19 34.775C17.4333 35.2917 16 36.0333 14.7 37C16 37.9667 17.4333 38.7083 19 39.225C20.5667 39.7417 22.2333 40 24 40ZM24 22C24.8667 22 25.5833 21.7167 26.15 21.15C26.7167 20.5833 27 19.8667 27 19C27 18.1333 26.7167 17.4167 26.15 16.85C25.5833 16.2833 24.8667 16 24 16C23.1333 16 22.4167 16.2833 21.85 16.85C21.2833 17.4167 21 18.1333 21 19C21 19.8667 21.2833 20.5833 21.85 21.15C22.4167 21.7167 23.1333 22 24 22Z"]],template:function(o,r){o&1&&C(0,mi,2,1,":svg:svg",0)(1,si,1,1,"img",1),o&2&&F(r.src()===""?0:1)},styles:["[_nghost-%COMP%]{display:inline-flex;border-radius:50%;overflow:hidden;width:inherit;height:auto}[_nghost-%COMP%] img[_ngcontent-%COMP%]{width:inherit;height:auto}"],changeDetection:0})}return e})();var Je=class extends T{constructor(i){super({skill:new yo,weight:new u(0,{nonNullable:!0,validators:[b.min(0),b.max(100)]})}),i&&this.patchValue(i)}},Ze=class extends Ee{constructor(){super([])}add(i){this.push(new Je(i))}has(i){return this.value.some(t=>t.skill===i)}patchValue(i,t){for(let o of i)this.has(o.skill)||this.push(new Je(o),t)}};var xe=class extends T{constructor(i){super({type:new u("website",{nonNullable:!0,validators:[b.required]}),username:new u("",{nonNullable:!0,validators:[b.required]})}),i&&this.patchValue(i)}},Qe=class extends Ee{constructor(){super([])}add(i){this.push(new xe(i))}has(i){return this.value.some(t=>t.type===i)}patchValue(i,t){for(let o of i)this.has(o.type)||this.push(new xe(o),t)}};var Ke=class extends T{constructor(){super({email:new u(!1,{nonNullable:!0}),phone:new u(!1,{nonNullable:!0}),birthday:new u(!1,{nonNullable:!0}),gender:new u(!1,{nonNullable:!0}),roles:new u(!1,{nonNullable:!0}),events:new u(!1,{nonNullable:!0}),photos:new u(!1,{nonNullable:!0}),presentations:new u(!1,{nonNullable:!0}),skills:new u(!1,{nonNullable:!0})})}};var Xe=class extends T{constructor(){super({id:new u("",{nonNullable:!0,validators:[b.required]}),name:new u("",{nonNullable:!0,validators:[b.required,b.pattern(/^[a-z0-9]+$/)]}),displayName:new u("",{nonNullable:!0,validators:[b.required]}),profile:new Be,contact:new Ue,social:new Qe,active:new u,roles:new ze,skills:new Ze,visibility:new Ke})}get profile(){return this.controls.profile}get contact(){return this.controls.contact}get social(){return this.controls.social}get roles(){return this.controls.roles}get skills(){return this.controls.skills}patch(i){this.patchValue(i),i.social&&i.social.length&&this.social.patchValue(i.social)}};var pi=(e,i)=>i.value;function di(e,i){if(e&1&&(n(0,"mat-option",3),m(1),a()),e&2){let t=i.$implicit;p("value",t.value),c(),I(" ",t.viewValue," ")}}function ui(e,i){e&1&&(n(0,"mat-form-field"),l(1,"input",7),n(2,"mat-error"),m(3,"Inv\xE1lido"),a()())}function fi(e,i){e&1&&(n(0,"mat-form-field"),l(1,"input",8),n(2,"mat-error"),m(3,"Inv\xE1lido"),a()())}var Ho=(()=>{class e{ref=s(go);data=s(ho);allOptions=[{value:"website",viewValue:"Website"},{value:"github",viewValue:"Github"},{value:"linkedIn",viewValue:"Linked In"},{value:"whatsApp",viewValue:"WhatsApp"},{value:"notion",viewValue:"Notion"},{value:"instagram",viewValue:"Instagram"}];options=Me([]);form=new xe;ngOnInit(){if(this.data){let t=this.allOptions.filter(o=>this.data.items.every(r=>o.value!==r.type));this.options.set(t)}}onSubmit(){return this.form.valid?this.ref.close(this.form.getRawValue()):this.form.markAllAsTouched()}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-user-social"]],decls:13,vars:2,consts:[[3,"submit","formGroup"],[1,"user-social-dialog-content"],["formControlName","type"],[3,"value"],[1,"user-social-dialog-actions"],["type","button","mat-button","","mat-dialog-close",""],["mat-flat-button",""],["matInput","","formControlName","username","devmxPhone","","maxlength","15"],["matInput","","formControlName","username"]],template:function(o,r){o&1&&(n(0,"form",0),g("submit",function(){return r.onSubmit()}),n(1,"mat-dialog-content",1)(2,"mat-form-field")(3,"mat-select",2),x(4,di,2,2,"mat-option",3,pi),a()(),C(6,ui,4,0,"mat-form-field")(7,fi,4,0,"mat-form-field"),a(),n(8,"mat-dialog-actions",4)(9,"button",5),m(10,"Cancelar"),a(),n(11,"button",6),m(12,"Salvar"),a()()()),o&2&&(p("formGroup",r.form),c(4),M(r.options()),c(2),F(r.form.value.type==="whatsApp"?6:7))},dependencies:[w,Oe,H,S,j,It,Ie,L,Mo,vo,xo,_o,N,Le,$e,z,ge,Ae,fe,G,U,J,Ge],styles:["[_nghost-%COMP%] .user-social-dialog-content[_ngcontent-%COMP%]{gap:1em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .user-social-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})}return e})();var we=class{dialog;constructor(i){this.dialog=i}open(i){return this.dialog.open(Ho,{data:i})}};function jo(){return{provide:we,deps:[Co]}}var gi=(e,i)=>i.value;function hi(e,i){if(e&1&&(n(0,"mat-option",3),m(1),a()),e&2){let t=i.$implicit;p("value",t.value),c(),I(" ",t.viewValue," ")}}var Uo=(()=>{class e{container=s(h);get form(){return this.container.control}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-profile"]],features:[E([Mt(),je()],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:15,vars:2,consts:[["picker",""],["formGroupName","profile"],["formControlName","gender"],[3,"value"],["matInput","","formControlName","birthday","readonly","",3,"focus","matDatepicker"],["matIconSuffix","",3,"for"]],template:function(o,r){if(o&1){let d=R();n(0,"div",1)(1,"div")(2,"mat-form-field")(3,"mat-label"),m(4,"G\xEAnero"),a(),n(5,"mat-select",2),x(6,hi,2,2,"mat-option",3,gi),a()(),n(8,"mat-form-field")(9,"mat-label"),m(10,"Data de nascimento"),a(),n(11,"input",4),g("focus",function(){D(d);let V=X(14);return k(V.open())}),a(),l(12,"mat-datepicker-toggle",5)(13,"mat-datepicker",null,0),a()()()}if(o&2){let d=X(14);c(6),M(r.form.profile.genders),c(5),p("matDatepicker",d),c(),p("for",d)}},dependencies:[w,H,S,j,L,q,io,eo,to,oo,G,z,Y,bt,$e,Ae,fe,U,J],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return e})();var Bo=(()=>{class e{container=s(h);get form(){return this.container.control}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-contact"]],features:[E([],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:13,vars:0,consts:[["formGroupName","contact"],["matInput","","type","email","formControlName","email","autocomplete","email"],["matInput","","formControlName","phone","autocomplete","mobile","devmxPhone",""]],template:function(o,r){o&1&&(n(0,"div",0)(1,"mat-form-field")(2,"mat-label"),m(3,"E-mail"),a(),l(4,"input",1),n(5,"mat-error"),m(6,"Inv\xE1lido"),a()(),n(7,"mat-form-field")(8,"mat-label"),m(9,"Telefone"),a(),l(10,"input",2),n(11,"mat-error"),m(12,"Inv\xE1lido"),a()()())},dependencies:[w,H,S,j,L,q,Ge,G,z,Y,ge,U,J],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return e})();var Ci=(e,i)=>i.value;function vi(e,i){e&1&&l(0,"div",12)}function _i(e,i){if(e&1){let t=R();n(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",3),C(2,vi,1,0,"div",4),n(3,"mat-panel-title",5),l(4,"devmx-icon",6),n(5,"span"),m(6),a()(),n(7,"mat-panel-description",7),m(8),a(),n(9,"button",8),g("click",function(){let r=D(t).$index,d=O();return k(d.form.skills.removeAt(r))}),l(10,"devmx-icon",9),a()(),n(11,"div")(12,"mat-slider",10),l(13,"input",11),a()()()}if(e&2){let t=i.$implicit,o=i.$index,r=O();p("cdkDragData",t)("formGroupName",o),c(6),I(" ",t.value.skill==null?null:t.value.skill.name," "),c(2),I(" ",t.value.weight,"% "),c(4),p("displayWith",r.formatLabel)}}var zo=(()=>{class e{container=s(h);skillFacade=s(Ve);cdr=s(ke);get form(){return this.container.control}onNewSkill(t){this.form.skills.add({skill:t,weight:0})}formatLabel(t){return`${t}%`}drop(t){wo(this.form.skills.controls,t.previousIndex,t.currentIndex)}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-skills"]],features:[E([],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:4,vars:0,consts:[["hideToggle","","cdkDropList","","formArrayName","skills",1,"skills-list",3,"cdkDropListDropped"],["cdkDrag","",1,"skill-item",3,"cdkDragData","formGroupName"],[3,"selected"],[1,"skill-header"],["class","drag-placeholder",4,"cdkDragPlaceholder"],[1,"skill-title"],["name","drag/indicator","cdkDragHandle",""],[1,"skill-weight"],["type","button","mat-icon-button","",3,"click"],["name","trash"],["min","0","max","100","step","10","discrete","","showTickMarks","",3,"displayWith"],["matSliderThumb","","formControlName","weight"],[1,"drag-placeholder"]],template:function(o,r){o&1&&(n(0,"mat-accordion",0),g("cdkDropListDropped",function(v){return r.drop(v)}),x(1,_i,14,5,"mat-expansion-panel",1,Ci),a(),n(3,"devmx-search-skill",2),g("selected",function(v){return r.onNewSkill(v)}),a()),o&2&&(c(),M(r.form.skills.controls))},dependencies:[Et,Ro,w,H,S,j,L,q,Ot,Rt,$t,Lt,Nt,At,Vt,N,re,ko,So,Po,Fo,Do,W,P,fo,po,uo],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .cdk-drag-preview[_ngcontent-%COMP%]{border:none;box-sizing:border-box}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%]{flex:1;display:flex;justify-content:space-between;align-items:center}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .skill-title[_ngcontent-%COMP%]{gap:.4em;display:flex}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .skill-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.4}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .drag-placeholder[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1);background-color:#666;min-height:60px}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]{cursor:grab}[_nghost-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-header[_ngcontent-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]:active{cursor:grabbing}[_nghost-%COMP%] .skill-weight[_ngcontent-%COMP%]{max-width:3em}[_nghost-%COMP%] .cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}[_nghost-%COMP%] .skills-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .skills-list[_ngcontent-%COMP%] .skill-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:first-of-type{border-top-right-radius:none;border-top-left-radius:none}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:none}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{background:transparent}"]})}return e})();var xi=(e,i)=>i.id,Mi=e=>[e],bi=e=>({right:e}),yi=e=>({outlets:e}),wi=e=>["/","carreiras",e];function Fi(e,i){if(e&1&&(n(0,"a",1),l(1,"devmx-icon",2),n(2,"div",3),m(3),a(),n(4,"div",4),m(5),$(6,"jobMode"),a()()),e&2){let t=i.$implicit;p("routerLink",Q(11,wi,Q(9,yi,Q(7,bi,Q(5,Mi,t.id))))),c(3),A(t.title),c(2),A(B(6,3,t.mode))}}var Wo=(()=>{class e{data=y([]);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-job-opening-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"job-openings-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","finance/bullseye"],["matListItemTitle",""],["matListItemLine",""]],template:function(o,r){o&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Vagas"),a()(),n(4,"mat-list"),x(5,Fi,7,13,"a",1,xi),a()()),o&2&&(c(5),M(r.data()))},dependencies:[W,Ce,_e,ve,ne,oe,ie,te,he,ee,P,ue,Wt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var Jo=(e,i)=>i.id;function Pi(e,i){if(e&1&&(n(0,"label"),m(1),a()),e&2){let t=i.$implicit;c(),I("#",t.name,"")}}function Si(e,i){if(e&1&&(n(0,"a",1),l(1,"devmx-icon",2),n(2,"div",3),m(3),a(),n(4,"div",4),x(5,Pi,2,1,"label",null,Jo),a(),n(7,"var",5),m(8),a()()),e&2){let t=i.$implicit;p("href",t.html_url,ce),c(3),A(t.title),c(2),M(t.labels),c(3),I("#",t.number,"")}}var Zo=(()=>{class e{data=y([]);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-issue-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"contributors-card"],["mat-list-item","","target","_blank","rel","noopener noreferrer",3,"href"],["matListItemIcon","","name","transport/swap-locations"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta",""]],template:function(o,r){o&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Contribua"),a()(),n(4,"mat-list"),x(5,Si,9,3,"a",1,Jo),a()()),o&2&&(c(5),M(r.data()))},dependencies:[W,Ce,_e,ve,ne,oe,ie,te,he,ee,Te,P],styles:["[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var Di=(e,i)=>i.id,ki=e=>["/","albuns",e];function Oi(e,i){if(e&1&&(n(0,"a",1),l(1,"devmx-icon",2),n(2,"div",3),m(3),a(),n(4,"div",4),m(5),$(6,"date"),a()()),e&2){let t=i.$implicit;p("routerLink",Q(6,ki,t.id)),c(3),A(t.title),c(2),A(Ct(6,3,t.createdAt,"longDate"))}}var Qo=(()=>{class e{data=y([]);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-album-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"albums-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","photo"],["matListItemTitle",""],["matListItemLine",""]],template:function(o,r){o&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),m(3,"Fotos"),a()(),n(4,"mat-list"),x(5,Oi,7,8,"a",1,Di),a()()),o&2&&(c(5),M(r.data()))},dependencies:[W,Ce,_e,ve,ne,oe,ie,te,he,ee,P,vt,ue],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var Ii=(e,i)=>i.id;function Ei(e,i){if(e&1&&(n(0,"mat-chip"),l(1,"img",0),m(2),a()),e&2){let t=i.$implicit;c(),p("src",t.avatar_url,ce)("alt",t.login),c(),I(" ",t.login," ")}}var Ko=(()=>{class e{data=y([]);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-contributors"]],inputs:{data:[1,"data"]},decls:3,vars:0,consts:[["matChipAvatar","",3,"src","alt"]],template:function(o,r){o&1&&(n(0,"marquee"),x(1,Ei,3,3,"mat-chip",null,Ii),a()),o&2&&(c(),M(r.data()))},dependencies:[qt,zt],styles:["[_nghost-%COMP%] mat-chip[_ngcontent-%COMP%]{margin-right:1em}"],changeDetection:0})}return e})();var Xo=(()=>{class e{type=y.required();get icon(){switch(this.type()){case"github":return"social/github";case"linkedIn":return"social/linkedin";case"instagram":return"social/instagram";case"notion":return"social/notion";case"website":return"software/web-info";case"whatsApp":return"social/whatsapp"}}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-social-icon"]],inputs:{type:[1,"type"]},decls:1,vars:1,consts:[[3,"name"]],template:function(o,r){o&1&&l(0,"devmx-icon",0),o&2&&p("name",r.icon)},dependencies:[P],encapsulation:2,changeDetection:0})}return e})();var Ti=(e,i)=>i.value.type;function Li(e,i){if(e&1){let t=R();n(0,"mat-list-item"),l(1,"devmx-social-icon",2),n(2,"div",3),m(3),a(),n(4,"button",4),g("click",function(){let r=D(t).$index,d=O();return k(d.form.social.removeAt(r))}),l(5,"devmx-icon",5),a()()}if(e&2){let t=i.$implicit;c(),p("type",t.value.type),c(2),A(t.value.username)}}var Yo=(()=>{class e{container=s(h);cdr=s(ke);userSocial=s(we);get form(){return this.container.control}addSocial(){let t=this.form.social.getRawValue();this.userSocial.open({items:t}).afterClosed().pipe(me(1)).subscribe(o=>{o&&(this.form.social.add(o),this.cdr.detectChanges())})}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-social"]],features:[E([jo()],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:7,vars:0,consts:[["type","button","mat-icon-button","",3,"click"],["name","message/circle-plus"],["matListItemIcon","",3,"type"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(o,r){o&1&&(n(0,"div")(1,"mat-list"),x(2,Li,6,2,"mat-list-item",null,Ti),a(),n(4,"footer")(5,"button",0),g("click",function(){return r.addSocial()}),l(6,"devmx-icon",1),a()()()),o&2&&(c(2),M(r.form.social.controls))},dependencies:[w,Xo,G,N,re,U,ne,oe,ie,te,ee,Te,P],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin-left:.6em}"]})}return e})();function Ni(e,i){e&1&&m(0," Use apenas letras do alfabeto min\xFAsculas ")}function Vi(e,i){e&1&&m(0," Obrigat\xF3rio ")}var ei=(()=>{class e{container=s(h);get form(){return this.container.control}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account-user"]],features:[E([],[{provide:h,useFactory:()=>s(h,{skipSelf:!0})}])],decls:13,vars:2,consts:[["matInput","","formControlName","displayName","autocomplete","name","autofocus",""],["matInput","","formControlName","name","autocomplete","username"]],template:function(o,r){o&1&&(n(0,"mat-form-field")(1,"mat-label"),m(2,"Seu nome"),a(),l(3,"input",0),n(4,"mat-error"),m(5,"Obrigat\xF3rio"),a()(),n(6,"mat-form-field")(7,"mat-label"),m(8,"Seu usu\xE1rio"),a(),l(9,"input",1),n(10,"mat-error"),C(11,Ni,1,0)(12,Vi,1,0),a()()),o&2&&(c(11),F(r.form.controls.name.hasError("pattern")?11:-1),c(),F(r.form.controls.name.hasError("required")?12:-1))},dependencies:[w,H,S,L,G,z,Y,ge,U,J],styles:["[_nghost-%COMP%]{gap:1em;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%]{gap:0em;flex-direction:column}}"],changeDetection:0})}return e})();var Ai=e=>["/","sobre",e],ti=(()=>{class e{userFacade=s(Re);userPhoto=s(ye);form=new Xe;photo=Me("");state=Me(null);i=0;constructor(){this.userFacade.selected$.pipe(Z(t=>!!t),me(1)).subscribe(t=>{t.profile?.photo&&this.photo.set(t.profile.photo),this.form.patch(t)}),this.form.valueChanges.pipe(se(),Fe(4e3),mt(1)).subscribe(()=>this.onSubmit())}changePhoto(t){this.userPhoto.open({file:t}).closed.subscribe(o=>{let{id:r,profile:d}=this.form.getRawValue();if(r&&o){let v=rt(nt({},d),{id:r,photo:o});this.userFacade.updatePhoto(v),this.photo.set(URL.createObjectURL(o))}})}onSubmit(){let t=lt(1e3).pipe(me(1));if(this.form.valid){let o=this.form.getRawValue();return this.state.set("Salvando..."),this.userFacade.update(o),t.subscribe(()=>this.state.set(null))}return this.form.markAllAsTouched(),t.subscribe(()=>this.state.set(null))}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-account"]],features:[E([je()])],decls:25,vars:9,consts:[["editor","markdownEditor"],[3,"submit","formGroup"],["formGroupName","profile"],["label","Bio","formControlName","minibio",3,"maxRows"],[3,"content"],["mat-flat-button","",3,"disabled"],[1,"user-avatar"],[3,"src"],[1,"select-file",3,"selectChange"],["mat-stroked-button","",3,"routerLink"]],template:function(o,r){if(o&1){let d=R();n(0,"form",1),g("submit",function(){return D(d),k(r.onSubmit())}),n(1,"section"),l(2,"devmx-account-user")(3,"devmx-account-contact")(4,"devmx-account-profile"),n(5,"fieldset")(6,"legend"),m(7,"Informa\xE7\xF5es p\xFAblicas"),a(),l(8,"devmx-account-visibility"),a(),l(9,"devmx-account-skills"),n(10,"section",2)(11,"devmx-markdown-toolbar"),l(12,"devmx-markdown-editor",3,0)(14,"devmx-markdown-view",4),a()(),n(15,"footer")(16,"button",5),m(17),a()()(),n(18,"aside")(19,"div",6),l(20,"devmx-avatar",7),n(21,"devmx-select-file",8),g("selectChange",function(V){return D(d),k(r.changePhoto(V))}),a()(),n(22,"a",9),m(23," Acessar p\xE1gina p\xFAblica "),a(),l(24,"devmx-account-social"),a()()}if(o&2){let d;p("formGroup",r.form),c(12),p("maxRows",80),c(2),p("content",(d=r.form.profile.controls.minibio==null?null:r.form.profile.controls.minibio.value)!==null&&d!==void 0?d:""),c(2),p("disabled",r.state()),c(),I(" ",r.state()?r.state():"Salvar"," "),c(3),p("src",r.photo()),c(2),p("routerLink",Q(7,Ai,r.form.controls.name.value))}},dependencies:[w,Oe,S,j,Ie,L,q,Yt,Zt,Qt,ei,Uo,Bo,Yo,zo,No,Vo,N,Tt,Le,Go,ue],styles:["[_nghost-%COMP%]{flex:1;gap:1em;padding:1em;display:flex;flex-direction:column;max-width:980px}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:64px;display:flex;flex-direction:row}@media (max-width: 768px){[_nghost-%COMP%] form[_ngcontent-%COMP%]{flex-direction:column-reverse}}[_nghost-%COMP%] .user-avatar[_ngcontent-%COMP%]{width:12em;display:flex;flex-direction:column}[_nghost-%COMP%] aside[_ngcontent-%COMP%]{gap:2em;width:16em;display:flex;padding:0 2em;flex-direction:column;align-items:center}[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex:1;gap:1em;display:flex;flex-direction:column;max-width:580px}[_nghost-%COMP%] fieldset[_ngcontent-%COMP%]{border:1px dashed rgba(0,0,0,.2);border-radius:.4em}[_nghost-%COMP%] fieldset[_ngcontent-%COMP%] legend[_ngcontent-%COMP%]{padding:.4em}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var $i=()=>[import("./chunk-INB6BZQB.js").then(e=>e.EventCardListComponent),K],Ri=()=>[Qo,K],Gi=()=>[Wo,K],Hi=()=>[import("./chunk-TERRPVDK.js").then(e=>e.PresentationCardListComponent),K],ji=()=>[Zo,K];function Ui(e,i){e&1&&l(0,"devmx-event-card-list",4),e&2&&p("data",i.data)}function Bi(e,i){if(e&1&&(C(0,Ui,1,1,"devmx-event-card-list",4),$(1,"async")),e&2){let t,o=O();F((t=B(1,1,o.eventFacade.response$))?0:-1,t)}}function zi(e,i){e&1&&l(0,"devmx-skeleton",5),e&2&&p("rows",4)}function qi(e,i){e&1&&l(0,"devmx-album-card-list",4),e&2&&p("data",i.data)}function Wi(e,i){if(e&1&&(C(0,qi,1,1,"devmx-album-card-list",4),$(1,"async")),e&2){let t,o=O();F((t=B(1,1,o.albumFacade.response$))?0:-1,t)}}function Ji(e,i){e&1&&l(0,"devmx-skeleton",5),e&2&&p("rows",4)}function Zi(e,i){e&1&&l(0,"devmx-job-opening-card-list",4),e&2&&p("data",i.data)}function Qi(e,i){if(e&1&&(C(0,Zi,1,1,"devmx-job-opening-card-list",4),$(1,"async")),e&2){let t,o=O();F((t=B(1,1,o.jobOpeningFacade.response$))?0:-1,t)}}function Ki(e,i){e&1&&l(0,"devmx-skeleton",5),e&2&&p("rows",3)}function Xi(e,i){e&1&&l(0,"devmx-presentation-card-list",4),e&2&&p("data",i.data)}function Yi(e,i){if(e&1&&(C(0,Xi,1,1,"devmx-presentation-card-list",4),$(1,"async")),e&2){let t,o=O();F((t=B(1,1,o.presentationFacade.response$))?0:-1,t)}}function en(e,i){e&1&&l(0,"devmx-skeleton",5),e&2&&p("rows",4)}function tn(e,i){e&1&&l(0,"devmx-issue-card-list",4),e&2&&p("data",i)}function on(e,i){if(e&1&&(C(0,tn,1,1,"devmx-issue-card-list",4),$(1,"async")),e&2){let t,o=O();F((t=B(1,1,o.githubFacade.issues$))?0:-1,t)}}function nn(e,i){e&1&&l(0,"devmx-skeleton",5),e&2&&p("rows",3)}function rn(e,i){e&1&&l(0,"devmx-contributors",4),e&2&&p("data",i)}var oi=(()=>{class e{githubFacade=s(Ft);jobOpeningFacade=s(Ht);presentationFacade=s(St);albumFacade=s(jt);eventFacade=s(Ut);constructor(){this.githubFacade.issues$.subscribe(t=>{t.map(o=>{console.log(o.state_reason)})}),this.githubFacade.loadContributors("devmx"),this.githubFacade.loadIssues("devmx"),this.eventFacade.setPage(0,6),this.eventFacade.load(),this.jobOpeningFacade.setPage(0,6),this.jobOpeningFacade.load(),this.presentationFacade.setPage(0,6),this.presentationFacade.load(),this.albumFacade.setPage(0,6),this.albumFacade.load()}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=f({type:e,selectors:[["devmx-home"]],decls:27,vars:3,consts:[[1,"banner"],[1,"cards"],[1,"event-container"],[1,"skill-cards"],[3,"data"],[3,"rows"]],template:function(o,r){if(o&1&&(l(0,"header",0),n(1,"div",1)(2,"section",2),C(3,Bi,2,3)(4,zi,1,1),pe(5,3,$i,null,4),de(500),C(7,Wi,2,3)(8,Ji,1,1),pe(9,7,Ri,null,8),de(500),a(),n(11,"section",3),C(12,Qi,2,3)(13,Ki,1,1),pe(14,12,Gi,null,13),de(500),C(16,Yi,2,3)(17,en,1,1),pe(18,16,Hi,null,17),de(500),a(),n(20,"section"),C(21,on,2,3)(22,nn,1,1),pe(23,21,ji,null,22),de(500),a()(),C(25,rn,1,1,"devmx-contributors",4),$(26,"async")),o&2){let d;c(25),F((d=B(26,1,r.githubFacade.contributors$))?25:-1,d)}},dependencies:[Ko,Bt,W,N,K],styles:["[_nghost-%COMP%]{flex:1;gap:1em;padding:1em;display:flex;flex-direction:column;max-width:calc(100vw - 2em)}[_nghost-%COMP%] .radio[_ngcontent-%COMP%]{display:inline-flex;background-color:#fff;border-radius:1.6em;padding:.2em;gap:.2em}[_nghost-%COMP%] .banner[_ngcontent-%COMP%]{flex:1;padding:1em 1.2em;display:flex;align-items:flex-end;justify-content:flex-end;min-height:256px;max-height:356px;border-radius:1em;background-image:url(/backgrounds/3d-horns.webp);background-position:center 50%;background-repeat:no-repeat;background-blend-mode:multiply;background-color:#999}[_nghost-%COMP%] .banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;filter:invert(.6);color:#666;font-size:2.8em;line-height:100%}@media (max-width: 767px){[_nghost-%COMP%] .banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.8em}}@media (max-width: 767px){[_nghost-%COMP%] .banner[_ngcontent-%COMP%]{background-size:242%}}[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{flex:1;gap:1em;display:grid}[_nghost-%COMP%] .cards[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:column;max-width:calc(100vw - 3em)}@media (min-width: 768px){[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 767px){[_nghost-%COMP%] .cards[_ngcontent-%COMP%]{grid-template-columns:1fr}}"],changeDetection:0})}return e})();var ii=()=>{let e=s(ae),i=s(Re);return e.auth$.pipe(Z(o=>!!o),me(1)).pipe(st(o=>Jt(i,{id:o.id})))};var ns=[{path:"autenticacao",loadChildren:()=>import("./chunk-ZYL27KLI.js").then(e=>e.accountFeatureAuthRoutes)},{path:"",canActivate:[To("member")],providers:Eo,component:Oo,data:{breadcrumb:"Conta"},title:"Conta",children:[{path:"administracao",canActivate:[tt("manager","director","staff","leader")],loadChildren:()=>Ye(void 0,null,function*(){return import("./chunk-3FERTUMZ.js").then(e=>e.accountFeatureAdminRoutes)})},{path:"dashboard",canActivate:[tt("manager","director")],loadChildren:()=>Ye(void 0,null,function*(){return import("./chunk-MSZO77IL.js").then(e=>e.accountFeatureBoardRoutes)})},{path:"configuracoes",title:"Configura\xE7\xF5es da conta",component:ti,resolve:{user:ii}},{path:"sair",title:"Sair",component:Lo},{path:"",title:"Inicio",component:oi},{path:"**",pathMatch:"full",redirectTo:"configuracoes"}]}];export{Oo as AccountFeatureShellComponent,ns as accountFeatureShellRoutes}; diff --git a/chunk-Q33OVU5J.js b/chunk-Q33OVU5J.js deleted file mode 100644 index d9e82d8b..00000000 --- a/chunk-Q33OVU5J.js +++ /dev/null @@ -1 +0,0 @@ -import{a as n}from"./chunk-TPJZ2OYR.js";import{F as e,ka as a,t as o}from"./chunk-TEKHUYWQ.js";var d=(...i)=>()=>{let r=a(n),c=r.auth$.pipe(e(t=>!!t),o(t=>i.some(m=>t.roles[m])));return r.load(),c};export{d as a}; diff --git a/chunk-3OW34LBR.js b/chunk-R2DS22I4.js similarity index 83% rename from chunk-3OW34LBR.js rename to chunk-R2DS22I4.js index b952f8aa..5a045651 100644 --- a/chunk-3OW34LBR.js +++ b/chunk-R2DS22I4.js @@ -1 +1 @@ -import{a as N}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import{a as W}from"./chunk-Q33OVU5J.js";import{a as y,d as Q}from"./chunk-L2JQY5SP.js";import{b as q}from"./chunk-WKFJTKSD.js";import{a as A}from"./chunk-ZHS65JNW.js";import{c as G}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-MLNPCJDD.js";import"./chunk-UOTKRQ63.js";import{a as H}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as g}from"./chunk-A3N3AUUJ.js";import{g as P,i as O,j as U,p as f}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import"./chunk-EC6LD5KM.js";import"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as C,Ba as R,F,Hc as B,Jc as M,Kc as x,Nb as u,Ob as w,Pb as L,Rb as $,Tb as r,Yb as _,a as v,ac as h,bc as l,cc as s,dc as m,gb as T,hc as E,je as I,ka as o,kc as j,lb as a,mc as b,t as D,ta as k,ua as S,ub as p,xc as z,yc as V}from"./chunk-TEKHUYWQ.js";var J=[];var X=(()=>{class e{router=o(O);destroyRef=o(R);authFacade=o(H);layoutFacade=o(q);constructor(){this.authFacade.auth$.pipe(g()).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(g(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-album-feature-shell"]],decls:1,vars:0,template:function(n,c){n&1&&m(0,"devmx-layout")},dependencies:[f,N],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var ne=(e,i)=>i.id,ie=()=>[G,A,import("./chunk-QQ3DFMVY.js").then(e=>e.AsyncPipe)],oe=()=>[import("./chunk-Z3ZVRDLS.js").then(e=>e.AlbumCardComponent),U],ae=e=>[".",e];function re(e,i){if(e&1&&(l(0,"a",3),m(1,"devmx-album-card",4),s()),e&2){let t=b().$implicit;r("routerLink",B(2,ae,t.id)),a(),r("data",t)}}function me(e,i){e&1&&m(0,"devmx-skeleton",5),e&2&&r("rows",3)}function le(e,i){e&1&&(u(0,re,2,4)(1,me,1,1),w(2,0,oe,null,1),$(0,-1))}function ce(e,i){if(e&1){let t=E();l(0,"div",0),C(1,le,4,0,null,null,ne),s(),m(3,"div",1),l(4,"footer")(5,"devmx-paginator",2),j("pageChange",function(c){k(t);let d=b(2);return S(d.onPageChange(c))}),s()()}if(e&2){let t=i;a(),h(t.data),a(4),r("size",10)("items",t.items)}}function se(e,i){if(e&1&&(u(0,ce,6,2),M(1,"async")),e&2){let t,n=b();_((t=x(1,1,n.albumFacade.response$))?0:-1,t)}}function de(e,i){e&1&&(l(0,"div",0),m(1,"devmx-skeleton",5)(2,"devmx-skeleton",5)(3,"devmx-skeleton",5),s()),e&2&&(a(),r("rows",3),a(),r("rows",2),a(),r("rows",3))}var Y=(()=>{class e{albumFacade=o(y);router=o(O);route=o(P);constructor(){this.route.queryParams.pipe(g()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:c=10}=t,{title:d=""}=t,te={title:d};this.albumFacade.setParams({page:n,size:c,filter:te}),this.albumFacade.load()};mergeParams(t){return v(v({},this.route.snapshot.queryParams),t)}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-admin-albums"]],decls:5,vars:0,consts:[[1,"albums-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(n,c){n&1&&(m(0,"header"),u(1,se,2,3)(2,de,4,3),w(3,1,ie,null,2),L(500))},dependencies:[A,f],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var pe=(e,i)=>i.id;function ue(e,i){if(e&1&&(l(0,"figure"),m(1,"img",0),l(2,"figcaption"),z(3),s()()),e&2){let t=i.$implicit;a(),r("src",t.data,T)("alt",t.caption),a(2),V(t.caption)}}function fe(e,i){e&1&&C(0,ue,4,3,"figure",null,pe),e&2&&h(i.photos)}var Z=(()=>{class e{route=o(P);album$=this.route.data.pipe(F(t=>"album"in t),D(t=>t.album));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-album"]],decls:2,vars:3,consts:[["loading","lazy",3,"src","alt"]],template:function(n,c){if(n&1&&(u(0,fe,2,0),M(1,"async")),n&2){let d;_((d=x(1,1,c.album$))?0:-1,d)}},dependencies:[f,I],styles:["[_nghost-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] figure[_ngcontent-%COMP%]{margin:0;box-sizing:border-box;border-radius:.4em;position:relative;overflow:hidden;background-color:#0000000a;transition:width .3s ease-in-out}[_nghost-%COMP%] figure.selected[_ngcontent-%COMP%]{width:16em;transition:width .3s ease-in-out}[_nghost-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:flex;object-fit:cover;height:24em}[_nghost-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{display:flex;width:100%;padding:.4em;position:absolute;bottom:0;background-color:#0006;color:#fff9;z-index:100}[_nghost-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var ee=e=>Q(o(y),e.params);var it=[{path:"",data:{breadcrumb:"Albuns"},canActivate:[W("member")],providers:J,component:X,children:[{path:"administracao",loadChildren:()=>import("./chunk-SG4GQJJH.js").then(e=>e.albumFeatureAdminRoutes)},{path:"",data:{breadcrumb:"Albuns"},title:"Albuns",component:Y},{path:":id",data:{breadcrumb:e=>e.album.title},title:"Album de fotos",resolve:{album:ee},component:Z}]}];export{X as AlbumFeatureShellComponent,it as albumFeatureShellRoutes}; +import{a as N}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import{a as W}from"./chunk-Z63MF55O.js";import{a as y,d as Q}from"./chunk-FY4SNPSV.js";import{b as q}from"./chunk-RN4QN3AM.js";import{a as A}from"./chunk-EM27EDGS.js";import{c as G}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-4OXAFH6K.js";import"./chunk-OQLD3BC6.js";import{a as H}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as g}from"./chunk-366DNJGU.js";import{g as P,i as O,j as U,p as f}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import"./chunk-BJ2ND26O.js";import"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as C,Ba as R,F,Hc as B,Jc as M,Kc as x,Nb as u,Ob as w,Pb as L,Rb as $,Tb as r,Yb as _,a as v,ac as h,bc as l,cc as s,dc as m,gb as T,hc as E,je as I,ka as o,kc as j,lb as a,mc as b,t as D,ta as k,ua as S,ub as p,xc as z,yc as V}from"./chunk-5L47ZUSK.js";var J=[];var X=(()=>{class e{router=o(O);destroyRef=o(R);authFacade=o(H);layoutFacade=o(q);constructor(){this.authFacade.auth$.pipe(g()).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authFacade.load()}waitingForLogout(){this.authFacade.auth$.pipe(g(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-album-feature-shell"]],decls:1,vars:0,template:function(n,c){n&1&&m(0,"devmx-layout")},dependencies:[f,N],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var ne=(e,i)=>i.id,ie=()=>[G,A,import("./chunk-NAKSAAO7.js").then(e=>e.AsyncPipe)],oe=()=>[import("./chunk-VOJVPEIN.js").then(e=>e.AlbumCardComponent),U],ae=e=>[".",e];function re(e,i){if(e&1&&(l(0,"a",3),m(1,"devmx-album-card",4),s()),e&2){let t=b().$implicit;r("routerLink",B(2,ae,t.id)),a(),r("data",t)}}function me(e,i){e&1&&m(0,"devmx-skeleton",5),e&2&&r("rows",3)}function le(e,i){e&1&&(u(0,re,2,4)(1,me,1,1),w(2,0,oe,null,1),$(0,-1))}function ce(e,i){if(e&1){let t=E();l(0,"div",0),C(1,le,4,0,null,null,ne),s(),m(3,"div",1),l(4,"footer")(5,"devmx-paginator",2),j("pageChange",function(c){k(t);let d=b(2);return S(d.onPageChange(c))}),s()()}if(e&2){let t=i;a(),h(t.data),a(4),r("size",10)("items",t.items)}}function se(e,i){if(e&1&&(u(0,ce,6,2),M(1,"async")),e&2){let t,n=b();_((t=x(1,1,n.albumFacade.response$))?0:-1,t)}}function de(e,i){e&1&&(l(0,"div",0),m(1,"devmx-skeleton",5)(2,"devmx-skeleton",5)(3,"devmx-skeleton",5),s()),e&2&&(a(),r("rows",3),a(),r("rows",2),a(),r("rows",3))}var Y=(()=>{class e{albumFacade=o(y);router=o(O);route=o(P);constructor(){this.route.queryParams.pipe(g()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:n=0,size:c=10}=t,{title:d=""}=t,te={title:d};this.albumFacade.setParams({page:n,size:c,filter:te}),this.albumFacade.load()};mergeParams(t){return v(v({},this.route.snapshot.queryParams),t)}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-admin-albums"]],decls:5,vars:0,consts:[[1,"albums-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(n,c){n&1&&(m(0,"header"),u(1,se,2,3)(2,de,4,3),w(3,1,ie,null,2),L(500))},dependencies:[A,f],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var pe=(e,i)=>i.id;function ue(e,i){if(e&1&&(l(0,"figure"),m(1,"img",0),l(2,"figcaption"),z(3),s()()),e&2){let t=i.$implicit;a(),r("src",t.data,T)("alt",t.caption),a(2),V(t.caption)}}function fe(e,i){e&1&&C(0,ue,4,3,"figure",null,pe),e&2&&h(i.photos)}var Z=(()=>{class e{route=o(P);album$=this.route.data.pipe(F(t=>"album"in t),D(t=>t.album));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=p({type:e,selectors:[["devmx-album"]],decls:2,vars:3,consts:[["loading","lazy",3,"src","alt"]],template:function(n,c){if(n&1&&(u(0,fe,2,0),M(1,"async")),n&2){let d;_((d=x(1,1,c.album$))?0:-1,d)}},dependencies:[f,I],styles:["[_nghost-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] figure[_ngcontent-%COMP%]{margin:0;box-sizing:border-box;border-radius:.4em;position:relative;overflow:hidden;background-color:#0000000a;transition:width .3s ease-in-out}[_nghost-%COMP%] figure.selected[_ngcontent-%COMP%]{width:16em;transition:width .3s ease-in-out}[_nghost-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:flex;object-fit:cover;height:24em}[_nghost-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{display:flex;width:100%;padding:.4em;position:absolute;bottom:0;background-color:#0006;color:#fff9;z-index:100}[_nghost-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var ee=e=>Q(o(y),e.params);var it=[{path:"",data:{breadcrumb:"Albuns"},canActivate:[W("member")],providers:J,component:X,children:[{path:"administracao",loadChildren:()=>import("./chunk-AF344KWA.js").then(e=>e.albumFeatureAdminRoutes)},{path:"",data:{breadcrumb:"Albuns"},title:"Albuns",component:Y},{path:":id",data:{breadcrumb:e=>e.album.title},title:"Album de fotos",resolve:{album:ee},component:Z}]}];export{X as AlbumFeatureShellComponent,it as albumFeatureShellRoutes}; diff --git a/chunk-JMI5D6U5.js b/chunk-R4QCZCL2.js similarity index 86% rename from chunk-JMI5D6U5.js rename to chunk-R4QCZCL2.js index 0b35a922..95b253d6 100644 --- a/chunk-JMI5D6U5.js +++ b/chunk-R4QCZCL2.js @@ -1 +1 @@ -import{a as z}from"./chunk-56M6HFOE.js";import{a as R,b as j,c as B,e as $,f as I,g as N}from"./chunk-73QBZNVE.js";import{c as A}from"./chunk-BLJCB4Q7.js";import{b as L}from"./chunk-TPJZ2OYR.js";import{q as V,x as E}from"./chunk-6BGAZ7SQ.js";import{h as T,k as U,l as k}from"./chunk-PAP2P7QR.js";import{x as F}from"./chunk-EDIJ2EBQ.js";import{$b as v,Jc as P,Kc as O,L as h,Nb as x,Tb as u,Yb as M,ac as S,bc as r,cc as l,hc as y,je as b,ka as _,kc as d,lb as s,mc as c,ta as m,ua as p,ub as C,wc as D,xc as g,zc as w}from"./chunk-TEKHUYWQ.js";var q=(i,n)=>n.id;function H(i,n){if(i&1&&(r(0,"mat-list-option",5),g(1),l()),i&2){let e=n.$implicit;u("value",e),s(),w(" ",e.displayName," ")}}function J(i,n){if(i&1){let e=y();r(0,"mat-dialog-content",2)(1,"devmx-search-field",3),d("searchChange",function(o){m(e);let a=c();return p(a.onSearchChange(o))}),l(),r(2,"mat-selection-list",4,0),v(4,H,2,2,"mat-list-option",5,q),l(),r(6,"devmx-paginator",6),d("pageChange",function(o){m(e);let a=c();return p(a.onPageChange(o))}),l()(),r(7,"mat-dialog-actions",7)(8,"button",8),d("click",function(){m(e);let o=D(3),a=c();return p(a.close(o.selectedOptions.selected))}),g(9," Selecionar "),l(),r(10,"button",9),d("click",function(){m(e);let o=c();return p(o.ref.close())}),g(11,"Cancelar"),l()()}if(i&2){let e=n,t=c();s(2),u("multiple",t.data.multiple),s(2),S(e.data),s(2),u("items",e.items)}}var G=(()=>{class i{userFacade=_(L);ref=_(R);data=_(j);search="";constructor(){this.load()}onSearchChange(e){this.search=e,this.load()}onPageChange({page:e,size:t}){this.userFacade.setParams({page:e,size:t}),this.load()}load(){let e=this.search,t=this.data.onlyRole?{roles:this.data.onlyRole,displayName:e}:{displayName:e};this.userFacade.setFilter(t),this.userFacade.load()}close(e){this.data.multiple?this.ref.close(e.map(t=>t.value)):this.ref.close(e[0].value)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["devmx-select-user"]],decls:4,vars:3,consts:[["user",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"users",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(t,o){if(t&1&&(r(0,"h2",1),g(1,"Encontre uma conta"),l(),x(2,J,12,2),P(3,"async")),t&2){let a;s(2),M((a=O(3,1,o.userFacade.response$))?2:-1,a)}},dependencies:[F,A,z,$,I,N,E,V,k,U,T,b],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .users[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var f=class{dialog;constructor(n){this.dialog=n}open(n={}){return this.dialog.open(G,{data:n}).afterClosed().pipe(h(1))}};function _e(){return{provide:f,deps:[B]}}export{f as a,_e as b}; +import{a as z}from"./chunk-5XJFAPMG.js";import{a as R,b as j,c as B,e as $,f as I,g as N}from"./chunk-6PKCOWVT.js";import{c as A}from"./chunk-EJAMDHKS.js";import{b as L}from"./chunk-5MUU2WLY.js";import{q as V,x as E}from"./chunk-7RMPQIRR.js";import{h as T,k as U,l as k}from"./chunk-UANEMOTZ.js";import{x as F}from"./chunk-E5QACR6S.js";import{$b as v,Jc as P,Kc as O,L as h,Nb as x,Tb as u,Yb as M,ac as S,bc as r,cc as l,hc as y,je as b,ka as _,kc as d,lb as s,mc as c,ta as m,ua as p,ub as C,wc as D,xc as g,zc as w}from"./chunk-5L47ZUSK.js";var q=(i,n)=>n.id;function H(i,n){if(i&1&&(r(0,"mat-list-option",5),g(1),l()),i&2){let e=n.$implicit;u("value",e),s(),w(" ",e.displayName," ")}}function J(i,n){if(i&1){let e=y();r(0,"mat-dialog-content",2)(1,"devmx-search-field",3),d("searchChange",function(o){m(e);let a=c();return p(a.onSearchChange(o))}),l(),r(2,"mat-selection-list",4,0),v(4,H,2,2,"mat-list-option",5,q),l(),r(6,"devmx-paginator",6),d("pageChange",function(o){m(e);let a=c();return p(a.onPageChange(o))}),l()(),r(7,"mat-dialog-actions",7)(8,"button",8),d("click",function(){m(e);let o=D(3),a=c();return p(a.close(o.selectedOptions.selected))}),g(9," Selecionar "),l(),r(10,"button",9),d("click",function(){m(e);let o=c();return p(o.ref.close())}),g(11,"Cancelar"),l()()}if(i&2){let e=n,t=c();s(2),u("multiple",t.data.multiple),s(2),S(e.data),s(2),u("items",e.items)}}var G=(()=>{class i{userFacade=_(L);ref=_(R);data=_(j);search="";constructor(){this.load()}onSearchChange(e){this.search=e,this.load()}onPageChange({page:e,size:t}){this.userFacade.setParams({page:e,size:t}),this.load()}load(){let e=this.search,t=this.data.onlyRole?{roles:this.data.onlyRole,displayName:e}:{displayName:e};this.userFacade.setFilter(t),this.userFacade.load()}close(e){this.data.multiple?this.ref.close(e.map(t=>t.value)):this.ref.close(e[0].value)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["devmx-select-user"]],decls:4,vars:3,consts:[["user",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"users",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(t,o){if(t&1&&(r(0,"h2",1),g(1,"Encontre uma conta"),l(),x(2,J,12,2),P(3,"async")),t&2){let a;s(2),M((a=O(3,1,o.userFacade.response$))?2:-1,a)}},dependencies:[F,A,z,$,I,N,E,V,k,U,T,b],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .users[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return i})();var f=class{dialog;constructor(n){this.dialog=n}open(n={}){return this.dialog.open(G,{data:n}).afterClosed().pipe(h(1))}};function _e(){return{provide:f,deps:[B]}}export{f as a,_e as b}; diff --git a/chunk-WKFJTKSD.js b/chunk-RN4QN3AM.js similarity index 93% rename from chunk-WKFJTKSD.js rename to chunk-RN4QN3AM.js index efe69d11..1d2076e5 100644 --- a/chunk-WKFJTKSD.js +++ b/chunk-RN4QN3AM.js @@ -1 +1 @@ -import{l as h,t as c}from"./chunk-XYJHVZQT.js";import{a as d}from"./chunk-BJXILAOS.js";import{a,b as l}from"./chunk-TEKHUYWQ.js";var o=class{route;label;icon;badge;roles;#t=!1;get showLock(){return this.#t}#e="lock";get lock(){return this.#e}#s=!1;get disabled(){return this.#s}kind="link";constructor(t){this.route=t.route,this.label=t.label,this.icon=t.icon,this.badge=t.badge,this.roles=t.roles??[],this.roles.length>1&&(this.#t=!0)}validate(t){let e=this.roles.some(s=>t[s]);return this.#i(e),e}#i(t){this.#t=!0,t?this.#e="opened-lock":(this.#s=!0,this.route=[])}};var r=class{label;links;expanded;icon;constructor(t,e,s,i){this.label=t,this.links=e,this.expanded=s,this.icon=i}};var m=(n,t)=>n.map(e=>{let s=e.links.map(i=>new o(i)).map(i=>(i.roles.length&&i.validate(t),i));return l(a({},e),{links:s})}).filter(e=>e.links.some(s=>!s.disabled)).map(({label:e,links:s,expanded:i,icon:v})=>new r(e,s,i,v));var u=class extends c{sections;loader$=this.select(t=>t.loader);mobile$=this.select(t=>t.mobile);sidenav$=this.select(t=>t.sidenav);sidenavStart$=this.select(t=>t.sidenav.start);sidenavEnd$=this.select(t=>t.sidenav.end);component$=this.select(t=>t.component);sections$=this.select(t=>t.sections);#t;#e;constructor(t,e=[]){super({loader:!1,mobile:!1,component:null,sections:[],sidenav:{start:!0,end:!1}}),this.sections=e,this.#t=t.matchMedia("(max-width: 600px)"),this.#e=s=>{s.matches&&this.setSidenav({start:!1}),this.setMobile(s.matches)},this.setMobile(this.#t.matches),h(()=>{this.#t.matches&&this.setSidenav({start:!1})},500),this.#t.addEventListener("change",this.#e)}loadNavLinks(t){this.setState({sections:m(this.sections,t)})}resetNavLinks(){this.setState({sections:[]})}setLoader(t){this.setState({loader:t})}setMobile(t){this.setState({mobile:t})}setComponent(t){let e=new d(t);this.setState({component:e})}resetComponent(){this.setState({component:null})}setSidenav(t){let{sidenav:e}=this.state;this.setState({sidenav:a(a({},e),t)})}destroyListener(){this.#t.removeEventListener("change",this.#e)}};var p=class{auth;constructor(t){this.auth=t}};export{p as a,u as b}; +import{l as h,t as c}from"./chunk-7BKB7KKA.js";import{a as d}from"./chunk-76QZXEBP.js";import{a,b as l}from"./chunk-5L47ZUSK.js";var o=class{route;label;icon;badge;roles;#t=!1;get showLock(){return this.#t}#e="lock";get lock(){return this.#e}#s=!1;get disabled(){return this.#s}kind="link";constructor(t){this.route=t.route,this.label=t.label,this.icon=t.icon,this.badge=t.badge,this.roles=t.roles??[],this.roles.length>1&&(this.#t=!0)}validate(t){let e=this.roles.some(s=>t[s]);return this.#i(e),e}#i(t){this.#t=!0,t?this.#e="opened-lock":(this.#s=!0,this.route=[])}};var r=class{label;links;expanded;icon;constructor(t,e,s,i){this.label=t,this.links=e,this.expanded=s,this.icon=i}};var m=(n,t)=>n.map(e=>{let s=e.links.map(i=>new o(i)).map(i=>(i.roles.length&&i.validate(t),i));return l(a({},e),{links:s})}).filter(e=>e.links.some(s=>!s.disabled)).map(({label:e,links:s,expanded:i,icon:v})=>new r(e,s,i,v));var u=class extends c{sections;loader$=this.select(t=>t.loader);mobile$=this.select(t=>t.mobile);sidenav$=this.select(t=>t.sidenav);sidenavStart$=this.select(t=>t.sidenav.start);sidenavEnd$=this.select(t=>t.sidenav.end);component$=this.select(t=>t.component);sections$=this.select(t=>t.sections);#t;#e;constructor(t,e=[]){super({loader:!1,mobile:!1,component:null,sections:[],sidenav:{start:!0,end:!1}}),this.sections=e,this.#t=t.matchMedia("(max-width: 600px)"),this.#e=s=>{s.matches&&this.setSidenav({start:!1}),this.setMobile(s.matches)},this.setMobile(this.#t.matches),h(()=>{this.#t.matches&&this.setSidenav({start:!1})},500),this.#t.addEventListener("change",this.#e)}loadNavLinks(t){this.setState({sections:m(this.sections,t)})}resetNavLinks(){this.setState({sections:[]})}setLoader(t){this.setState({loader:t})}setMobile(t){this.setState({mobile:t})}setComponent(t){let e=new d(t);this.setState({component:e})}resetComponent(){this.setState({component:null})}setSidenav(t){let{sidenav:e}=this.state;this.setState({sidenav:a(a({},e),t)})}destroyListener(){this.#t.removeEventListener("change",this.#e)}};var p=class{auth;constructor(t){this.auth=t}};export{p as a,u as b}; diff --git a/chunk-VAO4SSMZ.js b/chunk-RVBVVCKL.js similarity index 77% rename from chunk-VAO4SSMZ.js rename to chunk-RVBVVCKL.js index a053fb1a..9c489791 100644 --- a/chunk-VAO4SSMZ.js +++ b/chunk-RVBVVCKL.js @@ -1 +1 @@ -import{a as o}from"./chunk-2IAXMR6M.js";import{e as n}from"./chunk-6BGAZ7SQ.js";import{mb as a,xb as i}from"./chunk-TEKHUYWQ.js";var s=(()=>{class r{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(e){return new(e||r)(a(n,16))};static \u0275pipe=i({name:"html",type:r,pure:!0})}return r})();var u=(()=>{class r{transform(t){return o(t??"",{gfm:!0,async:!1})}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=i({name:"markdown",type:r,pure:!0})}return r})();export{s as a,u as b}; +import{a as o}from"./chunk-SBPBG2DZ.js";import{e as n}from"./chunk-7RMPQIRR.js";import{mb as a,xb as i}from"./chunk-5L47ZUSK.js";var s=(()=>{class r{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(e){return new(e||r)(a(n,16))};static \u0275pipe=i({name:"html",type:r,pure:!0})}return r})();var u=(()=>{class r{transform(t){return o(t??"",{gfm:!0,async:!1})}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=i({name:"markdown",type:r,pure:!0})}return r})();export{s as a,u as b}; diff --git a/chunk-2IAXMR6M.js b/chunk-SBPBG2DZ.js similarity index 99% rename from chunk-2IAXMR6M.js rename to chunk-SBPBG2DZ.js index 310caaed..1f581895 100644 --- a/chunk-2IAXMR6M.js +++ b/chunk-SBPBG2DZ.js @@ -1,4 +1,4 @@ -import{a as x,b as R}from"./chunk-TEKHUYWQ.js";function N(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var z=N();function se(c){z=c}var ie=/[&<>"']/,ge=new RegExp(ie.source,"g"),re=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ke=new RegExp(re.source,"g"),de={"&":"&","<":"<",">":">",'"':""","'":"'"},V=c=>de[c];function b(c,e){if(e){if(ie.test(c))return c.replace(ge,V)}else if(re.test(c))return c.replace(ke,V);return c}var xe=/(^|[^\[])\^/g;function f(c,e){let t=typeof c=="string"?c:c.source;e=e||"";let n={replace:(s,i)=>{let r=typeof i=="string"?i:i.source;return r=r.replace(xe,"$1"),t=t.replace(s,r),n},getRegex:()=>new RegExp(t,e)};return n}function Y(c){try{c=encodeURI(c).replace(/%25/g,"%")}catch{return null}return c}var q={exec:()=>null};function ee(c,e){let t=c.replace(/\|/g,(i,r,l)=>{let o=!1,h=r;for(;--h>=0&&l[h]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/),s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length"']/,ge=new RegExp(ie.source,"g"),re=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ke=new RegExp(re.source,"g"),de={"&":"&","<":"<",">":">",'"':""","'":"'"},V=c=>de[c];function b(c,e){if(e){if(ie.test(c))return c.replace(ge,V)}else if(re.test(c))return c.replace(ke,V);return c}var xe=/(^|[^\[])\^/g;function f(c,e){let t=typeof c=="string"?c:c.source;e=e||"";let n={replace:(s,i)=>{let r=typeof i=="string"?i:i.source;return r=r.replace(xe,"$1"),t=t.replace(s,r),n},getRegex:()=>new RegExp(t,e)};return n}function Y(c){try{c=encodeURI(c).replace(/%25/g,"%")}catch{return null}return c}var q={exec:()=>null};function ee(c,e){let t=c.replace(/\|/g,(i,r,l)=>{let o=!1,h=r;for(;--h>=0&&l[h]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/),s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{let i=s.match(/^\s+/);if(i===null)return s;let[r]=i;return r.length>=n.length?s.slice(n.length):s}).join(` `)}var I=class{options;rules;lexer;constructor(e){this.options=e||z}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:E(n,` `)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=we(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){let s=E(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:E(t[0],` diff --git a/chunk-F2BR4OZZ.js b/chunk-SF2V34MO.js similarity index 92% rename from chunk-F2BR4OZZ.js rename to chunk-SF2V34MO.js index 2c6ee8a5..7de90914 100644 --- a/chunk-F2BR4OZZ.js +++ b/chunk-SF2V34MO.js @@ -1 +1 @@ -import{a as je}from"./chunk-56M6HFOE.js";import{a as Ne,b as $e,c as Ae,e as Ue,f as Be,g as Re}from"./chunk-73QBZNVE.js";import{c as Oe}from"./chunk-BLJCB4Q7.js";import{a as Se,b as we}from"./chunk-2XST3EDK.js";import{a as re}from"./chunk-JNB3NYAZ.js";import{d as Ve,e as ze}from"./chunk-VVQ6JEVH.js";import{b as De,c as Fe,d as be,e as Te,f as L}from"./chunk-HGOTYYGI.js";import{b as ne,i as oe,j as ae}from"./chunk-AND6K73U.js";import{a as ye}from"./chunk-A3N3AUUJ.js";import{e as ee,j as te,q as ve,x as Pe}from"./chunk-6BGAZ7SQ.js";import{a as ue,b as ge,e as Ce,f as he,g as _e,h as xe,k as Me,l as y}from"./chunk-PAP2P7QR.js";import{a as V,b as z,c as Ee,d as ke,e as Ie,f as N,g as Le,i as $}from"./chunk-EC6LD5KM.js";import{a as k,c as se,h as le,i as me,j as pe,l as R,m as ce,p as de,s as fe,x as I}from"./chunk-EDIJ2EBQ.js";import{na as ie}from"./chunk-W5KNOAKV.js";import{$b as c,Ha as F,Hc as O,Ia as x,J as j,Jc as h,Kc as _,L as G,Nb as T,Tb as m,Yb as E,_b as J,ac as d,bc as n,cc as o,dc as u,gb as H,hb as q,hc as K,je as Z,ka as D,kc as M,lb as s,mb as W,mc as g,nc as Q,oc as X,ta as S,ua as w,ub as p,wc as Y,xb as b,xc as l,yc as v,zc as C}from"./chunk-TEKHUYWQ.js";var A=(()=>{class e{transform(t){switch(t){case"talk":return"Palestra";case"workshop":return"Workshop";case"webinar":return"Semin\xE1rio online"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=b({name:"presentationFormat",type:e,pure:!0})}return e})();var Ke=(e,r)=>r.id,Qe=e=>[e],Xe=e=>({right:e}),Ye=e=>({outlets:e}),Ze=e=>["/","apresentacoes",e];function et(e,r){if(e&1&&(n(0,"a",1),u(1,"devmx-icon",2),n(2,"div",3),l(3),o(),n(4,"div",4),l(5),h(6,"presentationFormat"),o()()),e&2){let t=r.$implicit;m("routerLink",O(11,Ze,O(9,Ye,O(7,Xe,O(5,Qe,t.id))))),s(3),v(t.title),s(2),v(_(6,3,t.format))}}var vt=(()=>{class e{data=x([]);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"presentations-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["matListItemLine",""]],template:function(i,a){i&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),l(3,"Apresenta\xE7\xF5es"),o()(),n(4,"mat-list"),c(5,et,7,13,"a",1,Ke),o()()),i&2&&(s(5),d(a.data()))},dependencies:[$,V,N,z,y,he,_e,Ce,ge,ue,k,A,te],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var it=(e,r)=>r.value;function nt(e,r){if(e&1&&(n(0,"mat-chip-option",1),l(1),o()),e&2){let t=r.$implicit;m("value",t.value),s(),C(" ",t.viewValue," ")}}var Dt=(()=>{class e{filterChange=F();formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina"},{value:"webinar",viewValue:"Semin\xE1rio"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,a){i&1&&(n(0,"mat-chip-listbox",0),M("change",function(qe){return a.filterChange.emit(qe.value)}),c(1,nt,2,2,"mat-chip-option",1,it),o()),i&2&&(s(),d(a.formats))},dependencies:[L,Te,Fe],encapsulation:2,changeDetection:0})}return e})();var U=class extends pe{formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina"},{value:"webinar",viewValue:"Semin\xE1rio online"}];constructor(){super({title:new R("",{nonNullable:!0}),format:new R("talk",{nonNullable:!0})})}};var ot=(e,r)=>r.value;function at(e,r){if(e&1&&(n(0,"mat-option",3),l(1),o()),e&2){let t=r.$implicit;m("value",t.value),s(),C(" ",t.viewValue," ")}}var qt=(()=>{class e{form=new U;valueChange=F();constructor(){this.form.valueChanges.pipe(ye(),j(300)).subscribe(()=>{let t=this.form.getRawValue();this.valueChange.emit(t)})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-search"]],outputs:{valueChange:"valueChange"},decls:11,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","title"],["formControlName","format"],[3,"value"]],template:function(i,a){i&1&&(n(0,"form",0)(1,"mat-form-field")(2,"mat-label"),l(3,"T\xEDtulo"),o(),u(4,"input",1),o(),n(5,"mat-form-field")(6,"mat-label"),l(7,"Formato"),o(),n(8,"mat-select",2),c(9,at,2,2,"mat-option",3,ot),o()()()),i&2&&(m("formGroup",a.form),s(9),d(a.form.formats))},dependencies:[I,ce,se,le,me,de,fe,ae,oe,ne,we,Se,ie,ze,Ve],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}"],changeDetection:0})}return e})();var Ge=(()=>{class e{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}static \u0275fac=function(i){return new(i||e)(W(ee,16))};static \u0275pipe=b({name:"safeUrl",type:e,pure:!0})}return e})();var ei=(()=>{class e{data=x.required();get presentation(){return this.data()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-embed"]],inputs:{data:[1,"data"]},decls:2,vars:4,consts:[["scrolling","no","frameborder","0","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src","title"]],template:function(i,a){i&1&&(u(0,"iframe",0),h(1,"safeUrl")),i&2&&m("src",_(1,2,a.presentation.link+"/embed?style=light"),q)("title",a.presentation.title)},dependencies:[Ge],styles:["[_nghost-%COMP%]{position:relative;width:100%;padding-top:56.25%;overflow:hidden}[_nghost-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0;aspect-ratio:16/9;padding-top:0}"],changeDetection:0})}return e})();var rt=["*"];function st(e,r){if(e&1&&u(0,"img",1),e&2){let t=g();m("src",t.presentation.cover,H)("alt",t.presentation.title)}}function lt(e,r){if(e&1&&(n(0,"mat-chip"),l(1),o()),e&2){let t=r.$implicit;s(),C(" ",t," ")}}var pi=(()=>{class e{data=x.required();discrete=x(!1);get presentation(){return this.data()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:rt,decls:19,vars:7,consts:[[1,"presentation-card"],["mat-card-image","",3,"src","alt"],[1,"presentation-card-content"],["aria-label","Hashtags"],[1,"presentation-card-header"],["name","user-circle",3,"size"],["align","end",1,"presentation-card-actions"]],template:function(i,a){i&1&&(Q(),n(0,"mat-card",0),T(1,st,1,2,"img",1),n(2,"mat-card-header")(3,"mat-card-title"),l(4),o(),n(5,"mat-card-subtitle"),l(6),h(7,"presentationFormat"),o()(),n(8,"mat-card-content",2)(9,"mat-chip-set",3),c(10,lt,2,1,"mat-chip",null,J),o()(),n(12,"mat-card-header",4)(13,"mat-card-subtitle"),u(14,"devmx-icon",5),n(15,"span"),l(16),o()()(),n(17,"mat-card-actions",6),X(18),o()()),i&2&&(s(),E(a.presentation.cover?1:-1),s(3),v(a.presentation.title),s(2),v(_(7,5,a.presentation.format)),s(4),d(a.presentation.tags),s(4),m("size",18),s(2),v(a.presentation.owner.displayName))},dependencies:[$,V,Ie,Ee,N,Le,ke,z,y,k,L,De,be,A],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;max-width:calc(33vw - 1em)}@media (max-width: 1278px){[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{max-width:calc(50vw - 2em)}}@media (max-width: 767px){[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{max-width:calc(100vw - 3em)}}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%]{padding-bottom:1em}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{gap:.4em;display:flex;line-height:1;align-items:center}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]{padding:1em}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%] .presentation-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var mt=(e,r)=>r.id;function pt(e,r){if(e&1&&(n(0,"mat-list-option",5),l(1),o()),e&2){let t=r.$implicit;m("value",t),s(),C(" ",t.title," ")}}function ct(e,r){if(e&1){let t=K();n(0,"mat-dialog-content",2)(1,"devmx-search-field",3),M("searchChange",function(a){S(t);let f=g();return w(f.onSearchChange(a))}),o(),n(2,"mat-selection-list",4,0),c(4,pt,2,2,"mat-list-option",5,mt),o(),n(6,"devmx-paginator",6),M("pageChange",function(a){S(t);let f=g();return w(f.onPageChange(a))}),o()(),n(7,"mat-dialog-actions",7)(8,"button",8),M("click",function(){S(t);let a=Y(3),f=g();return w(f.close(a.selectedOptions.selected))}),l(9," Selecionar "),o(),n(10,"button",9),M("click",function(){S(t);let a=g();return w(a.ref.close())}),l(11,"Cancelar"),o()()}if(e&2){let t=r,i=g();s(2),m("multiple",i.data.multiple),s(2),d(t.data),s(2),m("items",t.items)}}var He=(()=>{class e{presentationFacade=D(re);ref=D(Ne);data=D($e);search="";constructor(){this.load()}onSearchChange(t){this.search=t,this.load()}onPageChange({page:t,size:i}){this.presentationFacade.setParams({page:t,size:i}),this.load()}load(){let t={title:this.search};this.presentationFacade.setFilter(t),this.presentationFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(i=>i.value)):this.ref.close(t[0].value)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-select-presentation"]],decls:4,vars:3,consts:[["presentation",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"presentations",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(i,a){if(i&1&&(n(0,"h2",1),l(1,"Encontre uma conta"),o(),T(2,ct,12,2),h(3,"async")),i&2){let f;s(2),E((f=_(3,1,a.presentationFacade.response$))?2:-1,f)}},dependencies:[I,Oe,je,Ue,Be,Re,Pe,ve,y,Me,xe,Z],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .presentations[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return e})();var B=class{dialog;constructor(r){this.dialog=r}open(r={}){return this.dialog.open(He,{data:r}).afterClosed().pipe(G(1))}};function Ti(){return{provide:B,deps:[Ae]}}export{A as a,vt as b,Dt as c,U as d,qt as e,ei as f,pi as g,He as h,B as i,Ti as j}; +import{a as je}from"./chunk-5XJFAPMG.js";import{a as Ne,b as $e,c as Ae,e as Ue,f as Be,g as Re}from"./chunk-6PKCOWVT.js";import{c as Oe}from"./chunk-EJAMDHKS.js";import{a as Se,b as we}from"./chunk-KCQYBIUM.js";import{a as re}from"./chunk-C7FIZGKV.js";import{d as Ve,e as ze}from"./chunk-A74J7Y3C.js";import{b as De,c as Fe,d as be,e as Te,f as L}from"./chunk-46FZR7EY.js";import{b as ne,i as oe,j as ae}from"./chunk-TJJFEYFG.js";import{a as ye}from"./chunk-366DNJGU.js";import{e as ee,j as te,q as ve,x as Pe}from"./chunk-7RMPQIRR.js";import{a as ue,b as ge,e as Ce,f as he,g as _e,h as xe,k as Me,l as y}from"./chunk-UANEMOTZ.js";import{a as V,b as z,c as Ee,d as ke,e as Ie,f as N,g as Le,i as $}from"./chunk-BJ2ND26O.js";import{a as k,c as se,h as le,i as me,j as pe,l as R,m as ce,p as de,s as fe,x as I}from"./chunk-E5QACR6S.js";import{pa as ie}from"./chunk-CG5OOKZO.js";import{$b as c,Ha as F,Hc as O,Ia as x,J as j,Jc as h,Kc as _,L as G,Nb as T,Tb as m,Yb as E,_b as J,ac as d,bc as n,cc as o,dc as u,gb as H,hb as q,hc as K,je as Z,ka as D,kc as M,lb as s,mb as W,mc as g,nc as Q,oc as X,ta as S,ua as w,ub as p,wc as Y,xb as b,xc as l,yc as v,zc as C}from"./chunk-5L47ZUSK.js";var A=(()=>{class e{transform(t){switch(t){case"talk":return"Palestra";case"workshop":return"Workshop";case"webinar":return"Semin\xE1rio online"}}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=b({name:"presentationFormat",type:e,pure:!0})}return e})();var Ke=(e,r)=>r.id,Qe=e=>[e],Xe=e=>({right:e}),Ye=e=>({outlets:e}),Ze=e=>["/","apresentacoes",e];function et(e,r){if(e&1&&(n(0,"a",1),u(1,"devmx-icon",2),n(2,"div",3),l(3),o(),n(4,"div",4),l(5),h(6,"presentationFormat"),o()()),e&2){let t=r.$implicit;m("routerLink",O(11,Ze,O(9,Ye,O(7,Xe,O(5,Qe,t.id))))),s(3),v(t.title),s(2),v(_(6,3,t.format))}}var vt=(()=>{class e{data=x([]);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-card-list"]],inputs:{data:[1,"data"]},decls:7,vars:0,consts:[[1,"presentations-card"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","name","presentation"],["matListItemTitle",""],["matListItemLine",""]],template:function(i,a){i&1&&(n(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),l(3,"Apresenta\xE7\xF5es"),o()(),n(4,"mat-list"),c(5,et,7,13,"a",1,Ke),o()()),i&2&&(s(5),d(a.data()))},dependencies:[$,V,N,z,y,he,_e,Ce,ge,ue,k,A,te],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] a[_ngcontent-%COMP%]:link{cursor:pointer}"],changeDetection:0})}return e})();var it=(e,r)=>r.value;function nt(e,r){if(e&1&&(n(0,"mat-chip-option",1),l(1),o()),e&2){let t=r.$implicit;m("value",t.value),s(),C(" ",t.viewValue," ")}}var Dt=(()=>{class e{filterChange=F();formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina"},{value:"webinar",viewValue:"Semin\xE1rio"}];static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-filter"]],outputs:{filterChange:"filterChange"},decls:3,vars:0,consts:[[3,"change"],[3,"value"]],template:function(i,a){i&1&&(n(0,"mat-chip-listbox",0),M("change",function(qe){return a.filterChange.emit(qe.value)}),c(1,nt,2,2,"mat-chip-option",1,it),o()),i&2&&(s(),d(a.formats))},dependencies:[L,Te,Fe],encapsulation:2,changeDetection:0})}return e})();var U=class extends pe{formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina"},{value:"webinar",viewValue:"Semin\xE1rio online"}];constructor(){super({title:new R("",{nonNullable:!0}),format:new R("talk",{nonNullable:!0})})}};var ot=(e,r)=>r.value;function at(e,r){if(e&1&&(n(0,"mat-option",3),l(1),o()),e&2){let t=r.$implicit;m("value",t.value),s(),C(" ",t.viewValue," ")}}var qt=(()=>{class e{form=new U;valueChange=F();constructor(){this.form.valueChanges.pipe(ye(),j(300)).subscribe(()=>{let t=this.form.getRawValue();this.valueChange.emit(t)})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-search"]],outputs:{valueChange:"valueChange"},decls:11,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","title"],["formControlName","format"],[3,"value"]],template:function(i,a){i&1&&(n(0,"form",0)(1,"mat-form-field")(2,"mat-label"),l(3,"T\xEDtulo"),o(),u(4,"input",1),o(),n(5,"mat-form-field")(6,"mat-label"),l(7,"Formato"),o(),n(8,"mat-select",2),c(9,at,2,2,"mat-option",3,ot),o()()()),i&2&&(m("formGroup",a.form),s(9),d(a.form.formats))},dependencies:[I,ce,se,le,me,de,fe,ae,oe,ne,we,Se,ie,ze,Ve],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;display:flex;flex-direction:row}"],changeDetection:0})}return e})();var Ge=(()=>{class e{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}static \u0275fac=function(i){return new(i||e)(W(ee,16))};static \u0275pipe=b({name:"safeUrl",type:e,pure:!0})}return e})();var ei=(()=>{class e{data=x.required();get presentation(){return this.data()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-embed"]],inputs:{data:[1,"data"]},decls:2,vars:4,consts:[["scrolling","no","frameborder","0","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src","title"]],template:function(i,a){i&1&&(u(0,"iframe",0),h(1,"safeUrl")),i&2&&m("src",_(1,2,a.presentation.link+"/embed?style=light"),q)("title",a.presentation.title)},dependencies:[Ge],styles:["[_nghost-%COMP%]{position:relative;width:100%;padding-top:56.25%;overflow:hidden}[_nghost-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0;aspect-ratio:16/9;padding-top:0}"],changeDetection:0})}return e})();var rt=["*"];function st(e,r){if(e&1&&u(0,"img",1),e&2){let t=g();m("src",t.presentation.cover,H)("alt",t.presentation.title)}}function lt(e,r){if(e&1&&(n(0,"mat-chip"),l(1),o()),e&2){let t=r.$implicit;s(),C(" ",t," ")}}var pi=(()=>{class e{data=x.required();discrete=x(!1);get presentation(){return this.data()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-presentation-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:rt,decls:19,vars:7,consts:[[1,"presentation-card"],["mat-card-image","",3,"src","alt"],[1,"presentation-card-content"],["aria-label","Hashtags"],[1,"presentation-card-header"],["name","user-circle",3,"size"],["align","end",1,"presentation-card-actions"]],template:function(i,a){i&1&&(Q(),n(0,"mat-card",0),T(1,st,1,2,"img",1),n(2,"mat-card-header")(3,"mat-card-title"),l(4),o(),n(5,"mat-card-subtitle"),l(6),h(7,"presentationFormat"),o()(),n(8,"mat-card-content",2)(9,"mat-chip-set",3),c(10,lt,2,1,"mat-chip",null,J),o()(),n(12,"mat-card-header",4)(13,"mat-card-subtitle"),u(14,"devmx-icon",5),n(15,"span"),l(16),o()()(),n(17,"mat-card-actions",6),X(18),o()()),i&2&&(s(),E(a.presentation.cover?1:-1),s(3),v(a.presentation.title),s(2),v(_(7,5,a.presentation.format)),s(4),d(a.presentation.tags),s(4),m("size",18),s(2),v(a.presentation.owner.displayName))},dependencies:[$,V,Ie,Ee,N,Le,ke,z,y,k,L,De,be,A],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;max-width:calc(33vw - 1em)}@media (max-width: 1278px){[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{max-width:calc(50vw - 2em)}}@media (max-width: 767px){[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{max-width:calc(100vw - 3em)}}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%]{padding-bottom:1em}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{gap:.4em;display:flex;line-height:1;align-items:center}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]{padding:1em}[_nghost-%COMP%] .presentation-card-content[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%] .presentation-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return e})();var mt=(e,r)=>r.id;function pt(e,r){if(e&1&&(n(0,"mat-list-option",5),l(1),o()),e&2){let t=r.$implicit;m("value",t),s(),C(" ",t.title," ")}}function ct(e,r){if(e&1){let t=K();n(0,"mat-dialog-content",2)(1,"devmx-search-field",3),M("searchChange",function(a){S(t);let f=g();return w(f.onSearchChange(a))}),o(),n(2,"mat-selection-list",4,0),c(4,pt,2,2,"mat-list-option",5,mt),o(),n(6,"devmx-paginator",6),M("pageChange",function(a){S(t);let f=g();return w(f.onPageChange(a))}),o()(),n(7,"mat-dialog-actions",7)(8,"button",8),M("click",function(){S(t);let a=Y(3),f=g();return w(f.close(a.selectedOptions.selected))}),l(9," Selecionar "),o(),n(10,"button",9),M("click",function(){S(t);let a=g();return w(a.ref.close())}),l(11,"Cancelar"),o()()}if(e&2){let t=r,i=g();s(2),m("multiple",i.data.multiple),s(2),d(t.data),s(2),m("items",t.items)}}var He=(()=>{class e{presentationFacade=D(re);ref=D(Ne);data=D($e);search="";constructor(){this.load()}onSearchChange(t){this.search=t,this.load()}onPageChange({page:t,size:i}){this.presentationFacade.setParams({page:t,size:i}),this.load()}load(){let t={title:this.search};this.presentationFacade.setFilter(t),this.presentationFacade.load()}close(t){this.data.multiple?this.ref.close(t.map(i=>i.value)):this.ref.close(t[0].value)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=p({type:e,selectors:[["devmx-select-presentation"]],decls:4,vars:3,consts:[["presentation",""],["mat-dialog-title",""],[1,"dialog-content"],[3,"searchChange"],[1,"presentations",3,"multiple"],[3,"value"],[3,"pageChange","items"],["align","end",1,"dialog-actions"],["mat-raised-button","","type","button",3,"click"],["mat-button","","type","button",3,"click"]],template:function(i,a){if(i&1&&(n(0,"h2",1),l(1,"Encontre uma conta"),o(),T(2,ct,12,2),h(3,"async")),i&2){let f;s(2),E((f=_(3,1,a.presentationFacade.response$))?2:-1,f)}},dependencies:[I,Oe,je,Ue,Be,Re,Pe,ve,y,Me,xe,Z],styles:["[_nghost-%COMP%]{display:block;width:24em;max-width:calc(98vw - 32px)}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:0}[_nghost-%COMP%] .presentations[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:.6em}[_nghost-%COMP%] .dialog-footer[_ngcontent-%COMP%]{padding:0 16px;display:flex;justify-content:space-between}[_nghost-%COMP%] .dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between;margin-left:-8px}"],changeDetection:0})}return e})();var B=class{dialog;constructor(r){this.dialog=r}open(r={}){return this.dialog.open(He,{data:r}).afterClosed().pipe(G(1))}};function Ti(){return{provide:B,deps:[Ae]}}export{A as a,vt as b,Dt as c,U as d,qt as e,ei as f,pi as g,He as h,B as i,Ti as j}; diff --git a/chunk-SG4GQJJH.js b/chunk-SG4GQJJH.js deleted file mode 100644 index 3d9f3620..00000000 --- a/chunk-SG4GQJJH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _n}from"./chunk-JQW63IXS.js";import{a as Fn}from"./chunk-4Z5R5VSG.js";import{b as Gt,c as Zt,d as Xt,e as Kt,g as Yt}from"./chunk-ZQOXWN4S.js";import{a as Se,b as Pe}from"./chunk-JMI5D6U5.js";import{a as mn,b as cn}from"./chunk-AFH22WZE.js";import{a as Cn,b as xn,c as Mn,d as vn,e as yn,f as wn,g as Sn,h as Pn,i as On,j as Dn,k as An}from"./chunk-FROUXDRM.js";import{a as we,b as gn}from"./chunk-4JU575PW.js";import{a as bn}from"./chunk-56M6HFOE.js";import{a as pn}from"./chunk-Q33OVU5J.js";import"./chunk-73QBZNVE.js";import{b as un,e as fn,f as hn}from"./chunk-Q2N7RZTH.js";import{a as I,b as Wt,d as Jt}from"./chunk-L2JQY5SP.js";import{a as tn,b as nn,c as be}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import{a as Ht,b as Ut}from"./chunk-MLNPCJDD.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as rn}from"./chunk-TPJZ2OYR.js";import{k as T,q as le,s as Dt}from"./chunk-XYJHVZQT.js";import{d as sn,e as ln}from"./chunk-VVQ6JEVH.js";import{b as wt,c as St,i as Pt,j as Ot,o as en}from"./chunk-AND6K73U.js";import{f as qt,g as Qt}from"./chunk-BJXILAOS.js";import{a as _e}from"./chunk-A3N3AUUJ.js";import{g as q,h as Ct,i as re,j as xt,p as se,q as ge,s as jt,v as B,w as Nt,x as R}from"./chunk-6BGAZ7SQ.js";import{c as Mt,d as ke,e as Te,g as Be,h as Re,j as Ie,k as Le,l as Ve}from"./chunk-I7VYXJU2.js";import{a as dn}from"./chunk-BNCLIKTI.js";import{a as de,c as pe,e as $t,f as ue,g as fe,i as zt,l as he}from"./chunk-PAP2P7QR.js";import{a as Ce,b as xe,c as on,d as an,e as Me,f as ve,i as ye}from"./chunk-EC6LD5KM.js";import{a as w,c as Ft,e as Et,h as kt,i as Tt,j as me,l as A,m as Bt,p as Rt,r as It,s as Lt,w as ce,x as Vt}from"./chunk-EDIJ2EBQ.js";import{D as yt,E as z,W as $e,X as ze,Y as He,a as Ee,s as vt,xa as At}from"./chunk-W5KNOAKV.js";import{$b as S,Ac as oe,D as We,Ea as ot,F as L,Fb as V,Fc as ft,Gc as ae,Ha as W,I as Je,Ia as at,Ja as rt,Jc as O,Kb as te,Kc as D,L as y,Nb as g,Sb as ct,Sc as ht,Tb as u,Xc as gt,Yb as M,Zc as _t,a as J,ac as P,b as Xe,ba as et,bc as s,cc as r,d as U,dc as p,ea as tt,ec as ne,fa as nt,fc as ie,gb as st,ha as Fe,hc as v,j as Ke,jc as dt,je as N,ka as d,kc as f,lb as l,lc as pt,mc as h,o as Ye,pe as bt,t as Y,ta as _,u as j,ua as b,ub as C,vb as lt,wb as ee,wc as ut,xa as it,xb as mt,xc as c,yc as k,zc as $}from"./chunk-TEKHUYWQ.js";var En=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-feature-admin"]],decls:1,vars:0,template:function(n,i){n&1&&p(0,"router-outlet")},dependencies:[Ct],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();function ei(t,a){}var ti={bottomSheetState:Mt("state",[Re("void, hidden",Be({transform:"translateY(100%)"})),Re("visible",Be({transform:"translateY(0%)"})),Ie("visible => void, visible => hidden",Te([ke(`${ze.COMPLEX} ${$e.ACCELERATION_CURVE}`),Ve("@*",Le(),{optional:!0})])),Ie("void => visible",Te([ke(`${ze.EXITING} ${$e.DECELERATION_CURVE}`),Ve("@*",Le(),{optional:!0})]))])},ni=(()=>{class t extends un{_breakpointSubscription;_animationState="void";_animationStateChanged=new ot;_destroyed;constructor(){super();let e=d(yt);this._breakpointSubscription=e.observe([z.Medium,z.Large,z.XLarge]).subscribe(()=>{let n=this._elementRef.nativeElement.classList;n.toggle("mat-bottom-sheet-container-medium",e.isMatched(z.Medium)),n.toggle("mat-bottom-sheet-container-large",e.isMatched(z.Large)),n.toggle("mat-bottom-sheet-container-xlarge",e.isMatched(z.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(n,i){n&1&&pt("@state.start",function(m){return i._onAnimationStart(m)})("@state.done",function(m){return i._onAnimationDone(m)}),n&2&&(dt("@state",i._animationState),ct("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-label",i._config.ariaLabel))},features:[te],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,i){n&1&&g(0,ei,0,0,"ng-template",0)},dependencies:[qt],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color, var(--mat-sys-surface-container-low));color:var(--mat-bottom-sheet-container-text-color, var(--mat-sys-on-surface));font-family:var(--mat-bottom-sheet-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-bottom-sheet-container-text-size, var(--mat-sys-body-large-size));line-height:var(--mat-bottom-sheet-container-text-line-height, var(--mat-sys-body-large-line-height));font-weight:var(--mat-bottom-sheet-container-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-bottom-sheet-container-text-tracking, var(--mat-sys-body-large-tracking))}@media(forced-colors: active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape, 28px);border-top-right-radius:var(--mat-bottom-sheet-container-shape, 28px)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[ti.bottomSheetState]}})}return t})(),je=new Fe("MatBottomSheetData"),Ue=class{viewContainerRef;panelClass;direction;data=null;hasBackdrop=!0;backdropClass;disableClose=!1;ariaLabel=null;ariaModal=!0;closeOnNavigation=!0;autoFocus="dialog";restoreFocus=!0;scrollStrategy;height="";minHeight;maxHeight},Q=class{_ref;get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}containerInstance;disableClose;_afterOpened=new Ke;_result;_closeFallbackTimeout;constructor(a,e,n){this._ref=a,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(L(i=>i.phaseName==="done"&&i.toState==="visible"),y(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(L(i=>i.phaseName==="done"&&i.toState==="hidden"),y(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),a.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),We(this.backdropClick(),this.keydownEvents().pipe(L(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!vt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(a){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(L(e=>e.phaseName==="start"),y(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=a,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},ii=new Fe("mat-bottom-sheet-default-options"),Ne=(()=>{class t{_overlay=d(en);_parentBottomSheet=d(t,{optional:!0,skipSelf:!0});_defaultOptions=d(ii,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=d(fn);get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(){}open(e,n){let i=J(J({},this._defaultOptions||new Ue),n),o;return this._dialog.open(e,Xe(J({},i),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:ni,scrollStrategy:i.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:o}),providers:(m,x,H)=>(o=new Q(m,i,H),[{provide:Q,useValue:o},{provide:je,useValue:i.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=tt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=lt({type:t});static \u0275inj=nt({providers:[Ne],imports:[hn,He,Qt,He]})}return t})();var Tn=(()=>{class t{ref=d(Q);data=d(je);close(e){this.ref.dismiss(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ee({type:t})}return t})();var G=class{sheet;constructor(a){this.sheet=a}open(a,e){return this.sheet.open(a,{data:e,autoFocus:!0,restoreFocus:!0,panelClass:"devmx-sheet"}).afterDismissed()}};function Bn(){return{provide:G,deps:[Ne]}}var Rn=[Pe(),gn(),Bn()];var In=t=>Jt(d(I),t.params);function ai(t,a){t&1&&(s(0,"th",15),c(1,"T\xEDtulo do album"),r())}function ri(t,a){if(t&1&&(s(0,"td",16),c(1),r()),t&2){let e=a.$implicit;l(),k(e.title)}}function si(t,a){t&1&&(s(0,"th",15),c(1,"Criado por"),r())}function li(t,a){if(t&1&&(s(0,"td",16),c(1),r()),t&2){let e=a.$implicit;l(),k(e.owner.displayName)}}function mi(t,a){t&1&&p(0,"th",15)}function ci(t,a){if(t&1){let e=v();s(0,"td",16)(1,"button",17),f("click",function(){let i=_(e).$implicit,o=h(2);return b(o.openDelete(i))}),p(2,"devmx-icon",18),r()()}}function di(t,a){t&1&&p(0,"tr",19)}function pi(t,a){t&1&&p(0,"tr",20)}function ui(t,a){if(t&1){let e=v();s(0,"table",5),ne(1,6),g(2,ai,2,0,"th",7)(3,ri,2,1,"td",8),ie(),ne(4,9),g(5,si,2,0,"th",7)(6,li,2,1,"td",8),ie(),ne(7,10),g(8,mi,1,0,"th",7)(9,ci,3,0,"td",8),ie(),g(10,di,1,0,"tr",11)(11,pi,1,0,"tr",12),r(),s(12,"mat-card-actions",13)(13,"devmx-paginator",14),f("pageChange",function(i){_(e);let o=h();return b(o.onPageChange(i))}),r()()}if(t&2){let e=a,n=h();u("dataSource",e.data),l(10),u("matHeaderRowDef",n.columns),l(),u("matRowDefColumns",n.columns),l(2),u("size",10)("items",e.items)}}var Ln=(()=>{class t{router=d(re);route=d(q);dialogFacade=d(we);albumFacade=d(I);selectUser=d(Se);#e=Dt(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(Y(i=>i?i.id:"")),n=this.route.queryParams;j([e,n]).pipe(_e()).subscribe(this.onQueryParams)}onQueryParams=([e,n])=>{let{page:i=0,size:o=10}=n,m={title:"",owner:e};this.albumFacade.setParams({page:i,size:o,filter:m}),this.albumFacade.load()};openDelete({id:e,title:n}){this.dialogFacade.confirm(`Confirme que deseja apagar o album ${n}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.albumFacade.delete(e)})}openSelectUser(){this.selectUser.open({multiple:!1}).subscribe(e=>{e&&this.#e.update(e)})}onSearchChange(e=""){this.albumFacade.setFilter({title:e}),this.albumFacade.load()}onPageChange({page:e,size:n}){let i={page:e,size:n};this.router.navigate([],{queryParams:i})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-admin-manage-albums"]],decls:10,vars:4,consts:[[1,"albums-card"],[1,"albums-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(n,i){if(n&1&&(s(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),c(3,"Albuns"),r(),s(4,"div")(5,"button",2),f("click",function(){return i.openSelectUser()}),p(6,"devmx-icon",3),r(),s(7,"devmx-search-field",4),f("searchChange",function(m){return i.onSearchChange(m)}),r()()(),g(8,ui,14,5),O(9,"async"),r()),n&2){let o;l(7),u("debounce",1e3),l(),M((o=D(9,2,i.albumFacade.response$))?8:-1,o)}},dependencies:[se,R,B,bn,be,An,Cn,Mn,Sn,vn,xn,Pn,yn,wn,On,Dn,ye,Ce,Me,ve,xe,w,N],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .albums-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .albums-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .albums-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();function Vn(t){return T((a,e)=>{let n=new FileReader;n.onload=()=>{n.result instanceof ArrayBuffer&&a(n.result)},n.onerror=()=>{e(new Error("Falha ao ler ArrayBuffer"))},n.readAsArrayBuffer(t)})}function $n(t){return"0x"+parseInt(`${t}`).toString(16)}function zn(t){return T(a=>U(this,null,function*(){let e=t.slice(0,4),n=yield Vn(e),o=new DataView(n).getUint32(0,!1);switch(console.log($n(o)),o){case 2303741511:return a("image/png");case 1195984440:return a("image/gif");case 1380533830:return a("image/webp");case 1014199911:return a("image/svg+xml");case 4292411360:case 4292411361:case 4292411374:return a("image/jpeg");default:return a(null)}}))}var Oe=(()=>{class t{elRef=d(rt);get el(){return this.elRef.nativeElement}accept=at([]);enter=W();over=W();leave=W();files=W();onEnter(e){e instanceof DragEvent&&(e.preventDefault(),this.el.classList.add("drag-over"),this.enter.emit(e))}onOver(e){e instanceof DragEvent&&(e.preventDefault(),this.over.emit(e))}onLeave(e){e instanceof DragEvent&&(e.preventDefault(),this.el.classList.remove("drag-over"),this.leave.emit(e))}onDrop(e){return U(this,null,function*(){if(e instanceof DragEvent){e.preventDefault(),this.el.classList.remove("drag-over");let n=e.dataTransfer?.files;if(n&&n.length){let i=Array.from(n),o=[];for(let m of i){let x=yield zn(m);x&&this.accept().includes(x)&&o.push(m)}this.files.emit(o)}}})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ee({type:t,selectors:[["","devmxDropZone",""]],hostBindings:function(n,i){n&1&&f("dragenter",function(m){return i.onEnter(m)})("dragover",function(m){return i.onOver(m)})("dragleave",function(m){return i.onLeave(m)})("drop",function(m){return i.onDrop(m)})},inputs:{accept:[1,"accept"]},outputs:{enter:"enter",over:"over",leave:"leave",files:"files"}})}return t})();var Hn=(()=>{class t{transform(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(2)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=mt({name:"fileSize",type:t,pure:!0})}return t})();function Un(t){return T((a,e)=>{let n=new FileReader;n.onload=()=>{typeof n.result=="string"&&a(n.result)},n.onerror=i=>{i instanceof Error?e(i):e(new Error("Falha ao carregar imagem"))},n.readAsDataURL(t)})}function jn(t,a=1280){return T((e,n)=>{Un(t).then(Fn).then(i=>{let o=document.createElement("canvas");o.width=a;let m=a/i.width;o.height=i.height*m;let x=o.getContext("2d");if(!x)throw n(new Error("Context error"));x.drawImage(i,0,0,o.width,o.height);let H="image/webp";o.toBlob(E=>{if(E){let{width:X,height:K}=o,Ae=new File([E],t.name,{type:H});e(Object.assign(Ae,{width:X,height:K}))}},H)})})}var Qe=class extends me{constructor(a){super({id:new A("",{nonNullable:!0}),data:new A("",{nonNullable:!0}),width:new A(0,{nonNullable:!0}),height:new A(0,{nonNullable:!0}),type:new A("image/webp",{nonNullable:!0})}),a&&this.patchValue(a)}},De=class extends ce{constructor(){super([])}add(a){this.push(new Qe(a))}};var Ge=class extends ce{constructor(){super([])}add(a){this.push(new _n(a))}},Z=class extends me{constructor(){super({id:new A("",{nonNullable:!0}),title:new A(new Date().toLocaleDateString(),{nonNullable:!0,validators:[Et.required]}),contributors:new Ge,photos:new De})}get contributors(){return this.controls.contributors}patch(a){if(this.patchValue(a),a.contributors&&a.contributors.length>0)for(let e of a.contributors)this.contributors.add(e)}};var fi=(t,a)=>a.id,hi=()=>["image/jpeg","image/png","image/webp"];function gi(t,a){if(t&1){let e=v();s(0,"devmx-album-card",3)(1,"a",6),p(2,"devmx-icon",7),r(),s(3,"button",8),f("click",function(){let i=_(e).$implicit,o=h(2);return b(o.deleteAlbum(i))}),p(4,"devmx-icon",9),r()()}if(t&2){let e=a.$implicit;u("data",e),l(),u("routerLink",e.id)}}function _i(t,a){t&1&&(s(0,"div",4)(1,"h2"),c(2,"N\xE3o temos nada aqui..."),r(),s(3,"h3"),c(4," Siga nessa dire\xE7\xE3o "),p(5,"devmx-icon",10)(6,"br"),c(7," at\xE9 encontrar o bot\xE3o com um "),p(8,"devmx-icon",11)(9,"br"),c(10," e cadastre suas fotos. "),p(11,"devmx-icon",12),r()()),t&2&&(l(5),u("size",32),l(3),u("size",32),l(3),u("size",32))}function bi(t,a){if(t&1){let e=v();s(0,"div",2),f("files",function(i){_(e);let o=h();return b(o.onDropFiles(i))}),S(1,gi,5,2,"devmx-album-card",3,fi),r(),g(3,_i,12,3,"div",4),s(4,"footer")(5,"devmx-paginator",5),f("pageChange",function(i){_(e);let o=h();return b(o.onPageChange(i))}),r()()}if(t&2){let e=a;u("accept",ae(4,hi)),l(),P(e.data),l(2),M(e.items?-1:3),l(2),u("size",10)("items",e.items)}}var Nn=(()=>{class t{router=d(re);route=d(q);dialogFacade=d(we);authFacade=d(rn);albumFacade=d(I);constructor(){let e=this.authFacade.auth$.pipe(L(i=>!!i),Y(({id:i})=>i)),n=this.route.queryParams.pipe(Y(({page:i,size:o,title:m})=>({page:i,size:o,title:m})));j([e,n]).pipe(_e()).subscribe(this.onQueryParams)}onQueryParams=([e,n])=>{let{page:i,size:o,title:m}=n,x={title:m,owner:e};this.albumFacade.setParams({page:i,size:o,filter:x}),this.albumFacade.load()};onDropFiles(e){console.log(e)}createAlbum(){let e=new Z;e.patchValue({title:new Date().toLocaleDateString()}),this.albumFacade.create(e.getRawValue()).pipe(y(1)).subscribe(i=>{this.router.navigate([i.id],{relativeTo:this.route})})}deleteAlbum({id:e,title:n}){this.dialogFacade.confirm(`Confirme que deseja apagar a vaga ${n}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(i=>{i&&this.albumFacade.delete(e)})}onPageChange({page:e,size:n}){let i={page:e,size:n};this.router.navigate([],{queryParams:i})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-admin-my-albums"]],decls:4,vars:3,consts:[["mat-fab","",1,"top","right","tertiary-fab",3,"click"],["name","plus"],["devmxDropZone","",1,"albums-container","drag-area",3,"files","accept"],[3,"data"],[1,"no-albums-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar album","matTooltipPosition","above",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar album","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"]],template:function(n,i){if(n&1&&(s(0,"button",0),f("click",function(){return i.createAlbum()}),p(1,"devmx-icon",1),r(),g(2,bi,6,5),O(3,"async")),n&2){let o;l(2),M((o=D(3,1,i.albumFacade.response$))?2:-1,o)}},dependencies:[se,xt,R,Nt,B,jt,nn,tn,be,dn,Oe,w,N],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:flex;flex-flow:row wrap;justify-content:flex-start;grid-template-columns:repeat(2,1fr)}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:50%}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-albums-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media (min-width: 1920px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:33%}}@media (max-width: 767px){[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%]{align-content:flex-start;grid-template-columns:1fr}[_nghost-%COMP%] .albums-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-flex;min-width:100%}}[_nghost-%COMP%] .add-button[_ngcontent-%COMP%]{position:fixed;right:4em;top:2em}"],changeDetection:0})}return t})();var xi=(t,a)=>a.photo.name;function Mi(t,a){if(t&1&&(s(0,"mat-list-item")(1,"span",2),c(2),O(3,"fileSize"),r(),s(4,"span",3),c(5),r(),p(6,"mat-progress-bar",4),r()),t&2){let e=a.$implicit;l(2),$(" ",D(3,3,e.photo.size)," "),l(3),$(" ",e.progress(),"% "),l(),u("value",e.progress())}}function vi(t,a){t&1&&c(0," Preparando imagens ")}function yi(t,a){t&1&&c(0," Enviando imagens ")}function wi(t,a){if(t&1&&(s(0,"mat-list-item")(1,"span",2),g(2,vi,1,0)(3,yi,1,0),r(),s(4,"span",3),c(5),r(),p(6,"mat-progress-bar",4),r()),t&2){let e=a;l(2),M(e<100?2:3),l(3),$(" ",e,"% "),l(),u("value",e)}}var qn=(()=>{class t{queue=V([]);opened=V(!1);resizing=V(0);total=gt(()=>this.queue().length);completed=V(0);constructor(){_t(()=>{let{length:e}=this.queue().filter(({progress:n})=>n()>=90);this.completed.set(e)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-upload-queue"]],exportAs:["devmxUploadQueue"],decls:12,vars:5,consts:[[3,"expanded","hideToggle"],["name","arrow/chevron-down"],["matListItemTitle",""],["matListItemMeta",""],["mode","determinate",3,"value"]],template:function(n,i){if(n&1&&(s(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),c(3," Enviando "),r(),s(4,"mat-panel-description"),c(5),p(6,"devmx-icon",1),r()(),s(7,"section")(8,"mat-list"),S(9,Mi,7,5,"mat-list-item",null,xi),g(11,wi,7,3,"mat-list-item"),r()()()),n&2){let o;u("expanded",i.opened())("hideToggle",!0),l(5),oe(" ",i.completed()," de ",i.total()," "),l(4),P(i.queue()),l(2),M((o=i.resizing())?11:-1,o)}},dependencies:[Ut,Ht,Yt,Gt,Zt,Kt,Xt,he,ue,fe,de,pe,w,Hn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:18em;position:fixed;bottom:64px;right:12px}[_nghost-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .mat-expansion-panel-content .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;max-height:80vh;overflow:auto}"],changeDetection:0})}return t})();var Si=(t,a)=>a.value;function Pi(t,a){if(t&1){let e=v();s(0,"mat-list-item"),p(1,"devmx-icon",6),s(2,"span",7),c(3),r(),s(4,"button",8),f("click",function(){let i=_(e).$index,o=h();return b(o.form.contributors.removeAt(i))}),p(5,"devmx-icon",9),r()()}if(t&2){let e=a.$implicit;l(3),k(e.value.displayName)}}var Qn=(()=>{class t extends Tn{form=new Z;cdr=d(ht);selectUser=d(Se);ngOnInit(){this.data&&this.form.patch(this.data)}selectContributors(){this.selectUser.open({multiple:!0}).pipe(y(1)).subscribe(n=>{if(n){for(let i of n)this.form.contributors.add(i);this.cdr.detectChanges()}})}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return console.log(e),this.close(e)}return this.form.markAllAsTouched()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=it(t)))(i||t)}})();static \u0275cmp=C({type:t,selectors:[["devmx-album-details"]],features:[ft([Pe()]),te],decls:19,vars:1,consts:[[3,"submit","formGroup"],["matInput","","formControlName","title"],["formArrayName","contributors"],["mat-subheader",""],["type","button","mat-button","",3,"click"],["mat-flat-button",""],["matListItemIcon","","name","user-circle"],["matListItemTitle",""],["type","button","mat-icon-button","","matListItemMeta","",3,"click"],["name","trash"]],template:function(n,i){n&1&&(s(0,"form",0),f("submit",function(){return i.onSubmit()}),s(1,"mat-form-field")(2,"mat-label"),c(3,"T\xEDtulo do album"),r(),p(4,"input",1),s(5,"mat-error"),c(6,"Obrigat\xF3rio"),r()(),s(7,"mat-list",2)(8,"p",3),c(9,"Contribuidores"),r(),S(10,Pi,6,1,"mat-list-item",null,Si),r(),s(12,"button",4),f("click",function(){return i.selectContributors()}),c(13," Permitir contribui\xE7\xE3o de outras pessoas "),r(),s(14,"footer")(15,"button",5),c(16,"Salvar"),r(),s(17,"button",4),f("click",function(){return i.close()}),c(18,"Fechar"),r()()()),n&2&&(u("formGroup",i.form),l(10),P(i.form.contributors.controls))},dependencies:[kn,Vt,Bt,Ft,kt,Tt,Rt,Lt,It,Ot,Pt,wt,St,R,ge,B,ln,sn,he,ue,fe,$t,zt,de,pe,w],styles:["[_nghost-%COMP%]{display:flex;padding:1.5em 1em .5em;flex-direction:column}[_nghost-%COMP%] form[_ngcontent-%COMP%]{flex:1;gap:1em;display:flex;flex-direction:column}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin-top:1em;display:flex;flex-direction:row-reverse;justify-content:space-between}"],changeDetection:0})}return t})();var Gn=(t,a)=>a.id,Oi=()=>["image/jpeg","image/png","image/webp","image/svg+xml"];function Di(t,a){if(t&1){let e=v();s(0,"figure"),p(1,"img",9),s(2,"figcaption"),c(3),r(),s(4,"mat-checkbox",10),f("change",function(i){let o=_(e).$implicit,m=h(2);return b(i?m.selection.toggle(o.id):null)}),r()()}if(t&2){let e=a.$implicit,n=h(2);l(),u("src",e.data,st)("alt",e.caption),l(2),k(e.caption),l(),u("checked",n.selection.isSelected(e.id))}}function Ai(t,a){if(t&1&&(s(0,"strong"),c(1),r()),t&2){let e=a.$implicit,n=a.$index,i=a.$count;l(),oe("",e.displayName,"",n===i-1?"":", ","")}}function Fi(t,a){if(t&1&&(s(0,"mat-card-content"),S(1,Ai,2,2,"strong",null,Gn),c(3," tem permiss\xE3o para contribuir neste album. "),r()),t&2){let e=h();l(),P(e.contributors)}}function Ei(t,a){if(t&1){let e=v();s(0,"mat-card",1)(1,"mat-card-header",2)(2,"mat-card-title"),c(3),r(),s(4,"mat-card-subtitle"),c(5),O(6,"date"),r(),s(7,"button",3),f("click",function(){let i=_(e),o=h();return b(o.editAlbum(i))}),p(8,"devmx-icon",4),r()(),s(9,"mat-card-actions",5)(10,"mat-checkbox",6),f("change",function(i){let o=_(e),m=h();return b(i?m.toggleAll(o.photos,m.selection.selected):null)}),r(),s(11,"button",7),f("click",function(){let i=_(e),o=h();return b(o.deleteSelection(o.selection.selected,i.id))}),c(12),r()(),s(13,"mat-card-content",8),f("files",function(i){let o=_(e),m=ut(18),x=h();return b(x.onDrop(o.id,i,m))}),S(14,Di,5,4,"figure",null,Gn),r(),g(16,Fi,4,0,"mat-card-content"),r(),p(17,"devmx-upload-queue",null,0)}if(t&2){let e=a,n=h();l(3),k(e.title),l(2),$(" Criado dia ",D(6,8,e.createdAt)," "),l(5),u("indeterminate",n.selection.hasValue()&&!n.isAllSelected(e.photos,n.selection.selected))("checked",n.selection.hasValue()&&n.isAllSelected(e.photos,n.selection.selected)),l(),u("disabled",n.selection.selected.length===0),l(),$(" Remover ",n.selection.selected.length," foto(s) "),l(),u("accept",ae(10,Oi)),l(),P(e.photos),l(2),M(e.contributors&&e.contributors.length>0?16:-1)}}var Zn=(()=>{class t{route=d(q);albumFacade=d(I);photoFacade=d(Wt);sheetFacade=d(G);selection=new At(!0);onDrop(e,n,i){return U(this,null,function*(){let o=n.length*2,m=0;i.opened.set(!0);for(let E of n){m+=1,i.resizing.set(le(m,o));let X=V(0),K=yield jn(E,640);i.queue.set([...i.queue(),{photo:K,progress:X}]),m+=1,i.resizing.set(le(m,o))}let x=0,H=({photo:E,progress:X})=>{let K=({loaded:Yn,total:Wn,type:Ze})=>{Ze===Ee.UploadProgress&&X.set(le(Yn,Wn??E.size)),Ze===Ee.Response&&(x+=1,x>=i.total()&&this.albumFacade.loadOne(e))},{width:Ae,height:Xn}=E,Kn={album:e,width:Ae,height:Xn,photo:E};return this.photoFacade.upload(Kn).pipe(et(K))};Ye(i.queue()).pipe(Je(H)).subscribe()})}isAllSelected(e,n){return n.length===e.length}toggleAll(e,n){if(this.isAllSelected(e,n))return this.selection.clear();this.selection.select(...e.map(({id:i})=>i))}deleteSelection(e,n){j(e.map(i=>(this.selection.deselect(i),this.photoFacade.delete(i)))).subscribe(()=>this.albumFacade.loadOne(n))}editAlbum(e){this.sheetFacade.open(Qn,e).pipe(y(1)).subscribe(i=>{i&&this.albumFacade.update(i)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=C({type:t,selectors:[["devmx-admin-album"]],decls:2,vars:3,consts:[["uploadQueue","devmxUploadQueue"],[1,"album-card"],[1,"album-card-header"],["mat-icon-button","",3,"click"],["name","software/edit"],[1,"album-card-actions"],[1,"photo-checkbox",3,"change","indeterminate","checked"],["color","warn","type","button","mat-flat-button","",3,"click","disabled"],["devmxDropZone","",1,"album-card-content","drag-area",3,"files","accept"],[3,"src","alt"],[1,"photo-checkbox",3,"change","checked"]],template:function(n,i){if(n&1&&(g(0,Ei,19,11),O(1,"async")),n&2){let o;M((o=D(1,1,i.albumFacade.selected$))?0:-1,o)}},dependencies:[qn,Oe,cn,mn,R,ge,B,ye,Ce,Me,on,ve,an,xe,w,N,bt],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]{gap:1em}[_nghost-%COMP%] .album-card-header[_ngcontent-%COMP%]{justify-content:space-between}[_nghost-%COMP%] .album-card-header[_ngcontent-%COMP%] .mat-mdc-card-header-text{flex:1;justify-self:flex-start}[_nghost-%COMP%] .album-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{gap:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{margin:0;box-sizing:border-box;border-radius:.4em;position:relative;overflow:hidden;background-color:#0000000a}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:flex;object-fit:cover;height:24em}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{display:flex;width:100%;padding:.4em;position:absolute;bottom:0;background-color:#0006;color:#fff9;z-index:100}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] .photo-checkbox[_ngcontent-%COMP%]{background-color:#fff;position:absolute;border-radius:50%;opacity:0;right:1em;top:-2em;transition:top .25s ease-in-out,opacity .25s ease-in-out}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]:hover .photo-checkbox[_ngcontent-%COMP%]{opacity:1;top:1em}[_nghost-%COMP%] .album-card-content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] .photo-checkbox.mat-mdc-checkbox-checked[_ngcontent-%COMP%]{opacity:1;top:1em}[_nghost-%COMP%] .album-card-content.drag-area[_ngcontent-%COMP%]{min-height:32em;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:background-image .6s ease-in-out}[_nghost-%COMP%] .album-card-content.drag-area.drag-over[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff6;background-image:url(/figures/drop-photos.svg);background-position:center center;background-repeat:no-repeat}"],changeDetection:0})}return t})();var Vr=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Rn,component:En,children:[{path:"meus-albuns/:id",data:{breadcrumb:t=>t.album.title},title:"Meu album",resolve:{album:In},component:Zn},{path:"meus-albuns",data:{breadcrumb:"Meus albuns"},title:"Meus albuns",component:Nn},{path:"gerenciar-albuns",data:{breadcrumb:"Gerenciar albuns"},title:"Gerenciar albuns",canActivate:[pn("director","manager","staff")],component:Ln},{path:"",pathMatch:"prefix",redirectTo:"meus-albuns"}]}];export{En as AlbumFeatureAdminComponent,Vr as albumFeatureAdminRoutes}; diff --git a/chunk-MZVM2UVI.js b/chunk-SHFAOAWS.js similarity index 86% rename from chunk-MZVM2UVI.js rename to chunk-SHFAOAWS.js index 8c81bdac..2c27212a 100644 --- a/chunk-MZVM2UVI.js +++ b/chunk-SHFAOAWS.js @@ -1 +1 @@ -import{a as he,c as Pe,f as xe,g as ve}from"./chunk-F2BR4OZZ.js";import{a as se}from"./chunk-ZTJS4K5V.js";import{a as ae}from"./chunk-M5BYPXOP.js";import"./chunk-ZQOXWN4S.js";import"./chunk-56M6HFOE.js";import{a as I}from"./chunk-Q33OVU5J.js";import"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{b as oe}from"./chunk-WKFJTKSD.js";import{a as E}from"./chunk-ZHS65JNW.js";import{c as re}from"./chunk-BLJCB4Q7.js";import"./chunk-2XST3EDK.js";import"./chunk-MLNPCJDD.js";import{a as k,b as Q,c as W}from"./chunk-JNB3NYAZ.js";import"./chunk-UOTKRQ63.js";import{a as ge}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as Ce}from"./chunk-TPJZ2OYR.js";import"./chunk-ZTWYID37.js";import"./chunk-XYJHVZQT.js";import"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as M}from"./chunk-A3N3AUUJ.js";import{g as w,i as S,j as b,p as P,w as ne,x as ie}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as K,e as X,f as Y,g as Z,i as ee,l as te}from"./chunk-PAP2P7QR.js";import{a as le,b as me,c as ce,d as pe,f as de,g as _e,h as fe,i as ue}from"./chunk-EC6LD5KM.js";import{a as J}from"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import{$b as O,Ba as $,F as A,Hc as v,Jc as g,Kc as h,Nb as c,Ob as x,Pb as B,Qb as q,Rb as U,Tb as l,Yb as u,_b as V,ac as D,bc as n,cc as a,dc as s,gb as y,hc as N,je as H,ka as m,kc as L,lb as o,mc as _,t as R,ta as z,ua as j,ub as C,xc as p,yc as G,zc as F}from"./chunk-TEKHUYWQ.js";var ye=(()=>{class e{router=m(S);destroyRef=m($);authenticationFacade=m(Ce);layoutFacade=m(oe);ngOnInit(){this.authenticationFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authenticationFacade.load()}waitingForLogout(){this.authenticationFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentation-feature-shell"]],decls:1,vars:0,template:function(i,d){i&1&&s(0,"devmx-layout")},dependencies:[P,ae],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Oe=e=>W(m(k),e.params);var be=()=>[xe];function ke(e,r){if(e&1&&s(0,"img",7),e&2){let t=_();l("src",t.cover,y)("alt",t.title)}}function Te(e,r){if(e&1&&s(0,"devmx-presentation-embed",12),e&2){let t=_(2);l("data",t)}}function Le(e,r){e&1&&(n(0,"div",13)(1,"div")(2,"blockquote")(3,"p"),p(4,'"O conhecimento sem fronteiras transcende barreiras"'),a(),n(5,"cite"),p(6,"\u2014 Guilherme Siquinelli"),a()()()())}function Ee(e,r){e&1&&(c(0,Te,1,1)(1,Le,7,0),x(2,0,be,null,1),q(0,-1))}function Ie(e,r){if(e&1&&(n(0,"mat-list-item"),s(1,"devmx-icon",15),n(2,"div",9)(3,"a",16),p(4),a()()()),e&2){let t=r.$implicit;o(3),l("href",t,y),o(),F(" ",t," ")}}function Re(e,r){if(e&1&&(n(0,"mat-list")(1,"h3",14),p(2,"Materiais"),a(),O(3,Ie,5,2,"mat-list-item",null,V),a()),e&2){let t=_();o(3),D(t.resources)}}function Ae(e,r){if(e&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),a(),n(4,"mat-card-title",4),p(5),a(),n(6,"a",5),s(7,"devmx-icon",6),a()(),c(8,ke,1,2,"img",7),n(9,"mat-list")(10,"mat-list-item"),s(11,"devmx-icon",8),n(12,"div",9),p(13),g(14,"presentationFormat"),a()()(),c(15,Ee,4,0),n(16,"mat-card-content"),s(17,"devmx-markdown-view",10),a(),c(18,Re,5,0,"mat-list"),n(19,"mat-card-header"),s(20,"img",11),g(21,"photo"),n(22,"mat-card-title"),p(23),a(),n(24,"mat-card-subtitle"),p(25," Autor "),a()()()),e&2){let t=r;o(5),F(" ",t.title," "),o(3),u(t.cover?8:-1),o(5),G(h(14,9,t.format)),o(2),u(t.link?15:-1),o(2),l("content",t.description),o(),u(t.resources.length?18:-1),o(2),l("src",h(21,11,t.owner.profile==null?null:t.owner.profile.photo),y)("alt",t.owner.displayName),o(3),F(" ",t.owner.displayName," ")}}var De=(()=>{class e{route=m(w);presentation$=this.route.data.pipe(A(t=>"presentation"in t),R(t=>t.presentation));static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentation-details"]],decls:2,vars:3,consts:[[1,"presentation-card"],[1,"presentation-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"presentation-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["mat-card-image","",3,"src","alt"],["matListItemIcon","","name","user-presentation"],["matListItemTitle",""],[3,"content"],["mat-card-avatar","",3,"src","alt"],[3,"data"],[1,"presentation-placeholder"],["mat-subheader",""],["matListItemIcon","","name","external-link"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(i,d){if(i&1&&(c(0,Ae,26,13,"mat-card",0),g(1,"async")),i&2){let f;u((f=h(1,1,d.presentation$))?0:-1,f)}},dependencies:[P,b,ue,le,fe,ce,de,_e,pe,me,te,Y,Z,X,ee,K,ie,ne,J,ge,he,se,H],styles:["[_nghost-%COMP%]{flex:1;height:100%;display:flex;flex-direction:column}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 16px;font-size:1.2em;font-weight:500;opacity:.6}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link:hover{text-decoration:underline}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%]{position:relative;width:100%;padding-top:56.25%;overflow:hidden}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:calc(100% - 2em);height:calc(100% - 2em);border:0;aspect-ratio:16/9;padding:1em;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.2em;line-height:1.2em;opacity:.8}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] cite[_ngcontent-%COMP%]{margin:.4em;display:flex;font-size:1em;opacity:.4}"],changeDetection:0})}return e})();var ze=(e,r)=>r.id,je=()=>[E,re,import("./chunk-QQ3DFMVY.js").then(e=>e.AsyncPipe)],$e=()=>[ve,b],Be=e=>[e],qe=e=>({right:e}),Ue=e=>({outlets:e}),Ve=e=>["/","apresentacoes",e];function Ne(e,r){if(e&1&&(n(0,"a",4),s(1,"devmx-presentation-card",5),a()),e&2){let t=_().$implicit;l("routerLink",v(8,Ve,v(6,Ue,v(4,qe,v(2,Be,t.id))))),o(),l("data",t)}}function Ge(e,r){e&1&&s(0,"devmx-skeleton",6),e&2&&l("rows",3)}function He(e,r){e&1&&(c(0,Ne,2,10)(1,Ge,1,1),x(2,0,$e,null,1),U(0,-1))}function Qe(e,r){if(e&1){let t=N();n(0,"div",1),O(1,He,4,0,null,null,ze),a(),s(3,"div",2),n(4,"footer")(5,"devmx-paginator",3),L("pageChange",function(d){z(t);let f=_(2);return j(f.onPageChange(d))}),a()()}if(e&2){let t=r;o(),D(t.data),o(4),l("size",10)("items",t.items)}}function We(e,r){if(e&1&&(c(0,Qe,6,2),g(1,"async")),e&2){let t,i=_();u((t=h(1,1,i.presentationFacade.response$))?0:-1,t)}}function Je(e,r){e&1&&(n(0,"div",1),s(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),a()),e&2&&(o(),l("rows",3),o(),l("rows",2),o(),l("rows",3))}var Fe=(()=>{class e{presentationFacade=m(k);router=m(S);route=m(w);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:i=0,size:d=10}=t,{title:f="",format:T=""}=t,we={title:f,format:T};this.presentationFacade.setParams({page:i,size:d,filter:we}),this.presentationFacade.load()};onFilterChange(t){let i={format:t};this.router.navigate([],{queryParams:i})}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentations"]],decls:6,vars:0,consts:[[3,"filterChange"],[1,"presentations-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(i,d){i&1&&(n(0,"header")(1,"devmx-presentation-filter",0),L("filterChange",function(T){return d.onFilterChange(T)}),a()(),c(2,We,2,3)(3,Je,4,3),x(4,2,je,null,3),B(500))},dependencies:[E,Pe,P],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Nt=[{path:"",providers:[...Q()],data:{breadcrumb:"Apresenta\xE7\xF5es"},canActivate:[I("member")],component:ye,children:[{path:"administracao",canActivate:[I("speaker","director","manager","staff")],loadChildren:()=>import("./chunk-NAMLT62R.js").then(e=>e.presentationFeatureAdminRoutes)},{path:"",title:"Apresenta\xE7\xF5es",component:Fe},{path:":id",data:{breadcrumb:e=>e.presentation.title},title:"Apresenta\xE7\xE3o",resolve:{presentation:Oe},component:De,outlet:"right"}]}];export{ye as PresentationFeatureShellComponent,Nt as presentationFeatureShellRoutes}; +import{a as he,c as Pe,f as xe,g as ve}from"./chunk-SF2V34MO.js";import{a as se}from"./chunk-LJI7J76F.js";import{a as ae}from"./chunk-2ZQUZ4JV.js";import"./chunk-GXWUGGBK.js";import"./chunk-5XJFAPMG.js";import{a as I}from"./chunk-Z63MF55O.js";import"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{b as oe}from"./chunk-RN4QN3AM.js";import{a as E}from"./chunk-EM27EDGS.js";import{c as re}from"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-4OXAFH6K.js";import{a as k,b as Q,c as W}from"./chunk-C7FIZGKV.js";import"./chunk-OQLD3BC6.js";import{a as ge}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as Ce}from"./chunk-5MUU2WLY.js";import"./chunk-HEUAONWX.js";import"./chunk-7BKB7KKA.js";import"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as M}from"./chunk-366DNJGU.js";import{g as w,i as S,j as b,p as P,w as ne,x as ie}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as K,e as X,f as Y,g as Z,i as ee,l as te}from"./chunk-UANEMOTZ.js";import{a as le,b as me,c as ce,d as pe,f as de,g as _e,h as fe,i as ue}from"./chunk-BJ2ND26O.js";import{a as J}from"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import{$b as O,Ba as $,F as A,Hc as v,Jc as g,Kc as h,Nb as c,Ob as x,Pb as B,Qb as q,Rb as U,Tb as l,Yb as u,_b as V,ac as D,bc as n,cc as a,dc as s,gb as y,hc as N,je as H,ka as m,kc as L,lb as o,mc as _,t as R,ta as z,ua as j,ub as C,xc as p,yc as G,zc as F}from"./chunk-5L47ZUSK.js";var ye=(()=>{class e{router=m(S);destroyRef=m($);authenticationFacade=m(Ce);layoutFacade=m(oe);ngOnInit(){this.authenticationFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t&&(this.layoutFacade.loadNavLinks(t.roles),this.waitingForLogout())}),this.authenticationFacade.load()}waitingForLogout(){this.authenticationFacade.auth$.pipe(M(this.destroyRef)).subscribe(t=>{t===null&&(this.layoutFacade.resetNavLinks(),this.router.navigateByUrl("/conta/autenticacao"))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentation-feature-shell"]],decls:1,vars:0,template:function(i,d){i&1&&s(0,"devmx-layout")},dependencies:[P,ae],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return e})();var Oe=e=>W(m(k),e.params);var be=()=>[xe];function ke(e,r){if(e&1&&s(0,"img",7),e&2){let t=_();l("src",t.cover,y)("alt",t.title)}}function Te(e,r){if(e&1&&s(0,"devmx-presentation-embed",12),e&2){let t=_(2);l("data",t)}}function Le(e,r){e&1&&(n(0,"div",13)(1,"div")(2,"blockquote")(3,"p"),p(4,'"O conhecimento sem fronteiras transcende barreiras"'),a(),n(5,"cite"),p(6,"\u2014 Guilherme Siquinelli"),a()()()())}function Ee(e,r){e&1&&(c(0,Te,1,1)(1,Le,7,0),x(2,0,be,null,1),q(0,-1))}function Ie(e,r){if(e&1&&(n(0,"mat-list-item"),s(1,"devmx-icon",15),n(2,"div",9)(3,"a",16),p(4),a()()()),e&2){let t=r.$implicit;o(3),l("href",t,y),o(),F(" ",t," ")}}function Re(e,r){if(e&1&&(n(0,"mat-list")(1,"h3",14),p(2,"Materiais"),a(),O(3,Ie,5,2,"mat-list-item",null,V),a()),e&2){let t=_();o(3),D(t.resources)}}function Ae(e,r){if(e&1&&(n(0,"mat-card",0)(1,"mat-card-header",1)(2,"a",2),s(3,"devmx-icon",3),a(),n(4,"mat-card-title",4),p(5),a(),n(6,"a",5),s(7,"devmx-icon",6),a()(),c(8,ke,1,2,"img",7),n(9,"mat-list")(10,"mat-list-item"),s(11,"devmx-icon",8),n(12,"div",9),p(13),g(14,"presentationFormat"),a()()(),c(15,Ee,4,0),n(16,"mat-card-content"),s(17,"devmx-markdown-view",10),a(),c(18,Re,5,0,"mat-list"),n(19,"mat-card-header"),s(20,"img",11),g(21,"photo"),n(22,"mat-card-title"),p(23),a(),n(24,"mat-card-subtitle"),p(25," Autor "),a()()()),e&2){let t=r;o(5),F(" ",t.title," "),o(3),u(t.cover?8:-1),o(5),G(h(14,9,t.format)),o(2),u(t.link?15:-1),o(2),l("content",t.description),o(),u(t.resources.length?18:-1),o(2),l("src",h(21,11,t.owner.profile==null?null:t.owner.profile.photo),y)("alt",t.owner.displayName),o(3),F(" ",t.owner.displayName," ")}}var De=(()=>{class e{route=m(w);presentation$=this.route.data.pipe(A(t=>"presentation"in t),R(t=>t.presentation));static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentation-details"]],decls:2,vars:3,consts:[[1,"presentation-card"],[1,"presentation-card-header","sticky"],["mat-card-avatar","","routerLink","..","mat-icon-button",""],["name","arrow/left"],[1,"presentation-card-header-title"],["routerLink","..","mat-icon-button",""],["name","close-cross"],["mat-card-image","",3,"src","alt"],["matListItemIcon","","name","user-presentation"],["matListItemTitle",""],[3,"content"],["mat-card-avatar","",3,"src","alt"],[3,"data"],[1,"presentation-placeholder"],["mat-subheader",""],["matListItemIcon","","name","external-link"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(i,d){if(i&1&&(c(0,Ae,26,13,"mat-card",0),g(1,"async")),i&2){let f;u((f=h(1,1,d.presentation$))?0:-1,f)}},dependencies:[P,b,ue,le,fe,ce,de,_e,pe,me,te,Y,Z,X,ee,K,ie,ne,J,ge,he,se,H],styles:["[_nghost-%COMP%]{flex:1;height:100%;display:flex;flex-direction:column}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 16px;font-size:1.2em;font-weight:500;opacity:.6}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:pre-line;line-height:1.2em;word-wrap:break-word}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link:hover{text-decoration:underline}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}[_nghost-%COMP%] .presentation-card-header[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%]{position:relative;width:100%;padding-top:56.25%;overflow:hidden}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:calc(100% - 2em);height:calc(100% - 2em);border:0;aspect-ratio:16/9;padding:1em;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.2em;line-height:1.2em;opacity:.8}[_nghost-%COMP%] .presentation-placeholder[_ngcontent-%COMP%] div[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] cite[_ngcontent-%COMP%]{margin:.4em;display:flex;font-size:1em;opacity:.4}"],changeDetection:0})}return e})();var ze=(e,r)=>r.id,je=()=>[E,re,import("./chunk-NAKSAAO7.js").then(e=>e.AsyncPipe)],$e=()=>[ve,b],Be=e=>[e],qe=e=>({right:e}),Ue=e=>({outlets:e}),Ve=e=>["/","apresentacoes",e];function Ne(e,r){if(e&1&&(n(0,"a",4),s(1,"devmx-presentation-card",5),a()),e&2){let t=_().$implicit;l("routerLink",v(8,Ve,v(6,Ue,v(4,qe,v(2,Be,t.id))))),o(),l("data",t)}}function Ge(e,r){e&1&&s(0,"devmx-skeleton",6),e&2&&l("rows",3)}function He(e,r){e&1&&(c(0,Ne,2,10)(1,Ge,1,1),x(2,0,$e,null,1),U(0,-1))}function Qe(e,r){if(e&1){let t=N();n(0,"div",1),O(1,He,4,0,null,null,ze),a(),s(3,"div",2),n(4,"footer")(5,"devmx-paginator",3),L("pageChange",function(d){z(t);let f=_(2);return j(f.onPageChange(d))}),a()()}if(e&2){let t=r;o(),D(t.data),o(4),l("size",10)("items",t.items)}}function We(e,r){if(e&1&&(c(0,Qe,6,2),g(1,"async")),e&2){let t,i=_();u((t=h(1,1,i.presentationFacade.response$))?0:-1,t)}}function Je(e,r){e&1&&(n(0,"div",1),s(1,"devmx-skeleton",6)(2,"devmx-skeleton",6)(3,"devmx-skeleton",6),a()),e&2&&(o(),l("rows",3),o(),l("rows",2),o(),l("rows",3))}var Fe=(()=>{class e{presentationFacade=m(k);router=m(S);route=m(w);constructor(){this.route.queryParams.pipe(M()).subscribe(this.onQueryParams)}onQueryParams=t=>{let{page:i=0,size:d=10}=t,{title:f="",format:T=""}=t,we={title:f,format:T};this.presentationFacade.setParams({page:i,size:d,filter:we}),this.presentationFacade.load()};onFilterChange(t){let i={format:t};this.router.navigate([],{queryParams:i})}onPageChange(t){this.router.navigate([],{queryParams:t})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["devmx-presentations"]],decls:6,vars:0,consts:[[3,"filterChange"],[1,"presentations-container"],[1,"spacer"],[3,"pageChange","size","items"],[3,"routerLink"],[3,"data"],[3,"rows"]],template:function(i,d){i&1&&(n(0,"header")(1,"devmx-presentation-filter",0),L("filterChange",function(T){return d.onFilterChange(T)}),a()(),c(2,We,2,3)(3,Je,4,3),x(4,2,je,null,3),B(500))},dependencies:[E,Pe,P],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;padding:.4em .8em}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr)}@media (max-width: 1918px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1278px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{flex:1;display:flex}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return e})();var Nt=[{path:"",providers:[...Q()],data:{breadcrumb:"Apresenta\xE7\xF5es"},canActivate:[I("member")],component:ye,children:[{path:"administracao",canActivate:[I("speaker","director","manager","staff")],loadChildren:()=>import("./chunk-U4DRQCSW.js").then(e=>e.presentationFeatureAdminRoutes)},{path:"",title:"Apresenta\xE7\xF5es",component:Fe},{path:":id",data:{breadcrumb:e=>e.presentation.title},title:"Apresenta\xE7\xE3o",resolve:{presentation:Oe},component:De,outlet:"right"}]}];export{ye as PresentationFeatureShellComponent,Nt as presentationFeatureShellRoutes}; diff --git a/chunk-SZNPDBBQ.js b/chunk-SZNPDBBQ.js deleted file mode 100644 index bcb28c48..00000000 --- a/chunk-SZNPDBBQ.js +++ /dev/null @@ -1 +0,0 @@ -import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"./chunk-DAURILCW.js";import"./chunk-O3T3UZHL.js";import"./chunk-VVQ6JEVH.js";import"./chunk-HGOTYYGI.js";import"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import"./chunk-A3N3AUUJ.js";import"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import"./chunk-PAP2P7QR.js";import"./chunk-EC6LD5KM.js";import"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import"./chunk-TEKHUYWQ.js";export{k as EventCardComponent,c as EventCardListComponent,b as EventDateRangeComponent,a as EventDateRangeForm,d as EventFilterComponent,f as EventFormatPipe,l as EventTimeComponent,g as FindInRSVPPipe,e as RSVPButtonComponent,h as RSVPByStatusPipe,m as RSVPForm,i as ShowEventAddressPipe,j as ShowEventLinkPipe}; diff --git a/chunk-FROUXDRM.js b/chunk-TDAJGOKB.js similarity index 99% rename from chunk-FROUXDRM.js rename to chunk-TDAJGOKB.js index 31d3cbd4..349a0b02 100644 --- a/chunk-FROUXDRM.js +++ b/chunk-TDAJGOKB.js @@ -1 +1 @@ -import{A as Ne,C as Ae}from"./chunk-6BGAZ7SQ.js";import{U as Oe,Y as ae,f as Me,ta as Z,ua as Ie,va as z,wa as G}from"./chunk-W5KNOAKV.js";import{$ as Q,Aa as be,Ea as Se,Eb as A,Fa as xe,Fc as y,Ja as b,Kb as u,Mb as O,Nb as q,Sc as Fe,Tc as H,Va as Te,Vb as K,Vc as v,Yb as P,bc as x,cc as T,ea as ve,ed as Ee,fa as V,gc as h,ha as U,j as Ce,k as De,ka as a,lb as N,nc as Y,ob as w,oc as F,p as se,pc as C,r as Re,rc as D,sa as W,sc as R,ub as S,vb as $,wb as d,xa as p,za as ke}from"./chunk-TEKHUYWQ.js";var Je=[[["caption"]],[["colgroup"],["col"]],"*"],et=["caption","colgroup, col","*"];function tt(i,s){i&1&&F(0,2)}function it(i,s){i&1&&(x(0,"thead",0),h(1,1),T(),x(2,"tbody",0),h(3,2)(4,3),T(),x(5,"tfoot",0),h(6,4),T())}function ot(i,s){i&1&&h(0,1)(1,2)(2,3)(3,4)}var _=new U("CDK_TABLE");var oe=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkCellDef",""]]})}return i})(),ne=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkHeaderCellDef",""]]})}return i})(),Le=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkFooterCellDef",""]]})}return i})(),L=(()=>{class i{_table=a(_,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,n){if(t&1&&(C(n,oe,5),C(n,ne,5),C(n,Le,5)),t&2){let r;D(r=R())&&(o.cell=r.first),D(r=R())&&(o.headerCell=r.first),D(r=R())&&(o.footerCell=r.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",v],stickyEnd:[2,"stickyEnd","stickyEnd",v]},features:[y([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),O]})}return i})(),J=class{constructor(s,e){e.nativeElement.classList.add(...s._columnCssClassName)}},Be=(()=>{class i extends J{constructor(){super(a(L),a(b))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[u]})}return i})();var ze=(()=>{class i extends J{constructor(){let e=a(L),t=a(b);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[u]})}return i})(),ee=class{tasks=[];endTasks=[]},te=new U("_COALESCED_STYLE_SCHEDULER"),ce=(()=>{class i{_currentSchedule=null;_ngZone=a(xe);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ee,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new ee;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ve({token:i,factory:i.\u0275fac})}return i})();var de=(()=>{class i{template=a(w);_differs=a(H);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof j?e.headerCell.template:this instanceof ue?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,features:[W]})}return i})(),j=(()=>{class i extends de{_table=a(_,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(w),a(H))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",v]},features:[O,u,W]})}return i})(),ue=(()=>{class i extends de{_table=a(_,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(w),a(H))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",v]},features:[O,u,W]})}return i})(),re=(()=>{class i extends de{_table=a(_,{optional:!0});when;constructor(){super(a(w),a(H))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[u]})}return i})(),I=(()=>{class i{_viewContainer=a(A);cells;context;static mostRecentCellOutlet=null;constructor(){i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkCellOutlet",""]]})}return i})(),fe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var he=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})(),je=(()=>{class i{templateRef=a(w);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["ng-template","cdkNoDataRow",""]]})}return i})(),Pe=["top","bottom","left","right"],le=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(s=>this._updateCachedSizes(s)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;constructor(s,e,t,o,n=!0,r=!0,l){this._isNativeHtmlTable=s,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=n,this._needsPositionStickyOnElement=r,this._positionListener=l,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(s,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(s);let t=[];for(let o of s)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let n=0;n{for(let o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(s,e,t,o=!0,n=!0){if(n&&this._updateStickyColumnReplayQueue({rows:[...s],stickyStartStates:[...e],stickyEndStates:[...t]}),!s.length||!this._isBrowser||!(e.some(r=>r)||t.some(r=>r))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let r=s[0],l=r.children.length,c=this._getCellWidths(r,o),E=this._getStickyStartColumnPositions(c,e),f=this._getStickyEndColumnPositions(c,t),k=e.lastIndexOf(!0),g=t.indexOf(!0),M=this.direction==="rtl",Ve=M?"right":"left",Ue=M?"left":"right";for(let B of s)for(let m=0;me[m]?B:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:g===-1?[]:c.slice(g).map((B,m)=>t[m+g]?B:null).reverse()}))})}stickRows(s,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let o=t==="bottom"?s.slice().reverse():s,n=t==="bottom"?e.slice().reverse():e,r=[],l=[],c=[];for(let f=0,k=0;f{let t=s.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(s,e){for(let o of e)s.style[o]="",s.classList.remove(this._borderCellCss[o]);Pe.some(o=>e.indexOf(o)===-1&&s.style[o])?s.style.zIndex=this._getCalculatedZIndex(s):(s.style.zIndex="",this._needsPositionStickyOnElement&&(s.style.position=""),s.classList.remove(this._stickCellCss))}_addStickyStyle(s,e,t,o){s.classList.add(this._stickCellCss),o&&s.classList.add(this._borderCellCss[e]),s.style[e]=`${t}px`,s.style.zIndex=this._getCalculatedZIndex(s),this._needsPositionStickyOnElement&&(s.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(s){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of Pe)s.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(s,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=s.children;for(let n=0;n0;n--)e[n]&&(t[n]=o,o+=s[n]);return t}_retrieveElementSize(s){let e=this._elemSizeCache.get(s);if(e)return e;let t=s.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(s,o),this._resizeObserver.observe(s,{box:"border-box"})),o}_updateStickyColumnReplayQueue(s){this._removeFromStickyColumnReplayQueue(s.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(s)}_removeFromStickyColumnReplayQueue(s){let e=new Set(s);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(s){let e=!1;for(let t of s){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&nt(t.target)&&(e=!0),this._elemSizeCache.set(t.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function nt(i){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(s=>i.classList.contains(s))}var ie=new U("CDK_SPL");var me=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","rowOutlet",""]]})}return i})(),ye=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","headerRowOutlet",""]]})}return i})(),pe=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","footerRowOutlet",""]]})}return i})(),_e=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","noDataRowOutlet",""]]})}return i})();var ge=(()=>{class i{_differs=a(H);_changeDetectorRef=a(Fe);_elementRef=a(b);_dir=a(Oe,{optional:!0});_platform=a(Me);_viewRepeater=a(z);_coalescedStyleScheduler=a(te);_viewportRuler=a(Ne);_stickyPositioningListener=a(ie,{optional:!0,skipSelf:!0});_document=a(Ee);_data;_onDestroy=new Ce;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new Se;viewChange=new De({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=a(ke);constructor(){a(new be("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(Q(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Z(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,n,r)=>this._getEmbeddedViewArgs(o.item,r),o=>o.item.data,o=>{o.operation===Ie.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let n=t.get(o.currentIndex);n.context.$implicit=o.item.data}),this._updateNoDataRow(),Te(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=He(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=He(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((n,r)=>{this._addStickyColumnStyles([n],this._headerRowDefs[r])}),this._rowDefs.forEach(n=>{let r=[];for(let l=0;l{this._addStickyColumnStyles([n],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(n=>n.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(r)?o.get(r):[];if(l.length){let c=l.shift();return c.dataIndex=t,c}else return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),X(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=X(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=X(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=X(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(r,l)=>{let c=!!l.getColumnsDiff();return r||c},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let n=this._footerRowDefs.reduce(e,!1);return n&&this._forceRenderFooterRows(),t||o||n}_switchDataSource(e){this._data=[],Z(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Z(this.dataSource)?e=this.dataSource.connect(this):Re(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=se(this.dataSource)),this._renderChangeSubscription=e.pipe(Q(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let o=Array.from(t.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),n=o.map(l=>l.sticky),r=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o!n.when||n.when(t,e));else{let n=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;n&&o.push(n)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,n={$implicit:e.data};return{templateRef:o.template,context:n,index:t}}_renderRow(e,t,o,n={}){let r=e.viewContainer.createEmbeddedView(t.template,n,o);return this._renderCellTemplateForItem(t,n),r}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))I.mostRecentCellOutlet&&I.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new le(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:se()).pipe(Q(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let n=o.createEmbeddedView(e.templateRef),r=n.rootNodes[0];n.rootNodes.length===1&&r?.nodeType===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,n){if(t&1&&(C(n,je,5),C(n,L,5),C(n,re,5),C(n,j,5),C(n,ue,5)),t&2){let r;D(r=R())&&(o._noDataRow=r.first),D(r=R())&&(o._contentColumnDefs=r),D(r=R())&&(o._contentRowDefs=r),D(r=R())&&(o._contentHeaderRowDefs=r),D(r=R())&&(o._contentFooterRowDefs=r)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&K("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",v],fixedLayout:[2,"fixedLayout","fixedLayout",v]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[y([{provide:_,useExisting:i},{provide:z,useClass:G},{provide:te,useClass:ce},{provide:ie,useValue:null}]),O],ngContentSelectors:et,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(Y(Je),F(0),F(1,1),q(2,tt,1,0)(3,it,7,0)(4,ot,4,0)),t&2&&(N(2),P(o._isServer?2:-1),N(),P(o._isNativeHtmlTable?3:4))},dependencies:[ye,me,_e,pe],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return i})();function X(i,s){return i.concat(Array.from(s))}function He(i,s){let e=s.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode}return null}var Qe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=$({type:i});static \u0275inj=V({imports:[Ae]})}return i})();var rt=[[["caption"]],[["colgroup"],["col"]],"*"],st=["caption","colgroup, col","*"];function at(i,s){i&1&&F(0,2)}function lt(i,s){i&1&&(x(0,"thead",0),h(1,1),T(),x(2,"tbody",2),h(3,3)(4,4),T(),x(5,"tfoot",0),h(6,5),T())}function ct(i,s){i&1&&h(0,1)(1,3)(2,4)(3,5)}var $t=(()=>{class i extends ge{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&K("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[y([{provide:ge,useExisting:i},{provide:_,useExisting:i},{provide:te,useClass:ce},{provide:z,useClass:G},{provide:ie,useValue:null}]),u],ngContentSelectors:st,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(Y(rt),F(0),F(1,1),q(2,at,1,0)(3,lt,7,0)(4,ct,4,0)),t&2&&(N(2),P(o._isServer?2:-1),N(),P(o._isNativeHtmlTable?3:4))},dependencies:[ye,me,_e,pe],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return i})(),qt=(()=>{class i extends oe{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matCellDef",""]],features:[y([{provide:oe,useExisting:i}]),u]})}return i})(),Kt=(()=>{class i extends ne{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matHeaderCellDef",""]],features:[y([{provide:ne,useExisting:i}]),u]})}return i})();var Yt=(()=>{class i extends L{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[y([{provide:L,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),u]})}return i})(),Zt=(()=>{class i extends Be{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[u]})}return i})();var Gt=(()=>{class i extends ze{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[u]})}return i})();var Xt=(()=>{class i extends j{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",v]},features:[y([{provide:j,useExisting:i}]),O,u]})}return i})();var Jt=(()=>{class i extends re{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[y([{provide:re,useExisting:i}]),u]})}return i})(),ei=(()=>{class i extends fe{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[y([{provide:fe,useExisting:i}]),u],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var ti=(()=>{class i extends he{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[y([{provide:he,useExisting:i}]),u],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var ii=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=$({type:i});static \u0275inj=V({imports:[ae,Qe,ae]})}return i})();export{$t as a,qt as b,Kt as c,Yt as d,Zt as e,Gt as f,Xt as g,Jt as h,ei as i,ti as j,ii as k}; +import{A as Ne,C as Ae}from"./chunk-7RMPQIRR.js";import{W as Oe,_ as ae,h as Me,va as Z,wa as Ie,xa as z,ya as G}from"./chunk-CG5OOKZO.js";import{$ as Q,Aa as be,Ea as Se,Eb as A,Fa as xe,Fc as y,Ja as b,Kb as u,Mb as O,Nb as q,Sc as Fe,Tc as H,Va as Te,Vb as K,Vc as v,Yb as P,bc as x,cc as T,ea as ve,ed as Ee,fa as V,gc as h,ha as U,j as Ce,k as De,ka as a,lb as N,nc as Y,ob as w,oc as F,p as se,pc as C,r as Re,rc as D,sa as W,sc as R,ub as S,vb as $,wb as d,xa as p,za as ke}from"./chunk-5L47ZUSK.js";var Je=[[["caption"]],[["colgroup"],["col"]],"*"],et=["caption","colgroup, col","*"];function tt(i,s){i&1&&F(0,2)}function it(i,s){i&1&&(x(0,"thead",0),h(1,1),T(),x(2,"tbody",0),h(3,2)(4,3),T(),x(5,"tfoot",0),h(6,4),T())}function ot(i,s){i&1&&h(0,1)(1,2)(2,3)(3,4)}var _=new U("CDK_TABLE");var oe=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkCellDef",""]]})}return i})(),ne=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkHeaderCellDef",""]]})}return i})(),Le=(()=>{class i{template=a(w);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkFooterCellDef",""]]})}return i})(),L=(()=>{class i{_table=a(_,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,n){if(t&1&&(C(n,oe,5),C(n,ne,5),C(n,Le,5)),t&2){let r;D(r=R())&&(o.cell=r.first),D(r=R())&&(o.headerCell=r.first),D(r=R())&&(o.footerCell=r.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",v],stickyEnd:[2,"stickyEnd","stickyEnd",v]},features:[y([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),O]})}return i})(),J=class{constructor(s,e){e.nativeElement.classList.add(...s._columnCssClassName)}},Be=(()=>{class i extends J{constructor(){super(a(L),a(b))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[u]})}return i})();var ze=(()=>{class i extends J{constructor(){let e=a(L),t=a(b);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[u]})}return i})(),ee=class{tasks=[];endTasks=[]},te=new U("_COALESCED_STYLE_SCHEDULER"),ce=(()=>{class i{_currentSchedule=null;_ngZone=a(xe);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ee,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new ee;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ve({token:i,factory:i.\u0275fac})}return i})();var de=(()=>{class i{template=a(w);_differs=a(H);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof j?e.headerCell.template:this instanceof ue?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,features:[W]})}return i})(),j=(()=>{class i extends de{_table=a(_,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(w),a(H))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",v]},features:[O,u,W]})}return i})(),ue=(()=>{class i extends de{_table=a(_,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(w),a(H))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",v]},features:[O,u,W]})}return i})(),re=(()=>{class i extends de{_table=a(_,{optional:!0});when;constructor(){super(a(w),a(H))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[u]})}return i})(),I=(()=>{class i{_viewContainer=a(A);cells;context;static mostRecentCellOutlet=null;constructor(){i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","cdkCellOutlet",""]]})}return i})(),fe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var he=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})(),je=(()=>{class i{templateRef=a(w);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["ng-template","cdkNoDataRow",""]]})}return i})(),Pe=["top","bottom","left","right"],le=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(s=>this._updateCachedSizes(s)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;constructor(s,e,t,o,n=!0,r=!0,l){this._isNativeHtmlTable=s,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=n,this._needsPositionStickyOnElement=r,this._positionListener=l,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(s,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(s);let t=[];for(let o of s)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let n=0;n{for(let o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(s,e,t,o=!0,n=!0){if(n&&this._updateStickyColumnReplayQueue({rows:[...s],stickyStartStates:[...e],stickyEndStates:[...t]}),!s.length||!this._isBrowser||!(e.some(r=>r)||t.some(r=>r))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let r=s[0],l=r.children.length,c=this._getCellWidths(r,o),E=this._getStickyStartColumnPositions(c,e),f=this._getStickyEndColumnPositions(c,t),k=e.lastIndexOf(!0),g=t.indexOf(!0),M=this.direction==="rtl",Ve=M?"right":"left",Ue=M?"left":"right";for(let B of s)for(let m=0;me[m]?B:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:g===-1?[]:c.slice(g).map((B,m)=>t[m+g]?B:null).reverse()}))})}stickRows(s,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let o=t==="bottom"?s.slice().reverse():s,n=t==="bottom"?e.slice().reverse():e,r=[],l=[],c=[];for(let f=0,k=0;f{let t=s.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(s,e){for(let o of e)s.style[o]="",s.classList.remove(this._borderCellCss[o]);Pe.some(o=>e.indexOf(o)===-1&&s.style[o])?s.style.zIndex=this._getCalculatedZIndex(s):(s.style.zIndex="",this._needsPositionStickyOnElement&&(s.style.position=""),s.classList.remove(this._stickCellCss))}_addStickyStyle(s,e,t,o){s.classList.add(this._stickCellCss),o&&s.classList.add(this._borderCellCss[e]),s.style[e]=`${t}px`,s.style.zIndex=this._getCalculatedZIndex(s),this._needsPositionStickyOnElement&&(s.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(s){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of Pe)s.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(s,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=s.children;for(let n=0;n0;n--)e[n]&&(t[n]=o,o+=s[n]);return t}_retrieveElementSize(s){let e=this._elemSizeCache.get(s);if(e)return e;let t=s.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(s,o),this._resizeObserver.observe(s,{box:"border-box"})),o}_updateStickyColumnReplayQueue(s){this._removeFromStickyColumnReplayQueue(s.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(s)}_removeFromStickyColumnReplayQueue(s){let e=new Set(s);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(s){let e=!1;for(let t of s){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&nt(t.target)&&(e=!0),this._elemSizeCache.set(t.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function nt(i){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(s=>i.classList.contains(s))}var ie=new U("CDK_SPL");var me=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","rowOutlet",""]]})}return i})(),ye=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","headerRowOutlet",""]]})}return i})(),pe=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","footerRowOutlet",""]]})}return i})(),_e=(()=>{class i{viewContainer=a(A);elementRef=a(b);constructor(){let e=a(_);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=d({type:i,selectors:[["","noDataRowOutlet",""]]})}return i})();var ge=(()=>{class i{_differs=a(H);_changeDetectorRef=a(Fe);_elementRef=a(b);_dir=a(Oe,{optional:!0});_platform=a(Me);_viewRepeater=a(z);_coalescedStyleScheduler=a(te);_viewportRuler=a(Ne);_stickyPositioningListener=a(ie,{optional:!0,skipSelf:!0});_document=a(Ee);_data;_onDestroy=new Ce;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new Se;viewChange=new De({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=a(ke);constructor(){a(new be("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(Q(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Z(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,n,r)=>this._getEmbeddedViewArgs(o.item,r),o=>o.item.data,o=>{o.operation===Ie.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let n=t.get(o.currentIndex);n.context.$implicit=o.item.data}),this._updateNoDataRow(),Te(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=He(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=He(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((n,r)=>{this._addStickyColumnStyles([n],this._headerRowDefs[r])}),this._rowDefs.forEach(n=>{let r=[];for(let l=0;l{this._addStickyColumnStyles([n],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(n=>n.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(r)?o.get(r):[];if(l.length){let c=l.shift();return c.dataIndex=t,c}else return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),X(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=X(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=X(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=X(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(r,l)=>{let c=!!l.getColumnsDiff();return r||c},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let n=this._footerRowDefs.reduce(e,!1);return n&&this._forceRenderFooterRows(),t||o||n}_switchDataSource(e){this._data=[],Z(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Z(this.dataSource)?e=this.dataSource.connect(this):Re(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=se(this.dataSource)),this._renderChangeSubscription=e.pipe(Q(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let o=Array.from(t.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),n=o.map(l=>l.sticky),r=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o!n.when||n.when(t,e));else{let n=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;n&&o.push(n)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,n={$implicit:e.data};return{templateRef:o.template,context:n,index:t}}_renderRow(e,t,o,n={}){let r=e.viewContainer.createEmbeddedView(t.template,n,o);return this._renderCellTemplateForItem(t,n),r}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))I.mostRecentCellOutlet&&I.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new le(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:se()).pipe(Q(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let n=o.createEmbeddedView(e.templateRef),r=n.rootNodes[0];n.rootNodes.length===1&&r?.nodeType===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=S({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,n){if(t&1&&(C(n,je,5),C(n,L,5),C(n,re,5),C(n,j,5),C(n,ue,5)),t&2){let r;D(r=R())&&(o._noDataRow=r.first),D(r=R())&&(o._contentColumnDefs=r),D(r=R())&&(o._contentRowDefs=r),D(r=R())&&(o._contentHeaderRowDefs=r),D(r=R())&&(o._contentFooterRowDefs=r)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&K("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",v],fixedLayout:[2,"fixedLayout","fixedLayout",v]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[y([{provide:_,useExisting:i},{provide:z,useClass:G},{provide:te,useClass:ce},{provide:ie,useValue:null}]),O],ngContentSelectors:et,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(Y(Je),F(0),F(1,1),q(2,tt,1,0)(3,it,7,0)(4,ot,4,0)),t&2&&(N(2),P(o._isServer?2:-1),N(),P(o._isNativeHtmlTable?3:4))},dependencies:[ye,me,_e,pe],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return i})();function X(i,s){return i.concat(Array.from(s))}function He(i,s){let e=s.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode}return null}var Qe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=$({type:i});static \u0275inj=V({imports:[Ae]})}return i})();var rt=[[["caption"]],[["colgroup"],["col"]],"*"],st=["caption","colgroup, col","*"];function at(i,s){i&1&&F(0,2)}function lt(i,s){i&1&&(x(0,"thead",0),h(1,1),T(),x(2,"tbody",2),h(3,3)(4,4),T(),x(5,"tfoot",0),h(6,5),T())}function ct(i,s){i&1&&h(0,1)(1,3)(2,4)(3,5)}var $t=(()=>{class i extends ge{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&K("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[y([{provide:ge,useExisting:i},{provide:_,useExisting:i},{provide:te,useClass:ce},{provide:z,useClass:G},{provide:ie,useValue:null}]),u],ngContentSelectors:st,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(Y(rt),F(0),F(1,1),q(2,at,1,0)(3,lt,7,0)(4,ct,4,0)),t&2&&(N(2),P(o._isServer?2:-1),N(),P(o._isNativeHtmlTable?3:4))},dependencies:[ye,me,_e,pe],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return i})(),qt=(()=>{class i extends oe{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matCellDef",""]],features:[y([{provide:oe,useExisting:i}]),u]})}return i})(),Kt=(()=>{class i extends ne{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matHeaderCellDef",""]],features:[y([{provide:ne,useExisting:i}]),u]})}return i})();var Yt=(()=>{class i extends L{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[y([{provide:L,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),u]})}return i})(),Zt=(()=>{class i extends Be{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[u]})}return i})();var Gt=(()=>{class i extends ze{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[u]})}return i})();var Xt=(()=>{class i extends j{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",v]},features:[y([{provide:j,useExisting:i}]),O,u]})}return i})();var Jt=(()=>{class i extends re{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275dir=d({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[y([{provide:re,useExisting:i}]),u]})}return i})(),ei=(()=>{class i extends fe{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[y([{provide:fe,useExisting:i}]),u],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var ti=(()=>{class i extends he{static \u0275fac=(()=>{let e;return function(o){return(e||(e=p(i)))(o||i)}})();static \u0275cmp=S({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[y([{provide:he,useExisting:i}]),u],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&h(0,0)},dependencies:[I],encapsulation:2})}return i})();var ii=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=$({type:i});static \u0275inj=V({imports:[ae,Qe,ae]})}return i})();export{$t as a,qt as b,Kt as c,Yt as d,Zt as e,Gt as f,Xt as g,Jt as h,ei as i,ti as j,ii as k}; diff --git a/chunk-TERRPVDK.js b/chunk-TERRPVDK.js new file mode 100644 index 00000000..74858478 --- /dev/null +++ b/chunk-TERRPVDK.js @@ -0,0 +1 @@ +import{a,b,c,d,e,f,g,h,i,j}from"./chunk-SF2V34MO.js";import"./chunk-5XJFAPMG.js";import"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import"./chunk-EJAMDHKS.js";import"./chunk-KCQYBIUM.js";import"./chunk-C7FIZGKV.js";import"./chunk-7BKB7KKA.js";import"./chunk-A74J7Y3C.js";import"./chunk-46FZR7EY.js";import"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import"./chunk-366DNJGU.js";import"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import"./chunk-UANEMOTZ.js";import"./chunk-BJ2ND26O.js";import"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import"./chunk-5L47ZUSK.js";export{g as PresentationCardComponent,b as PresentationCardListComponent,f as PresentationEmbedComponent,c as PresentationFilterComponent,a as PresentationFormatPipe,e as PresentationSearchComponent,d as PresentationSearchForm,i as SelectPresentation,h as SelectPresentationDialog,j as provideSelectPresentation}; diff --git a/chunk-AND6K73U.js b/chunk-TJJFEYFG.js similarity index 99% rename from chunk-AND6K73U.js rename to chunk-TJJFEYFG.js index 9c726537..589aefa2 100644 --- a/chunk-AND6K73U.js +++ b/chunk-TJJFEYFG.js @@ -1,4 +1,4 @@ -import{b as _t,d as gt,g as vt}from"./chunk-BJXILAOS.js";import{A as re,C as xe,y as ye}from"./chunk-6BGAZ7SQ.js";import{c as at,d as st,g as ue,h as dt,j as ct}from"./chunk-I7VYXJU2.js";import{A as pt,T as Z,U as Q,V as ut,Y as be,f as W,k as ft,o as oe,p as _e,q as ge,s as mt,t as ht,v as ve,w as h}from"./chunk-W5KNOAKV.js";import{$ as z,Aa as Ve,D as U,Db as Ze,Ea as B,Eb as qe,F as X,Fa as O,Fc as ie,Ib as Qe,Ja as F,Mb as $e,Nb as y,Nc as it,Pa as J,Sb as ce,Sc as ot,T as Ae,Tb as A,Ua as ee,Va as je,Vb as I,Vc as Y,X as ze,Xc as pe,Yb as x,Yc as rt,Z as Be,a as $,aa as Ie,b as Me,bc as _,cc as g,dc as N,e as M,ea as R,ed as j,fa as G,g as Le,ha as L,hc as Ue,ic as fe,ie as lt,j as C,ka as a,kc as Ge,lb as p,mc as T,nc as me,nd as nt,ob as We,oc as E,pa as Ne,pc as V,qc as D,rc as v,sa as Ye,sc as b,t as Te,ta as He,tc as Ke,ua as Xe,ub as q,vb as te,vc as Je,wb as k,wc as he,xa as de,xc as et,yc as tt,za as K}from"./chunk-TEKHUYWQ.js";var we=class{_box;_destroyed=new C;_resizeSubject=new C;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Le(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(X(e=>e.some(i=>i.target===t)),ze({bufferSize:1,refCount:!0}),z(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},yt=(()=>{class r{_observers=new Map;_ngZone=a(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new we(o)),this._observers.get(o).observe(e)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var jt=["notch"],Wt=["matFormFieldNotchedOutline",""],Zt=["*"],qt=["textField"],Qt=["iconPrefixContainer"],$t=["textPrefixContainer"],Ut=["iconSuffixContainer"],Gt=["textSuffixContainer"],Kt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Jt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ei(r,t){r&1&&N(0,"span",21)}function ti(r,t){if(r&1&&(_(0,"label",20),E(1,1),y(2,ei,1,0,"span",21),g()),r&2){let e=T(2);A("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ce("for",e._control.disableAutomaticLabeling?null:e._control.id),p(2),x(!e.hideRequiredMarker&&e._control.required?2:-1)}}function ii(r,t){if(r&1&&y(0,ti,3,5,"label",20),r&2){let e=T();x(e._hasFloatingLabel()?0:-1)}}function oi(r,t){r&1&&N(0,"div",7)}function ri(r,t){}function ni(r,t){if(r&1&&y(0,ri,0,0,"ng-template",13),r&2){T(2);let e=he(1);A("ngTemplateOutlet",e)}}function li(r,t){if(r&1&&(_(0,"div",9),y(1,ni,1,1,null,13),g()),r&2){let e=T();A("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),p(),x(e._forceDisplayInfixLabel()?-1:1)}}function ai(r,t){r&1&&(_(0,"div",10,2),E(2,2),g())}function si(r,t){r&1&&(_(0,"div",11,3),E(2,3),g())}function di(r,t){}function ci(r,t){if(r&1&&y(0,di,0,0,"ng-template",13),r&2){T();let e=he(1);A("ngTemplateOutlet",e)}}function fi(r,t){r&1&&(_(0,"div",14,4),E(2,4),g())}function mi(r,t){r&1&&(_(0,"div",15,5),E(2,5),g())}function hi(r,t){r&1&&N(0,"div",16)}function pi(r,t){if(r&1&&(_(0,"div",18),E(1,6),g()),r&2){let e=T();A("@transitionMessages",e._subscriptAnimationState)}}function ui(r,t){if(r&1&&(_(0,"mat-hint",22),et(1),g()),r&2){let e=T(2);A("id",e._hintLabelId),p(),tt(e.hintLabel)}}function _i(r,t){if(r&1&&(_(0,"div",19),y(1,ui,2,2,"mat-hint",22),E(2,7),N(3,"div",23),E(4,8),g()),r&2){let e=T();A("@transitionMessages",e._subscriptAnimationState),p(),x(e.hintLabel?1:-1)}}var xt=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-label"]]})}return r})(),Ft=new L("MatError"),ao=(()=>{class r{id=a(Z).getId("mat-mdc-error-");constructor(){a(new Ve("aria-live"),{optional:!0})||a(F).nativeElement.setAttribute("aria-live","polite")}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&fe("id",o.id)},inputs:{id:"id"},features:[ie([{provide:Ft,useExisting:r}])]})}return r})(),wt=(()=>{class r{align="start";id=a(Z).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(fe("id",o.id),ce("align",null),I("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return r})(),gi=new L("MatPrefix");var Dt=new L("MatSuffix"),so=(()=>{class r{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ie([{provide:Dt,useExisting:r}])]})}return r})(),Pt=new L("FloatingLabelParent"),Ct=(()=>{class r{_elementRef=a(F);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=a(yt);_ngZone=a(O);_parent=a(Pt);_resizeSubscription=new M;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return vi(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&I("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return r})();function vi(r){let t=r;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var St="mdc-line-ripple--active",ne="mdc-line-ripple--deactivating",Ot=(()=>{class r{_elementRef=a(F);constructor(){a(O).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ne),e.add(St)}deactivate(){this._elementRef.nativeElement.classList.add(ne)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,o=i.contains(ne);e.propertyName==="opacity"&&o&&i.remove(St,ne)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return r})(),kt=(()=>{class r{_elementRef=a(F);_ngZone=a(O);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=q({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&D(jt,5),i&2){let n;v(n=b())&&(o._notch=n.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&I("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Wt,ngContentSelectors:Zt,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(me(),N(0,"div",1),_(1,"div",2,0),E(3),g(),N(4,"div",3))},encapsulation:2,changeDetection:0})}return r})(),bi={transitionMessages:at("transitionMessages",[dt("enter",ue({opacity:1,transform:"translateY(0%)"})),ct("void => enter",[ue({opacity:0,transform:"translateY(-5px)"}),st("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},yi=(()=>{class r{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r})}return r})();var xi=new L("MatFormField"),wi=new L("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Et="fill",Ci="auto",Rt="fixed",Si="translateY(-50%)",co=(()=>{class r{_elementRef=a(F);_changeDetectorRef=a(ot);_dir=a(Q);_platform=a(W);_idGenerator=a(Z);_defaults=a(wi,{optional:!0});_animationMode=a(J,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Qe(xt);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ht(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Ci}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Et;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=Et;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Rt}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Rt}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new C;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=a(K);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=pe(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(o+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Be([void 0,void 0]),Te(()=>[i.errorState,i.userAriaDescribedBy]),Ae(),X(([[n,l],[s,c]])=>n!==s||l!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(z(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),U(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ee(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(z(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=pe(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(n=>n.align==="start"):null,o=this._hintChildren?this._hintChildren.find(n=>n.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,l=this._textSuffixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,f=n?.getBoundingClientRect().width??0,d=l?.getBoundingClientRect().width??0,m=this._dir.value==="rtl"?"-1":"1",P=`${s+c}px`,u=`calc(${m} * (${P} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( +import{b as _t,d as gt,g as vt}from"./chunk-76QZXEBP.js";import{A as re,C as xe,y as ye}from"./chunk-7RMPQIRR.js";import{c as at,d as st,g as ue,h as dt,j as ct}from"./chunk-I7VYXJU2.js";import{C as pt,V as Z,W as Q,X as ut,_ as be,h as W,m as ft,q as oe,r as _e,s as ge,u as mt,v as ht,x as ve,y as h}from"./chunk-CG5OOKZO.js";import{$ as z,Aa as Ve,D as U,Db as Ze,Ea as B,Eb as qe,F as X,Fa as O,Fc as ie,Ib as Qe,Ja as F,Mb as $e,Nb as y,Nc as it,Pa as J,Sb as ce,Sc as ot,T as Ae,Tb as A,Ua as ee,Va as je,Vb as I,Vc as Y,X as ze,Xc as pe,Yb as x,Yc as rt,Z as Be,a as $,aa as Ie,b as Me,bc as _,cc as g,dc as N,e as M,ea as R,ed as j,fa as G,g as Le,ha as L,hc as Ue,ic as fe,ie as lt,j as C,ka as a,kc as Ge,lb as p,mc as T,nc as me,nd as nt,ob as We,oc as E,pa as Ne,pc as V,qc as D,rc as v,sa as Ye,sc as b,t as Te,ta as He,tc as Ke,ua as Xe,ub as q,vb as te,vc as Je,wb as k,wc as he,xa as de,xc as et,yc as tt,za as K}from"./chunk-5L47ZUSK.js";var we=class{_box;_destroyed=new C;_resizeSubject=new C;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Le(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(X(e=>e.some(i=>i.target===t)),ze({bufferSize:1,refCount:!0}),z(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},yt=(()=>{class r{_observers=new Map;_ngZone=a(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new we(o)),this._observers.get(o).observe(e)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var jt=["notch"],Wt=["matFormFieldNotchedOutline",""],Zt=["*"],qt=["textField"],Qt=["iconPrefixContainer"],$t=["textPrefixContainer"],Ut=["iconSuffixContainer"],Gt=["textSuffixContainer"],Kt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Jt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ei(r,t){r&1&&N(0,"span",21)}function ti(r,t){if(r&1&&(_(0,"label",20),E(1,1),y(2,ei,1,0,"span",21),g()),r&2){let e=T(2);A("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ce("for",e._control.disableAutomaticLabeling?null:e._control.id),p(2),x(!e.hideRequiredMarker&&e._control.required?2:-1)}}function ii(r,t){if(r&1&&y(0,ti,3,5,"label",20),r&2){let e=T();x(e._hasFloatingLabel()?0:-1)}}function oi(r,t){r&1&&N(0,"div",7)}function ri(r,t){}function ni(r,t){if(r&1&&y(0,ri,0,0,"ng-template",13),r&2){T(2);let e=he(1);A("ngTemplateOutlet",e)}}function li(r,t){if(r&1&&(_(0,"div",9),y(1,ni,1,1,null,13),g()),r&2){let e=T();A("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),p(),x(e._forceDisplayInfixLabel()?-1:1)}}function ai(r,t){r&1&&(_(0,"div",10,2),E(2,2),g())}function si(r,t){r&1&&(_(0,"div",11,3),E(2,3),g())}function di(r,t){}function ci(r,t){if(r&1&&y(0,di,0,0,"ng-template",13),r&2){T();let e=he(1);A("ngTemplateOutlet",e)}}function fi(r,t){r&1&&(_(0,"div",14,4),E(2,4),g())}function mi(r,t){r&1&&(_(0,"div",15,5),E(2,5),g())}function hi(r,t){r&1&&N(0,"div",16)}function pi(r,t){if(r&1&&(_(0,"div",18),E(1,6),g()),r&2){let e=T();A("@transitionMessages",e._subscriptAnimationState)}}function ui(r,t){if(r&1&&(_(0,"mat-hint",22),et(1),g()),r&2){let e=T(2);A("id",e._hintLabelId),p(),tt(e.hintLabel)}}function _i(r,t){if(r&1&&(_(0,"div",19),y(1,ui,2,2,"mat-hint",22),E(2,7),N(3,"div",23),E(4,8),g()),r&2){let e=T();A("@transitionMessages",e._subscriptAnimationState),p(),x(e.hintLabel?1:-1)}}var xt=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-label"]]})}return r})(),Ft=new L("MatError"),ao=(()=>{class r{id=a(Z).getId("mat-mdc-error-");constructor(){a(new Ve("aria-live"),{optional:!0})||a(F).nativeElement.setAttribute("aria-live","polite")}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&fe("id",o.id)},inputs:{id:"id"},features:[ie([{provide:Ft,useExisting:r}])]})}return r})(),wt=(()=>{class r{align="start";id=a(Z).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(fe("id",o.id),ce("align",null),I("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return r})(),gi=new L("MatPrefix");var Dt=new L("MatSuffix"),so=(()=>{class r{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ie([{provide:Dt,useExisting:r}])]})}return r})(),Pt=new L("FloatingLabelParent"),Ct=(()=>{class r{_elementRef=a(F);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=a(yt);_ngZone=a(O);_parent=a(Pt);_resizeSubscription=new M;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return vi(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&I("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return r})();function vi(r){let t=r;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var St="mdc-line-ripple--active",ne="mdc-line-ripple--deactivating",Ot=(()=>{class r{_elementRef=a(F);constructor(){a(O).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ne),e.add(St)}deactivate(){this._elementRef.nativeElement.classList.add(ne)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,o=i.contains(ne);e.propertyName==="opacity"&&o&&i.remove(St,ne)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return r})(),kt=(()=>{class r{_elementRef=a(F);_ngZone=a(O);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=q({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&D(jt,5),i&2){let n;v(n=b())&&(o._notch=n.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&I("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Wt,ngContentSelectors:Zt,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(me(),N(0,"div",1),_(1,"div",2,0),E(3),g(),N(4,"div",3))},encapsulation:2,changeDetection:0})}return r})(),bi={transitionMessages:at("transitionMessages",[dt("enter",ue({opacity:1,transform:"translateY(0%)"})),ct("void => enter",[ue({opacity:0,transform:"translateY(-5px)"}),st("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},yi=(()=>{class r{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r})}return r})();var xi=new L("MatFormField"),wi=new L("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Et="fill",Ci="auto",Rt="fixed",Si="translateY(-50%)",co=(()=>{class r{_elementRef=a(F);_changeDetectorRef=a(ot);_dir=a(Q);_platform=a(W);_idGenerator=a(Z);_defaults=a(wi,{optional:!0});_animationMode=a(J,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Qe(xt);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ht(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Ci}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Et;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=Et;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Rt}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Rt}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new C;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=a(K);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=pe(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(o+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Be([void 0,void 0]),Te(()=>[i.errorState,i.userAriaDescribedBy]),Ae(),X(([[n,l],[s,c]])=>n!==s||l!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(z(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),U(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ee(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(z(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=pe(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(n=>n.align==="start"):null,o=this._hintChildren?this._hintChildren.find(n=>n.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,l=this._textSuffixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,f=n?.getBoundingClientRect().width??0,d=l?.getBoundingClientRect().width??0,m=this._dir.value==="rtl"?"-1":"1",P=`${s+c}px`,u=`calc(${m} * (${P} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${Si} translateX(${u}) )`;let S=s+c+f+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${S}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=q({type:r,selectors:[["mat-form-field"]],contentQueries:function(i,o,n){if(i&1&&(Ke(n,o._labelChild,xt,5),V(n,yi,5),V(n,gi,5),V(n,Dt,5),V(n,Ft,5),V(n,wt,5)),i&2){Je();let l;v(l=b())&&(o._formFieldControl=l.first),v(l=b())&&(o._prefixChildren=l),v(l=b())&&(o._suffixChildren=l),v(l=b())&&(o._errorChildren=l),v(l=b())&&(o._hintChildren=l)}},viewQuery:function(i,o){if(i&1&&(D(qt,5),D(Qt,5),D($t,5),D(Ut,5),D(Gt,5),D(Ct,5),D(kt,5),D(Ot,5)),i&2){let n;v(n=b())&&(o._textField=n.first),v(n=b())&&(o._iconPrefixContainer=n.first),v(n=b())&&(o._textPrefixContainer=n.first),v(n=b())&&(o._iconSuffixContainer=n.first),v(n=b())&&(o._textSuffixContainer=n.first),v(n=b())&&(o._floatingLabel=n.first),v(n=b())&&(o._notchedOutline=n.first),v(n=b())&&(o._lineRipple=n.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&I("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ie([{provide:xi,useExisting:r},{provide:Pt,useExisting:r}])],ngContentSelectors:Jt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let n=Ue();me(Kt),y(0,ii,1,1,"ng-template",null,0,it),_(2,"div",6,1),Ge("click",function(s){return He(n),Xe(o._control.onContainerClick(s))}),y(4,oi,1,0,"div",7),_(5,"div",8),y(6,li,2,2,"div",9)(7,ai,3,0,"div",10)(8,si,3,0,"div",11),_(9,"div",12),y(10,ci,1,1,null,13),E(11),g(),y(12,fi,3,0,"div",14)(13,mi,3,0,"div",15),g(),y(14,hi,1,0,"div",16),g(),_(15,"div",17),y(16,pi,2,1,"div",18)(17,_i,5,2,"div",19),g()}if(i&2){let n;p(2),I("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),p(2),x(!o._hasOutline()&&!o._control.disabled?4:-1),p(2),x(o._hasOutline()?6:-1),p(),x(o._hasIconPrefix?7:-1),p(),x(o._hasTextPrefix?8:-1),p(2),x(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),p(2),x(o._hasTextSuffix?12:-1),p(),x(o._hasIconSuffix?13:-1),p(),x(o._hasOutline()?-1:14),p(),I("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),p(),x((n=o._getDisplayedMessages())==="error"?16:n==="hint"?17:-1)}},dependencies:[Ct,kt,lt,Ot,wt],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[bi.transitionMessages]},changeDetection:0})}return r})(),fo=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=te({type:r});static \u0275inj=G({imports:[be,pt,be]})}return r})();var Mt=ft(),Ce=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=h(-this._previousScrollPosition.left),t.style.top=h(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,o=e.style,n=i.scrollBehavior||"",l=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Mt&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Mt&&(i.scrollBehavior=n,o.scrollBehavior=l)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var Se=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,o){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=o}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(X(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},le=class{enable(){}disable(){}attach(){}};function Oe(r,t){return t.some(e=>{let i=r.bottome.bottom,n=r.righte.right;return i||o||n||l})}function Lt(r,t){return t.some(e=>{let i=r.tope.bottom,n=r.lefte.right;return i||o||n||l})}var ke=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=o}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();Oe(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ki=(()=>{class r{_scrollDispatcher=a(ye);_viewportRuler=a(re);_ngZone=a(O);_document=a(j);constructor(){}noop=()=>new le;close=e=>new Se(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Ce(this._viewportRuler,this._document);reposition=e=>new ke(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ae=class{positionStrategy;scrollStrategy=new le;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}};var Ee=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}};var Yt=(()=>{class r{_attachedOverlays=[];_document=a(j);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ei=(()=>{class r extends Yt{_ngZone=a(O,{optional:!0});add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){let n=i[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(e)):n.next(e);break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=de(r)))(o||r)}})();static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ri=(()=>{class r extends Yt{_platform=a(W);_ngZone=a(O,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=e=>{this._pointerDownEventTarget=oe(e)};_clickListener=e=>{let i=oe(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let l=n.length-1;l>-1;l--){let s=n[l];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Tt(s.overlayElement,i)||Tt(s.overlayElement,o))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=de(r)))(o||r)}})();static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Tt(r,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===r)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Ht=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=q({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,o){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return r})(),Xt=(()=>{class r{_platform=a(W);_containerElement;_document=a(j);_styleLoader=a(ge);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||_e()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let n=0;nthis._backdropClick.next(t);_backdropTransitionendHandler=t=>{this._disposeBackdrop(t.target)};_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_renders=new C;_afterRenderRef;_afterNextRenderRef;constructor(t,e,i,o,n,l,s,c,f,d=!1,m){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=n,this._keyboardDispatcher=l,this._document=s,this._location=c,this._outsideClickDispatcher=f,this._animationsDisabled=d,this._injector=m,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=rt(()=>ee(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=je(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=$($({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Me($({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=h(this._config.width),t.height=h(this._config.height),t.minWidth=h(this._config.minWidth),t.minHeight=h(this._config.minHeight),t.maxWidth=h(this._config.maxWidth),t.maxHeight=h(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){let o=ve(e||[]).filter(n=>!!n);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(z(U(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},At="cdk-overlay-connected-position-bounding-box",Fi=/([A-Za-z%]+)$/,Fe=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C;_resizeSubscription=M.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,i,o,n){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=n,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(At),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,n=[],l;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,o,s),f=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(f,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,f,i)){n.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!l||l.overlayFit.visibleAreac&&(c=d,s=f)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(l.position,l.originPoint);return}this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&H(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(At),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let o;if(i.originX=="center")o=t.left+t.width/2;else{let l=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;o=i.originX=="start"?l:s}e.left<0&&(o-=e.left);let n;return i.originY=="center"?n=t.top+t.height/2:n=i.originY=="top"?t.top:t.bottom,e.top<0&&(n-=e.top),{x:o,y:n}}_getOverlayPoint(t,e,i){let o;i.overlayX=="center"?o=-e.width/2:i.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let n;return i.overlayY=="center"?n=-e.height/2:n=i.overlayY=="top"?0:-e.height,{x:t.x+o,y:t.y+n}}_getOverlayFit(t,e,i,o){let n=Bt(e),{x:l,y:s}=t,c=this._getOffset(o,"x"),f=this._getOffset(o,"y");c&&(l+=c),f&&(s+=f);let d=0-l,m=l+n.width-i.width,P=0-s,w=s+n.height-i.height,u=this._subtractOverflows(n.width,d,m),S=this._subtractOverflows(n.height,P,w),Pe=u*S;return{visibleArea:Pe,isCompletelyWithinViewport:n.width*n.height===Pe,fitsInViewportVertically:S===n.height,fitsInViewportHorizontally:u==n.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let o=i.bottom-e.y,n=i.right-e.x,l=zt(this._overlayRef.getConfig().minHeight),s=zt(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||l!=null&&l<=o,f=t.fitsInViewportHorizontally||s!=null&&s<=n;return c&&f}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let o=Bt(e),n=this._viewportRect,l=Math.max(t.x+o.width-n.width,0),s=Math.max(t.y+o.height-n.height,0),c=Math.max(n.top-i.top-t.y,0),f=Math.max(n.left-i.left-t.x,0),d=0,m=0;return o.width<=n.width?d=f||-l:d=t.xu&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.y-u/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,f=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,d,m,P;if(f)P=i.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(c)m=t.x,d=i.right-t.x;else{let w=Math.min(i.right-t.x+i.left,t.x),u=this._lastBoundingBoxSize.width;d=w*2,m=t.x-w,d>u&&!this._isInitialRender&&!this._growAfterOpen&&(m=t.x-u/2)}return{top:l,left:m,bottom:s,right:P,width:d,height:n}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=h(i.height),o.top=h(i.top),o.bottom=h(i.bottom),o.width=h(i.width),o.left=h(i.left),o.right=h(i.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",n&&(o.maxHeight=h(n)),l&&(o.maxWidth=h(l))}this._lastBoundingBoxSize=i,H(this._boundingBox.style,o)}_resetBoundingBoxStyles(){H(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){H(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},o=this._hasExactPosition(),n=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){let d=this._viewportRuler.getViewportScrollPosition();H(i,this._getExactOverlayY(e,t,d)),H(i,this._getExactOverlayX(e,t,d))}else i.position="static";let s="",c=this._getOffset(e,"x"),f=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),f&&(s+=`translateY(${f}px)`),i.transform=s.trim(),l.maxHeight&&(o?i.maxHeight=h(l.maxHeight):n&&(i.maxHeight="")),l.maxWidth&&(o?i.maxWidth=h(l.maxWidth):n&&(i.maxWidth="")),H(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},n=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i)),t.overlayY==="bottom"){let l=this._document.documentElement.clientHeight;o.bottom=`${l-(n.y+this._overlayRect.height)}px`}else o.top=h(n.y);return o}_getExactOverlayX(t,e,i){let o={left:"",right:""},n=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i));let l;if(this._isRtl()?l=t.overlayX==="end"?"left":"right":l=t.overlayX==="end"?"right":"left",l==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(n.x+this._overlayRect.width)}px`}else o.left=h(n.x);return o}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Lt(t,i),isOriginOutsideView:Oe(t,i),isOverlayClipped:Lt(e,i),isOverlayOutsideView:Oe(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ve(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof F)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};function H(r,t){for(let e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r}function zt(r){if(typeof r!="number"&&r!=null){let[t,e]=r.split(Fi);return!e||e==="px"?parseFloat(t):null}return r||null}function Bt(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function Di(r,t){return r===t?!0:r.isOriginClipped===t.isOriginClipped&&r.isOriginOutsideView===t.isOriginOutsideView&&r.isOverlayClipped===t.isOverlayClipped&&r.isOverlayOutsideView===t.isOverlayOutsideView}var It="cdk-global-overlay-wrapper",De=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(It),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:n,maxWidth:l,maxHeight:s}=i,c=(o==="100%"||o==="100vw")&&(!l||l==="100%"||l==="100vw"),f=(n==="100%"||n==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,m=this._xOffset,P=this._overlayRef.getConfig().direction==="rtl",w="",u="",S="";c?S="flex-start":d==="center"?(S="center",P?u=m:w=m):P?d==="left"||d==="end"?(S="flex-end",w=m):(d==="right"||d==="start")&&(S="flex-start",u=m):d==="left"||d==="start"?(S="flex-start",w=m):(d==="right"||d==="end")&&(S="flex-end",u=m),t.position=this._cssPosition,t.marginLeft=c?"0":w,t.marginTop=f?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":u,e.justifyContent=S,e.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(It),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Pi=(()=>{class r{_viewportRuler=a(re);_document=a(j);_platform=a(W);_overlayContainer=a(Xt);constructor(){}global(){return new De}flexibleConnectedTo(e){return new Fe(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),se=(()=>{class r{scrollStrategies=a(ki);_overlayContainer=a(Xt);_positionBuilder=a(Pi);_keyboardDispatcher=a(Ei);_injector=a(K);_ngZone=a(O);_document=a(j);_directionality=a(Q);_location=a(nt);_outsideClickDispatcher=a(Ri);_animationsModuleType=a(J,{optional:!0});_idGenerator=a(Z);_appRef;_styleLoader=a(ge);constructor(){}create(e){this._styleLoader.load(Ht);let i=this._createHostElement(),o=this._createPaneElement(i),n=this._createPortalOutlet(o),l=new ae(e);return l.direction=l.direction||this._directionality.value,new Re(n,i,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ne))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ze)),new gt(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Mi=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Vt=new L("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let r=a(se);return()=>r.scrollStrategies.reposition()}}),Nt=(()=>{class r{elementRef=a(F);constructor(){}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return r})(),To=(()=>{class r{_overlay=a(se);_dir=a(Q,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=M.EMPTY;_attachSubscription=M.EMPTY;_detachSubscription=M.EMPTY;_positionSubscription=M.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=a(Vt);_disposeOnNavigation=!1;_ngZone=a(O);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new B;positionChange=new B;attach=new B;detach=new B;overlayKeydown=new B;overlayOutsideClick=new B;constructor(){let e=a(We),i=a(qe);this._templatePortal=new _t(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Mi);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!mt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),n=oe(i);(!o||o!==n&&!o.contains(n))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ae({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Nt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Nt?this.origin.elementRef.nativeElement:this.origin instanceof F?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ie(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||r)};static \u0275dir=k({type:r,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Y],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Y],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Y],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Y],push:[2,"cdkConnectedOverlayPush","push",Y],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Y]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[$e,Ye]})}return r})();function Li(r){return()=>r.scrollStrategies.reposition()}var Ti={provide:Vt,deps:[se],useFactory:Li},Ao=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=te({type:r});static \u0275inj=G({providers:[se,Ti],imports:[ut,vt,xe,xe]})}return r})();export{yt as a,xt as b,ao as c,wt as d,so as e,yi as f,xi as g,wi as h,co as i,fo as j,ae as k,Xt as l,Re as m,Fe as n,se as o,Nt as p,To as q,Ao as r}; diff --git a/chunk-NAMLT62R.js b/chunk-U4DRQCSW.js similarity index 91% rename from chunk-NAMLT62R.js rename to chunk-U4DRQCSW.js index 083bb30a..3e88113f 100644 --- a/chunk-NAMLT62R.js +++ b/chunk-U4DRQCSW.js @@ -1 +1 @@ -import{a as re,c as yt,d as wt,f as Ot}from"./chunk-7O2H2TAM.js";import{a as ct,b as mt}from"./chunk-HRSGZXOU.js";import{d as at,e as st}from"./chunk-WPU27ID5.js";import{a as Je,b as rt}from"./chunk-VHE4TYFV.js";import{a as dt,b as pt}from"./chunk-JMI5D6U5.js";import{a as et,b as tt}from"./chunk-AFH22WZE.js";import{a as ut,b as _t,c as gt,d as ft,e as ht,f as Ct,g as Mt,h as vt,i as xt,j as Pt,k as bt}from"./chunk-FROUXDRM.js";import{a as Q,b as it}from"./chunk-4JU575PW.js";import{a as lt}from"./chunk-56M6HFOE.js";import{a as nt}from"./chunk-Q33OVU5J.js";import{c as ot}from"./chunk-73QBZNVE.js";import"./chunk-Q2N7RZTH.js";import{a as Be}from"./chunk-WOE5TNBB.js";import{a as Ge}from"./chunk-ZHS65JNW.js";import{a as qe,b as je,c as W}from"./chunk-BLJCB4Q7.js";import{a as Ue,b as We}from"./chunk-2XST3EDK.js";import{a as P,c as xe}from"./chunk-JNB3NYAZ.js";import"./chunk-YFMYPYPE.js";import{a as Xe}from"./chunk-WD4JQH2Z.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as H}from"./chunk-TPJZ2OYR.js";import{s as ve}from"./chunk-XYJHVZQT.js";import"./chunk-O3T3UZHL.js";import{d as Ye,e as Ke}from"./chunk-VVQ6JEVH.js";import{b as ge,c as fe,d as he,i as Ce,j as Me}from"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as F}from"./chunk-A3N3AUUJ.js";import{g as E,h as pe,i as B,j as ee,p as U,q as Ve,u as ze,v as T,w as $e,x as D}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{a as De,b as Fe,c as Re,e as Ae,f as Ie,g as Le,l as Ne}from"./chunk-PAP2P7QR.js";import{a as q,b as He,c as Qe,e as j,f as Ze,i as G}from"./chunk-EC6LD5KM.js";import{a as w,c as Pe,e as b,h as be,i as ye,j as we,l as h,m as Oe,o as Se,p as ke,s as Ee,w as te,x as Te}from"./chunk-EDIJ2EBQ.js";import{Y as ue,na as _e}from"./chunk-W5KNOAKV.js";import{$b as O,F as ie,Jc as z,Kc as $,Nb as g,Ob as se,Pb as ce,Sc as le,Tb as d,Yb as y,_b as L,ac as S,bc as r,cc as i,dc as l,ec as N,fa as oe,fc as V,hc as x,je as de,ka as p,kc as u,lb as c,mc as f,t as A,ta as C,u as I,ua as M,ub as v,vb as ae,xc as s,yc as k,zc as me}from"./chunk-TEKHUYWQ.js";var St=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-presentation-feature-admin"]],decls:1,vars:0,template:function(a,n){a&1&&l(0,"router-outlet")},dependencies:[pe],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var Y=class extends we{};var R=class{dialog;formService;constructor(o,e){this.dialog=o,this.formService=e}open(o=null){let e={value:ct({label:"Item",type:"text",value:o&&o.value?o.value:"",errors:{required:"Obrigat\xF3rio"}})},a=mt(e),n=(o?"Alterar":"Adicionar")+" item";return this.formService.open({title:n,fields:e,form:a})}};function kt(){return{provide:R,deps:[ot,at]}}var Et=[kt(),pt(),st(),it()];var Tt=t=>xe(p(P),t.params);function Nt(t,o){t&1&&(r(0,"th",15),s(1,"Nome do curso"),i())}function Vt(t,o){if(t&1&&(r(0,"td",16),s(1),i()),t&2){let e=o.$implicit;c(),k(e.title)}}function zt(t,o){t&1&&(r(0,"th",15),s(1,"Criado por"),i())}function $t(t,o){if(t&1&&(r(0,"td",16),s(1),i()),t&2){let e=o.$implicit;c(),me(" ",e.owner.displayName," ")}}function Bt(t,o){t&1&&l(0,"th",15)}function Ut(t,o){if(t&1){let e=x();r(0,"td",16)(1,"button",17),u("click",function(){let n=C(e).$implicit,m=f(2);return M(m.openDelete(n))}),l(2,"devmx-icon",18),i()()}}function Wt(t,o){t&1&&l(0,"tr",19)}function qt(t,o){t&1&&l(0,"tr",20)}function jt(t,o){if(t&1){let e=x();r(0,"table",5),N(1,6),g(2,Nt,2,0,"th",7)(3,Vt,2,1,"td",8),V(),N(4,9),g(5,zt,2,0,"th",7)(6,$t,2,1,"td",8),V(),N(7,10),g(8,Bt,1,0,"th",7)(9,Ut,3,0,"td",8),V(),g(10,Wt,1,0,"tr",11)(11,qt,1,0,"tr",12),i(),r(12,"mat-card-actions",13)(13,"devmx-paginator",14),u("pageChange",function(n){C(e);let m=f();return M(m.onPageChange(n))}),i()()}if(t&2){let e=o,a=f();d("dataSource",e.data),c(10),d("matHeaderRowDef",a.columns),c(),d("matRowDefColumns",a.columns),c(2),d("size",10)("items",e.items)}}var Ft=(()=>{class t{router=p(B);route=p(E);dialogFacade=p(Q);authFacade=p(H);presentationFacade=p(P);selectUser=p(dt);#e=ve(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(A(n=>n?n.id:"")),a=this.route.queryParams;I([e,a]).pipe(F()).subscribe(this.onQueryParams),this.presentationFacade.load()}setUserRef(e=null){this.#e.update(e)}openSelectUser(){this.selectUser.open({onlyRole:"speaker",multiple:!1}).subscribe(e=>{e&&this.setUserRef(e)})}openDelete({id:e,title:a}){this.dialogFacade.confirm(`Confirme que deseja apagar a apresenta\xE7\xE3o ${a}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.presentationFacade.delete(e)})}onQueryParams=([e,a])=>{let{page:n=0,size:m=10}=a,{title:_="",format:J=""}=a,X={title:_,format:J,owner:e};this.presentationFacade.setParams({page:n,size:m,filter:X}),this.presentationFacade.load()};onSearchChange(e=""){this.presentationFacade.setFilter({title:e}),this.presentationFacade.load()}onPageChange({page:e,size:a}){let n={page:e,size:a};this.router.navigate([],{queryParams:n})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-manage-presentations"]],decls:10,vars:4,consts:[[1,"presentations-card"],[1,"presentations-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(a,n){if(a&1&&(r(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),s(3,"Apresenta\xE7\xF5es"),i(),r(4,"div")(5,"button",2),u("click",function(){return n.openSelectUser()}),l(6,"devmx-icon",3),i(),r(7,"devmx-search-field",4),u("searchChange",function(_){return n.onSearchChange(_)}),i()()(),g(8,jt,14,5),z(9,"async"),i()),a&2){let m;c(7),d("debounce",1e3),c(),y((m=$(9,2,n.presentationFacade.response$))?8:-1,m)}},dependencies:[U,D,T,lt,W,bt,ut,gt,Mt,ft,_t,vt,ht,Ct,xt,Pt,G,q,j,Ze,He,w,de],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .presentations-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .presentations-card[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;min-width:calc(50% - 1em)}[_nghost-%COMP%] .presentations-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .presentations-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();var Gt=(t,o)=>o.id,Ht=()=>[ee,$e,T,qe,W,import("./chunk-KDMTRYHW.js").then(t=>t.PresentationCardComponent),w,import("./chunk-QQ3DFMVY.js").then(t=>t.AsyncPipe)];function Qt(t,o){if(t&1){let e=x();r(0,"devmx-presentation-card",3)(1,"a",6),l(2,"devmx-icon",7),i(),r(3,"button",8),u("click",function(){let n=C(e).$implicit,m=f(3);return M(m.deletePresentation(n))}),l(4,"devmx-icon",9),i()()}if(t&2){let e=o.$implicit;d("data",e),c(),d("routerLink",e.id)}}function Zt(t,o){t&1&&(r(0,"div",4)(1,"h2"),s(2,"N\xE3o temos nada aqui..."),i(),r(3,"h3"),s(4," Siga nessa dire\xE7\xE3o "),l(5,"devmx-icon",10)(6,"br"),s(7," at\xE9 encontrar o bot\xE3o com um "),l(8,"devmx-icon",11)(9,"br"),s(10," e cadastre suas apresenta\xE7\xF5es. "),l(11,"devmx-icon",12),i()()),t&2&&(c(5),d("size",32),c(3),d("size",32),c(3),d("size",32))}function Yt(t,o){if(t&1){let e=x();r(0,"div",2),O(1,Qt,5,2,"devmx-presentation-card",3,Gt),i(),g(3,Zt,12,3,"div",4),r(4,"footer")(5,"devmx-paginator",5),u("pageChange",function(n){C(e);let m=f(2);return M(m.onPageChange(n))}),i()()}if(t&2){let e=o;c(),S(e.data),c(2),y(e.items?-1:3),c(2),d("size",10)("items",e.items)}}function Kt(t,o){if(t&1&&(g(0,Yt,6,3),z(1,"async")),t&2){let e,a=f();y((e=$(1,1,a.presentationFacade.response$))?0:-1,e)}}function Jt(t,o){t&1&&(r(0,"div",2),l(1,"devmx-skeleton",13)(2,"devmx-skeleton",13),i()),t&2&&(c(),d("rows",3),c(),d("rows",2))}var Rt=(()=>{class t{router=p(B);route=p(E);dialogFacade=p(Q);authFacade=p(H);presentationFacade=p(P);constructor(){let e=this.authFacade.auth$.pipe(ie(n=>!!n),A(n=>n.id)),a=this.route.queryParams;I([e,a]).pipe(F()).subscribe(this.onQueryParams)}deletePresentation({id:e,title:a}){this.dialogFacade.confirm(`Confirme que deseja apagar a apresenta\xE7\xE3o ${a}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.presentationFacade.delete(e)})}onQueryParams=([e,a])=>{let{page:n=0,size:m=10}=a,{title:_="",format:J="",visible:X=!0}=a,It={title:_,format:J,visible:X,owner:e};this.presentationFacade.setParams({page:n,size:m,filter:It}),this.presentationFacade.load()};onPageChange({page:e,size:a}){let n={page:e,size:a};this.router.navigate([],{queryParams:n})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-my-presentations"]],decls:6,vars:0,consts:[["mat-fab","","routerLink","nova",1,"tertiary-fab","top","right"],["name","plus"],[1,"presentations-container"],[3,"data"],[1,"no-presentations-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar apresenta\xE7\xE3o","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar apresenta\xE7\xE3o","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"],[3,"rows"]],template:function(a,n){a&1&&(r(0,"a",0),l(1,"devmx-icon",1),i(),g(2,Kt,2,3)(3,Jt,3,2),se(4,2,Ht,null,3),ce(500))},dependencies:[U,ee,D,ze,je,Ge,w],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1278px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var At=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=ae({type:t});static \u0275inj=oe({imports:[ue]})}return t})();var K=class extends Y{formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina (workshop)"},{value:"webinar",viewValue:"Semin\xE1rio online (webinar)"}];constructor(){super({id:new h("",{nonNullable:!0}),title:new h("",{nonNullable:!0,validators:[b.required]}),description:new h("",{nonNullable:!0,validators:[b.required,b.maxLength(512)]}),link:new h("",{nonNullable:!0,validators:[b.pattern("^https://slides\\.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+$")]}),format:new h("talk",{nonNullable:!0,validators:[b.required]}),resources:new te([]),tags:new te([]),visible:new h}),this.controls.id.disable()}currentResource=new h("",{nonNullable:!0,validators:[b.pattern(/^(https?:\/\/)?([a-zA-Z0-9-_]+(\.[a-zA-Z0-9-_]+)+.*)$/)]});currentTag=new h("",{nonNullable:!0,validators:[b.pattern(/^[a-zA-Z0-9]+$/)]});patch(o){o.id&&this.controls.id&&this.controls.id.enable(),this.patchValue(o),this.resources.clear();for(let e of o.resources)this.pushResource(e);this.tags.clear();for(let e of o.tags)this.pushTag(e)}get resources(){return this.controls.resources}get tags(){return this.controls.tags}addResource(o){if(o.preventDefault(),this.currentResource.valid&&this.currentResource.value)return this.pushResource(this.currentResource.value),this.currentResource.reset("");this.currentResource.markAsTouched()}addTag(o){if(o.preventDefault(),this.currentTag.valid&&this.currentTag.value)return this.pushTag(this.currentTag.value),this.currentTag.reset("");this.currentTag.markAsTouched()}pushResource(o=""){this.resources.push(new h(o,{nonNullable:!0}))}pushTag(o=""){this.tags.push(new h(o,{nonNullable:!0}))}removeResource(o){this.resources.removeAt(o)}removeTag(o){this.tags.removeAt(o)}};function Xt(t,o){if(t&1&&(r(0,"mat-option",4),s(1),i()),t&2){let e=o.$implicit;d("value",e.value),c(),k(e.viewValue)}}function er(t,o){if(t&1){let e=x();r(0,"mat-list-item",7),l(1,"devmx-icon",14),r(2,"div",15),s(3),i(),r(4,"button",16),u("click",function(){let n=C(e).$index,m=f();return M(m.form.removeResource(n))}),l(5,"devmx-icon",17),i()()}if(t&2){let e=o.$implicit;c(3),k(e.value)}}function tr(t,o){if(t&1){let e=x();r(0,"mat-list-item",7),l(1,"devmx-icon",18),r(2,"div",15),s(3),i(),r(4,"button",16),u("click",function(){let n=C(e).$index,m=f();return M(m.form.removeTag(n))}),l(5,"devmx-icon",17),i()()}if(t&2){let e=o.$implicit;c(3),k(e.value)}}function rr(t,o){t&1&&(r(0,"mat-list-item"),l(1,"devmx-icon",19),r(2,"span",15),s(3,"Dica"),i(),r(4,"span",20),s(5,"Voc\xEA pode reordenar os itens arrastando"),i()())}var ne=(()=>{class t{route=p(E);cdr=p(le);presentationFacade=p(P);messageService=p(Be);listItemDialog=p(R);form=new K;constructor(){this.route.data.pipe(F()).subscribe(({presentation:e})=>{e&&e.id&&this.form.patch(e)})}dropTags(e){re(this.form.tags.controls,e.previousIndex,e.currentIndex)}dropResources(e){re(this.form.resources.controls,e.previousIndex,e.currentIndex)}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return e.id?this.presentationFacade.update(e):this.presentationFacade.create(e),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-presentation-admin-presentation"]],decls:63,vars:6,consts:[[3,"submit","formGroup"],[1,"presentation-card"],["type","text","matInput","","formControlName","title"],["formControlName","format"],[3,"value"],["matInput","","type","url","formControlName","link"],["cdkDropList","",1,"sortable-list",3,"cdkDropListDropped"],["cdkDrag","",1,"sortable-list-item"],["type","text","matInput","",3,"keydown.enter","formControl"],["formControlName","visible"],["label","Resenha da apresenta\xE7\xE3o","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"maxRows"],[3,"content"],[1,"presentation-card-actions"],["mat-flat-button",""],["matListItemIcon","","name","link"],["matListItemTitle",""],["type","button","matListItemMeta","","mat-icon-button","",3,"click"],["name","close-cross"],["matListItemIcon","","name","hashtag"],["matListItemIcon","","name","information-circle","color","#1A84FF"],["matListItemLine",""]],template:function(a,n){if(a&1&&(r(0,"form",0),u("submit",function(){return n.onSubmit()}),r(1,"mat-card",1)(2,"mat-card-content")(3,"section")(4,"div")(5,"mat-form-field")(6,"mat-label"),s(7,"T\xEDtulo da apresenta\xE7\xE3o"),i(),l(8,"input",2),r(9,"mat-error"),s(10,"Obrigat\xF3rio"),i()(),r(11,"mat-form-field")(12,"mat-label"),s(13,"Formato da apresenta\xE7\xE3o"),i(),r(14,"mat-select",3),O(15,Xt,2,2,"mat-option",4,L),i()()(),r(17,"mat-form-field")(18,"mat-label"),s(19,"URL da palestra"),i(),l(20,"input",5),r(21,"mat-hint"),s(22,"Apenas URL do slides.com s\xE3o suportadas"),i(),r(23,"mat-error"),s(24,"URL inv\xE1lida"),i()(),r(25,"mat-list",6),u("cdkDropListDropped",function(_){return n.dropResources(_)}),O(26,er,6,1,"mat-list-item",7,L),i(),r(28,"mat-form-field")(29,"mat-label"),s(30,"Adicione um link"),i(),r(31,"input",8),u("keydown.enter",function(_){return n.form.addResource(_)}),i(),r(32,"mat-hint"),s(33,"Use a tecla "),r(34,"kbd"),s(35,"enter"),i(),s(36," para adicionar"),i(),r(37,"mat-error"),s(38,"URL inv\xE1lida"),i()(),r(39,"mat-list",6),u("cdkDropListDropped",function(_){return n.dropTags(_)}),O(40,tr,6,1,"mat-list-item",7,L),g(42,rr,6,0,"mat-list-item"),i(),r(43,"mat-form-field")(44,"mat-label"),s(45,"Adicione uma tag"),i(),r(46,"input",8),u("keydown.enter",function(_){return n.form.addTag(_)}),i(),r(47,"mat-hint"),s(48,"Use a tecla "),r(49,"kbd"),s(50,"enter"),i(),s(51," para adicionar"),i(),r(52,"mat-error"),s(53,"Apenas letras e n\xFAmeros"),i()(),r(54,"mat-checkbox",9),s(55," Vis\xEDvel publicamente "),i()(),r(56,"section")(57,"devmx-markdown-toolbar"),l(58,"devmx-markdown-editor",10)(59,"devmx-markdown-view",11),i()()(),r(60,"mat-card-actions",12)(61,"button",13),s(62,"Salvar"),i()()()()),a&2){let m;d("formGroup",n.form),c(15),S(n.form.formats),c(11),S(n.form.resources.controls),c(5),d("formControl",n.form.currentResource),c(9),S(n.form.tags.controls),c(2),y(n.form.tags.length>1?42:-1),c(4),d("formControl",n.form.currentTag),c(12),d("maxRows",20),c(),d("content",(m=n.form.value.description)!==null&&m!==void 0?m:"")}},dependencies:[Te,Oe,Pe,be,ye,Se,ke,Ee,At,Je,rt,Xe,Me,Ce,ge,he,fe,tt,et,Ot,wt,yt,Ke,Ye,G,q,j,Qe,Ne,Ie,Le,Ae,Fe,De,Re,D,Ve,T,We,Ue,_e,w],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .mat-mdc-card-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .mat-mdc-card-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .presentation-card-actions[_ngcontent-%COMP%]{gap:1em;display:flex;align-items:center;justify-content:flex-end}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:1em;display:flex}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]{cursor:grab}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]{cursor:grabbing}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-preview[_ngcontent-%COMP%]{border:none;box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"],changeDetection:0})}return t})();var gi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Et,component:St,children:[{path:"minhas-apresentacoes/nova",data:{breadcrumb:"Nova"},title:"Nova apresenta\xE7\xE3o",component:ne},{path:"minhas-apresentacoes/:id",data:{breadcrumb:t=>t.presentation.title},title:"Minha apresenta\xE7\xE3o",resolve:{presentation:Tt},component:ne},{path:"minhas-apresentacoes",data:{breadcrumb:"Minhas apresenta\xE7\xF5es"},title:"Minhas apresenta\xE7\xF5es",component:Rt},{path:"gerenciar-apresentacoes",data:{breadcrumb:"Gerenciar apresenta\xE7\xF5es"},title:"Gerenciar apresenta\xE7\xF5es",canActivate:[nt("director","manager","staff")],component:Ft},{path:"",pathMatch:"prefix",redirectTo:"minhas-apresentacoes"}]}];export{St as PresentationFeatureAdminComponent,gi as presentationFeatureAdminRoutes}; +import{a as re,c as yt,d as wt,f as Ot}from"./chunk-4YGLTYA3.js";import{a as ct,b as mt}from"./chunk-OOIIDBJ2.js";import{d as at,e as st}from"./chunk-75BM4JAG.js";import{a as Je,b as rt}from"./chunk-FJPP4CEK.js";import{a as dt,b as pt}from"./chunk-R4QCZCL2.js";import{a as et,b as tt}from"./chunk-I7HMQKPZ.js";import{a as ut,b as _t,c as gt,d as ft,e as ht,f as Ct,g as Mt,h as vt,i as xt,j as Pt,k as bt}from"./chunk-TDAJGOKB.js";import{a as Q,b as it}from"./chunk-HOUESFGN.js";import{a as lt}from"./chunk-5XJFAPMG.js";import{a as nt}from"./chunk-Z63MF55O.js";import{c as ot}from"./chunk-6PKCOWVT.js";import"./chunk-BJPVFIKR.js";import{a as Be}from"./chunk-FTG3SWGJ.js";import{a as Ge}from"./chunk-EM27EDGS.js";import{a as qe,b as je,c as W}from"./chunk-EJAMDHKS.js";import{a as Ue,b as We}from"./chunk-KCQYBIUM.js";import{a as P,c as xe}from"./chunk-C7FIZGKV.js";import"./chunk-5ZT2NHQS.js";import{a as Xe}from"./chunk-VTXFVMCI.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as H}from"./chunk-5MUU2WLY.js";import{s as ve}from"./chunk-7BKB7KKA.js";import"./chunk-J4P2XXRU.js";import{d as Ye,e as Ke}from"./chunk-A74J7Y3C.js";import{b as ge,c as fe,d as he,i as Ce,j as Me}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as F}from"./chunk-366DNJGU.js";import{g as E,h as pe,i as B,j as ee,p as U,q as Ve,u as ze,v as T,w as $e,x as D}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{a as De,b as Fe,c as Re,e as Ae,f as Ie,g as Le,l as Ne}from"./chunk-UANEMOTZ.js";import{a as q,b as He,c as Qe,e as j,f as Ze,i as G}from"./chunk-BJ2ND26O.js";import{a as w,c as Pe,e as b,h as be,i as ye,j as we,l as h,m as Oe,o as Se,p as ke,s as Ee,w as te,x as Te}from"./chunk-E5QACR6S.js";import{_ as ue,pa as _e}from"./chunk-CG5OOKZO.js";import{$b as O,F as ie,Jc as z,Kc as $,Nb as g,Ob as se,Pb as ce,Sc as le,Tb as d,Yb as y,_b as L,ac as S,bc as r,cc as i,dc as l,ec as N,fa as oe,fc as V,hc as x,je as de,ka as p,kc as u,lb as c,mc as f,t as A,ta as C,u as I,ua as M,ub as v,vb as ae,xc as s,yc as k,zc as me}from"./chunk-5L47ZUSK.js";var St=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-presentation-feature-admin"]],decls:1,vars:0,template:function(a,n){a&1&&l(0,"router-outlet")},dependencies:[pe],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return t})();var Y=class extends we{};var R=class{dialog;formService;constructor(o,e){this.dialog=o,this.formService=e}open(o=null){let e={value:ct({label:"Item",type:"text",value:o&&o.value?o.value:"",errors:{required:"Obrigat\xF3rio"}})},a=mt(e),n=(o?"Alterar":"Adicionar")+" item";return this.formService.open({title:n,fields:e,form:a})}};function kt(){return{provide:R,deps:[ot,at]}}var Et=[kt(),pt(),st(),it()];var Tt=t=>xe(p(P),t.params);function Nt(t,o){t&1&&(r(0,"th",15),s(1,"Nome do curso"),i())}function Vt(t,o){if(t&1&&(r(0,"td",16),s(1),i()),t&2){let e=o.$implicit;c(),k(e.title)}}function zt(t,o){t&1&&(r(0,"th",15),s(1,"Criado por"),i())}function $t(t,o){if(t&1&&(r(0,"td",16),s(1),i()),t&2){let e=o.$implicit;c(),me(" ",e.owner.displayName," ")}}function Bt(t,o){t&1&&l(0,"th",15)}function Ut(t,o){if(t&1){let e=x();r(0,"td",16)(1,"button",17),u("click",function(){let n=C(e).$implicit,m=f(2);return M(m.openDelete(n))}),l(2,"devmx-icon",18),i()()}}function Wt(t,o){t&1&&l(0,"tr",19)}function qt(t,o){t&1&&l(0,"tr",20)}function jt(t,o){if(t&1){let e=x();r(0,"table",5),N(1,6),g(2,Nt,2,0,"th",7)(3,Vt,2,1,"td",8),V(),N(4,9),g(5,zt,2,0,"th",7)(6,$t,2,1,"td",8),V(),N(7,10),g(8,Bt,1,0,"th",7)(9,Ut,3,0,"td",8),V(),g(10,Wt,1,0,"tr",11)(11,qt,1,0,"tr",12),i(),r(12,"mat-card-actions",13)(13,"devmx-paginator",14),u("pageChange",function(n){C(e);let m=f();return M(m.onPageChange(n))}),i()()}if(t&2){let e=o,a=f();d("dataSource",e.data),c(10),d("matHeaderRowDef",a.columns),c(),d("matRowDefColumns",a.columns),c(2),d("size",10)("items",e.items)}}var Ft=(()=>{class t{router=p(B);route=p(E);dialogFacade=p(Q);authFacade=p(H);presentationFacade=p(P);selectUser=p(dt);#e=ve(null);columns=["title","owner","actions"];constructor(){let e=this.#e.observe().pipe(A(n=>n?n.id:"")),a=this.route.queryParams;I([e,a]).pipe(F()).subscribe(this.onQueryParams),this.presentationFacade.load()}setUserRef(e=null){this.#e.update(e)}openSelectUser(){this.selectUser.open({onlyRole:"speaker",multiple:!1}).subscribe(e=>{e&&this.setUserRef(e)})}openDelete({id:e,title:a}){this.dialogFacade.confirm(`Confirme que deseja apagar a apresenta\xE7\xE3o ${a}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.presentationFacade.delete(e)})}onQueryParams=([e,a])=>{let{page:n=0,size:m=10}=a,{title:_="",format:J=""}=a,X={title:_,format:J,owner:e};this.presentationFacade.setParams({page:n,size:m,filter:X}),this.presentationFacade.load()};onSearchChange(e=""){this.presentationFacade.setFilter({title:e}),this.presentationFacade.load()}onPageChange({page:e,size:a}){let n={page:e,size:a};this.router.navigate([],{queryParams:n})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-manage-presentations"]],decls:10,vars:4,consts:[[1,"presentations-card"],[1,"presentations-card-header"],["mat-icon-button","",3,"click"],["name","filter"],[3,"searchChange","debounce"],["mat-table","",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","owner"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],[3,"pageChange","size","items"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","",3,"click"],["name","trash"],["mat-header-row",""],["mat-row",""]],template:function(a,n){if(a&1&&(r(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title"),s(3,"Apresenta\xE7\xF5es"),i(),r(4,"div")(5,"button",2),u("click",function(){return n.openSelectUser()}),l(6,"devmx-icon",3),i(),r(7,"devmx-search-field",4),u("searchChange",function(_){return n.onSearchChange(_)}),i()()(),g(8,jt,14,5),z(9,"async"),i()),a&2){let m;c(7),d("debounce",1e3),c(),y((m=$(9,2,n.presentationFacade.response$))?8:-1,m)}},dependencies:[U,D,T,lt,W,bt,ut,gt,Mt,ft,_t,vt,ht,Ct,xt,Pt,G,q,j,Ze,He,w,de],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .presentations-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .presentations-card[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;min-width:calc(50% - 1em)}[_nghost-%COMP%] .presentations-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.1)}[_nghost-%COMP%] .presentations-card-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{gap:2em;display:flex;align-items:baseline}[_nghost-%COMP%] .mat-mdc-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{max-width:3em}"],changeDetection:0})}return t})();var Gt=(t,o)=>o.id,Ht=()=>[ee,$e,T,qe,W,import("./chunk-TERRPVDK.js").then(t=>t.PresentationCardComponent),w,import("./chunk-NAKSAAO7.js").then(t=>t.AsyncPipe)];function Qt(t,o){if(t&1){let e=x();r(0,"devmx-presentation-card",3)(1,"a",6),l(2,"devmx-icon",7),i(),r(3,"button",8),u("click",function(){let n=C(e).$implicit,m=f(3);return M(m.deletePresentation(n))}),l(4,"devmx-icon",9),i()()}if(t&2){let e=o.$implicit;d("data",e),c(),d("routerLink",e.id)}}function Zt(t,o){t&1&&(r(0,"div",4)(1,"h2"),s(2,"N\xE3o temos nada aqui..."),i(),r(3,"h3"),s(4," Siga nessa dire\xE7\xE3o "),l(5,"devmx-icon",10)(6,"br"),s(7," at\xE9 encontrar o bot\xE3o com um "),l(8,"devmx-icon",11)(9,"br"),s(10," e cadastre suas apresenta\xE7\xF5es. "),l(11,"devmx-icon",12),i()()),t&2&&(c(5),d("size",32),c(3),d("size",32),c(3),d("size",32))}function Yt(t,o){if(t&1){let e=x();r(0,"div",2),O(1,Qt,5,2,"devmx-presentation-card",3,Gt),i(),g(3,Zt,12,3,"div",4),r(4,"footer")(5,"devmx-paginator",5),u("pageChange",function(n){C(e);let m=f(2);return M(m.onPageChange(n))}),i()()}if(t&2){let e=o;c(),S(e.data),c(2),y(e.items?-1:3),c(2),d("size",10)("items",e.items)}}function Kt(t,o){if(t&1&&(g(0,Yt,6,3),z(1,"async")),t&2){let e,a=f();y((e=$(1,1,a.presentationFacade.response$))?0:-1,e)}}function Jt(t,o){t&1&&(r(0,"div",2),l(1,"devmx-skeleton",13)(2,"devmx-skeleton",13),i()),t&2&&(c(),d("rows",3),c(),d("rows",2))}var Rt=(()=>{class t{router=p(B);route=p(E);dialogFacade=p(Q);authFacade=p(H);presentationFacade=p(P);constructor(){let e=this.authFacade.auth$.pipe(ie(n=>!!n),A(n=>n.id)),a=this.route.queryParams;I([e,a]).pipe(F()).subscribe(this.onQueryParams)}deletePresentation({id:e,title:a}){this.dialogFacade.confirm(`Confirme que deseja apagar a apresenta\xE7\xE3o ${a}`,"Esta a\xE7\xE3o n\xE3o poder\xE1 ser desfeita").subscribe(n=>{n&&this.presentationFacade.delete(e)})}onQueryParams=([e,a])=>{let{page:n=0,size:m=10}=a,{title:_="",format:J="",visible:X=!0}=a,It={title:_,format:J,visible:X,owner:e};this.presentationFacade.setParams({page:n,size:m,filter:It}),this.presentationFacade.load()};onPageChange({page:e,size:a}){let n={page:e,size:a};this.router.navigate([],{queryParams:n})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-my-presentations"]],decls:6,vars:0,consts:[["mat-fab","","routerLink","nova",1,"tertiary-fab","top","right"],["name","plus"],[1,"presentations-container"],[3,"data"],[1,"no-presentations-yet"],[3,"pageChange","size","items"],["mat-icon-button","","matTooltip","Editar apresenta\xE7\xE3o","matTooltipPosition","before",3,"routerLink"],["name","software/edit"],["type","button","mat-icon-button","","matTooltip","Apagar apresenta\xE7\xE3o","matTooltipPosition","after",3,"click"],["name","trash-alt"],["color","#3BCE53","name","arrow/up-right",3,"size"],["color","#3BCE53","name","plus",3,"size"],["color","#3BCE53","name","emoji/smirking-alt",3,"size"],[3,"rows"]],template:function(a,n){a&1&&(r(0,"a",0),l(1,"devmx-icon",1),i(),g(2,Kt,2,3)(3,Jt,3,2),se(4,2,Ht,null,3),ce(500))},dependencies:[U,ee,D,ze,je,Ge,w],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{gap:1em;padding:1em;display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,1fr)}@media (max-width: 1278px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 767px){[_nghost-%COMP%] .presentations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;white-space:normal}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:160%}[_nghost-%COMP%] .no-presentations-yet[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:120%;text-align:end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})}return t})();var At=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=ae({type:t});static \u0275inj=oe({imports:[ue]})}return t})();var K=class extends Y{formats=[{value:"talk",viewValue:"Palestra"},{value:"workshop",viewValue:"Oficina (workshop)"},{value:"webinar",viewValue:"Semin\xE1rio online (webinar)"}];constructor(){super({id:new h("",{nonNullable:!0}),title:new h("",{nonNullable:!0,validators:[b.required]}),description:new h("",{nonNullable:!0,validators:[b.required,b.maxLength(512)]}),link:new h("",{nonNullable:!0,validators:[b.pattern("^https://slides\\.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+$")]}),format:new h("talk",{nonNullable:!0,validators:[b.required]}),resources:new te([]),tags:new te([]),visible:new h}),this.controls.id.disable()}currentResource=new h("",{nonNullable:!0,validators:[b.pattern(/^(https?:\/\/)?([a-zA-Z0-9-_]+(\.[a-zA-Z0-9-_]+)+.*)$/)]});currentTag=new h("",{nonNullable:!0,validators:[b.pattern(/^[a-zA-Z0-9]+$/)]});patch(o){o.id&&this.controls.id&&this.controls.id.enable(),this.patchValue(o),this.resources.clear();for(let e of o.resources)this.pushResource(e);this.tags.clear();for(let e of o.tags)this.pushTag(e)}get resources(){return this.controls.resources}get tags(){return this.controls.tags}addResource(o){if(o.preventDefault(),this.currentResource.valid&&this.currentResource.value)return this.pushResource(this.currentResource.value),this.currentResource.reset("");this.currentResource.markAsTouched()}addTag(o){if(o.preventDefault(),this.currentTag.valid&&this.currentTag.value)return this.pushTag(this.currentTag.value),this.currentTag.reset("");this.currentTag.markAsTouched()}pushResource(o=""){this.resources.push(new h(o,{nonNullable:!0}))}pushTag(o=""){this.tags.push(new h(o,{nonNullable:!0}))}removeResource(o){this.resources.removeAt(o)}removeTag(o){this.tags.removeAt(o)}};function Xt(t,o){if(t&1&&(r(0,"mat-option",4),s(1),i()),t&2){let e=o.$implicit;d("value",e.value),c(),k(e.viewValue)}}function er(t,o){if(t&1){let e=x();r(0,"mat-list-item",7),l(1,"devmx-icon",14),r(2,"div",15),s(3),i(),r(4,"button",16),u("click",function(){let n=C(e).$index,m=f();return M(m.form.removeResource(n))}),l(5,"devmx-icon",17),i()()}if(t&2){let e=o.$implicit;c(3),k(e.value)}}function tr(t,o){if(t&1){let e=x();r(0,"mat-list-item",7),l(1,"devmx-icon",18),r(2,"div",15),s(3),i(),r(4,"button",16),u("click",function(){let n=C(e).$index,m=f();return M(m.form.removeTag(n))}),l(5,"devmx-icon",17),i()()}if(t&2){let e=o.$implicit;c(3),k(e.value)}}function rr(t,o){t&1&&(r(0,"mat-list-item"),l(1,"devmx-icon",19),r(2,"span",15),s(3,"Dica"),i(),r(4,"span",20),s(5,"Voc\xEA pode reordenar os itens arrastando"),i()())}var ne=(()=>{class t{route=p(E);cdr=p(le);presentationFacade=p(P);messageService=p(Be);listItemDialog=p(R);form=new K;constructor(){this.route.data.pipe(F()).subscribe(({presentation:e})=>{e&&e.id&&this.form.patch(e)})}dropTags(e){re(this.form.tags.controls,e.previousIndex,e.currentIndex)}dropResources(e){re(this.form.resources.controls,e.previousIndex,e.currentIndex)}onSubmit(){if(this.form.valid){let e=this.form.getRawValue();return e.id?this.presentationFacade.update(e):this.presentationFacade.create(e),this.messageService.open({message:"Armazenando informa\xE7\xF5es"})}return this.form.markAllAsTouched()}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=v({type:t,selectors:[["devmx-presentation-admin-presentation"]],decls:63,vars:6,consts:[[3,"submit","formGroup"],[1,"presentation-card"],["type","text","matInput","","formControlName","title"],["formControlName","format"],[3,"value"],["matInput","","type","url","formControlName","link"],["cdkDropList","",1,"sortable-list",3,"cdkDropListDropped"],["cdkDrag","",1,"sortable-list-item"],["type","text","matInput","",3,"keydown.enter","formControl"],["formControlName","visible"],["label","Resenha da apresenta\xE7\xE3o","hint","Compat\xEDvel com markdown do Github","formControlName","description",3,"maxRows"],[3,"content"],[1,"presentation-card-actions"],["mat-flat-button",""],["matListItemIcon","","name","link"],["matListItemTitle",""],["type","button","matListItemMeta","","mat-icon-button","",3,"click"],["name","close-cross"],["matListItemIcon","","name","hashtag"],["matListItemIcon","","name","information-circle","color","#1A84FF"],["matListItemLine",""]],template:function(a,n){if(a&1&&(r(0,"form",0),u("submit",function(){return n.onSubmit()}),r(1,"mat-card",1)(2,"mat-card-content")(3,"section")(4,"div")(5,"mat-form-field")(6,"mat-label"),s(7,"T\xEDtulo da apresenta\xE7\xE3o"),i(),l(8,"input",2),r(9,"mat-error"),s(10,"Obrigat\xF3rio"),i()(),r(11,"mat-form-field")(12,"mat-label"),s(13,"Formato da apresenta\xE7\xE3o"),i(),r(14,"mat-select",3),O(15,Xt,2,2,"mat-option",4,L),i()()(),r(17,"mat-form-field")(18,"mat-label"),s(19,"URL da palestra"),i(),l(20,"input",5),r(21,"mat-hint"),s(22,"Apenas URL do slides.com s\xE3o suportadas"),i(),r(23,"mat-error"),s(24,"URL inv\xE1lida"),i()(),r(25,"mat-list",6),u("cdkDropListDropped",function(_){return n.dropResources(_)}),O(26,er,6,1,"mat-list-item",7,L),i(),r(28,"mat-form-field")(29,"mat-label"),s(30,"Adicione um link"),i(),r(31,"input",8),u("keydown.enter",function(_){return n.form.addResource(_)}),i(),r(32,"mat-hint"),s(33,"Use a tecla "),r(34,"kbd"),s(35,"enter"),i(),s(36," para adicionar"),i(),r(37,"mat-error"),s(38,"URL inv\xE1lida"),i()(),r(39,"mat-list",6),u("cdkDropListDropped",function(_){return n.dropTags(_)}),O(40,tr,6,1,"mat-list-item",7,L),g(42,rr,6,0,"mat-list-item"),i(),r(43,"mat-form-field")(44,"mat-label"),s(45,"Adicione uma tag"),i(),r(46,"input",8),u("keydown.enter",function(_){return n.form.addTag(_)}),i(),r(47,"mat-hint"),s(48,"Use a tecla "),r(49,"kbd"),s(50,"enter"),i(),s(51," para adicionar"),i(),r(52,"mat-error"),s(53,"Apenas letras e n\xFAmeros"),i()(),r(54,"mat-checkbox",9),s(55," Vis\xEDvel publicamente "),i()(),r(56,"section")(57,"devmx-markdown-toolbar"),l(58,"devmx-markdown-editor",10)(59,"devmx-markdown-view",11),i()()(),r(60,"mat-card-actions",12)(61,"button",13),s(62,"Salvar"),i()()()()),a&2){let m;d("formGroup",n.form),c(15),S(n.form.formats),c(11),S(n.form.resources.controls),c(5),d("formControl",n.form.currentResource),c(9),S(n.form.tags.controls),c(2),y(n.form.tags.length>1?42:-1),c(4),d("formControl",n.form.currentTag),c(12),d("maxRows",20),c(),d("content",(m=n.form.value.description)!==null&&m!==void 0?m:"")}},dependencies:[Te,Oe,Pe,be,ye,Se,ke,Ee,At,Je,rt,Xe,Me,Ce,ge,he,fe,tt,et,Ot,wt,yt,Ke,Ye,G,q,j,Qe,Ne,Ie,Le,Ae,Fe,De,Re,D,Ve,T,We,Ue,_e,w],styles:["[_nghost-%COMP%]{flex:1;padding:1em;display:flex;flex-direction:column}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .mat-mdc-card-content[_ngcontent-%COMP%]{flex:1;gap:1.6em;display:flex;flex-flow:row wrap}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .mat-mdc-card-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.6em}[_nghost-%COMP%] .presentation-card-actions[_ngcontent-%COMP%]{gap:1em;display:flex;align-items:center;justify-content:flex-end}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:1em;display:flex}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]{cursor:grab}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%], [_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]{cursor:grabbing}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-preview[_ngcontent-%COMP%]{border:none;box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}[_nghost-%COMP%] .presentation-card[_ngcontent-%COMP%] .sortable-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .sortable-list-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"],changeDetection:0})}return t})();var gi=[{path:"",data:{breadcrumb:"Administra\xE7\xE3o"},providers:Et,component:St,children:[{path:"minhas-apresentacoes/nova",data:{breadcrumb:"Nova"},title:"Nova apresenta\xE7\xE3o",component:ne},{path:"minhas-apresentacoes/:id",data:{breadcrumb:t=>t.presentation.title},title:"Minha apresenta\xE7\xE3o",resolve:{presentation:Tt},component:ne},{path:"minhas-apresentacoes",data:{breadcrumb:"Minhas apresenta\xE7\xF5es"},title:"Minhas apresenta\xE7\xF5es",component:Rt},{path:"gerenciar-apresentacoes",data:{breadcrumb:"Gerenciar apresenta\xE7\xF5es"},title:"Gerenciar apresenta\xE7\xF5es",canActivate:[nt("director","manager","staff")],component:Ft},{path:"",pathMatch:"prefix",redirectTo:"minhas-apresentacoes"}]}];export{St as PresentationFeatureAdminComponent,gi as presentationFeatureAdminRoutes}; diff --git a/chunk-PAP2P7QR.js b/chunk-UANEMOTZ.js similarity index 99% rename from chunk-PAP2P7QR.js rename to chunk-UANEMOTZ.js index ba2d2526..6a71d10e 100644 --- a/chunk-PAP2P7QR.js +++ b/chunk-UANEMOTZ.js @@ -1 +1 @@ -import{b as xt}from"./chunk-EDIJ2EBQ.js";import{A as pt,J as _t,Y as S,ca as gt,ea as bt,f as lt,fa as ut,ha as ft,ja as vt,n as rt,q as mt,s as dt,t as g,u as ht,xa as X,z as G}from"./chunk-W5KNOAKV.js";import{$ as j,D as tt,Ea as V,Fa as H,Fc as T,Ja as O,Kb as x,Nb as b,Nc as B,Pa as nt,Sb as C,Sc as q,Tb as u,Vb as k,Yb as z,bc as r,cc as _,da as it,dc as w,e as J,fa as E,ha as F,hc as U,ie as ot,j as $,ka as n,kc as D,lb as h,mc as f,nc as A,oc as l,pc as v,qc as P,rc as m,sa as et,sc as d,ta as Q,ua as N,ub as L,va as at,vb as R,wa as st,wb as p,wc as M,xa as y,za as ct}from"./chunk-TEKHUYWQ.js";var kt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[S,S]})}return i})();var Z=["*"],Y='.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color, transparent);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size, 24px);height:var(--mdc-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size, 40px);height:var(--mdc-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size, 24px);height:var(--mdc-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}',wt=["unscopedContent"],Tt=["text"],St=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Et=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Ft=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Rt=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function Pt(i,o){i&1&&l(0,4)}function Bt(i,o){if(i&1&&(r(0,"div",11),w(1,"input",12),r(2,"div",13),at(),r(3,"svg",14),w(4,"path",15),_(),st(),w(5,"div",16),_()()),i&2){let t=f();k("mdc-checkbox--disabled",t.disabled),h(),u("checked",t.selected)("disabled",t.disabled)}}function jt(i,o){if(i&1&&(r(0,"div",17),w(1,"input",18),r(2,"div",19),w(3,"div",20)(4,"div",21),_()()),i&2){let t=f();k("mdc-radio--disabled",t.disabled),h(),u("checked",t.selected)("disabled",t.disabled)}}function Qt(i,o){}function Nt(i,o){if(i&1&&(r(0,"span",4),b(1,Qt,0,0,"ng-template",6),_()),i&2){f();let t=M(3);h(),u("ngTemplateOutlet",t)}}function Vt(i,o){}function Ht(i,o){if(i&1&&(r(0,"span",5),b(1,Vt,0,0,"ng-template",6),_()),i&2){f();let t=M(5);h(),u("ngTemplateOutlet",t)}}function Ut(i,o){}function qt(i,o){if(i&1&&b(0,Ut,0,0,"ng-template",6),i&2){f();let t=M(1);u("ngTemplateOutlet",t)}}function Gt(i,o){}function Xt(i,o){if(i&1&&(r(0,"span",9),b(1,Gt,0,0,"ng-template",6),_()),i&2){f();let t=M(3);h(),u("ngTemplateOutlet",t)}}function Kt(i,o){}function Wt(i,o){if(i&1&&(r(0,"span",9),b(1,Kt,0,0,"ng-template",6),_()),i&2){f();let t=M(5);h(),u("ngTemplateOutlet",t)}}function Zt(i,o){}function Yt(i,o){if(i&1&&b(0,Zt,0,0,"ng-template",6),i&2){f();let t=M(1);u("ngTemplateOutlet",t)}}var yt=new F("ListOption"),Lt=(()=>{class i{_elementRef=n(O);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return i})(),Ct=(()=>{class i{_elementRef=n(O);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return i})(),Jt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return i})(),Mt=(()=>{class i{_listOption=n(yt,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,hostVars:4,hostBindings:function(e,a){e&2&&k("mdc-list-item__start",a._isAlignedAtStart())("mdc-list-item__end",!a._isAlignedAtStart())}})}return i})(),$t=(()=>{class i extends Mt{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275dir=p({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[x]})}return i})(),ti=(()=>{class i extends Mt{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275dir=p({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[x]})}return i})(),ii=new F("MAT_LIST_CONFIG"),I=(()=>{class i{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=g(t)}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=g(t)}_disabled=!1;_defaultOptions=n(ii,{optional:!0});static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,hostVars:1,hostBindings:function(e,a){e&2&&C("aria-disabled",a.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return i})(),K=(()=>{class i{_elementRef=n(O);_ngZone=n(H);_listBase=n(I,{optional:!0});_platform=n(lt);_hostElement;_isButtonElement;_noopAnimations;_avatars;_icons;set lines(t){this._explicitLines=ht(t,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=g(t)}_disableRipple=!1;get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=g(t)}_disabled=!1;_subscriptions=new J;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){n(mt).load(gt);let t=n(ut,{optional:!0}),e=n(nt,{optional:!0});this.rippleConfig=t||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=e==="NoopAnimations",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new bt(this,this._ngZone,this._hostElement,this._platform,n(ct)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(tt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let e=this._explicitLines??this._inferLinesFromContent(),a=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",e===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",e===3),this._hasUnscopedTextContent){let s=this._titles.length===0&&e===1;a.classList.toggle("mdc-list-item__primary-text",s),a.classList.toggle("mdc-list-item__secondary-text",!s)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,contentQueries:function(e,a,s){if(e&1&&(v(s,$t,4),v(s,ti,4)),e&2){let c;m(c=d())&&(a._avatars=c),m(c=d())&&(a._icons=c)}},hostVars:4,hostBindings:function(e,a){e&2&&(C("aria-disabled",a.disabled)("disabled",a._isButtonElement&&a.disabled||null),k("mdc-list-item--disabled",a.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return i})();var zi=(()=>{class i extends I{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[T([{provide:I,useExisting:i}]),x],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),Di=(()=>{class i extends K{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(t){this._activated=g(t)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,a,s){if(e&1&&(v(s,Ct,5),v(s,Lt,5),v(s,Jt,5)),e&2){let c;m(c=d())&&(a._lines=c),m(c=d())&&(a._titles=c),m(c=d())&&(a._meta=c)}},viewQuery:function(e,a){if(e&1&&(P(wt,5),P(Tt,5)),e&2){let s;m(s=d())&&(a._unscopedContent=s.first),m(s=d())&&(a._itemText=s.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(e,a){e&2&&(C("aria-current",a._getAriaCurrent()),k("mdc-list-item--activated",a.activated)("mdc-list-item--with-leading-avatar",a._avatars.length!==0)("mdc-list-item--with-leading-icon",a._icons.length!==0)("mdc-list-item--with-trailing-meta",a._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",a._hasBothLeadingAndTrailing())("_mat-animation-noopable",a._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[x],ngContentSelectors:Et,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(e,a){if(e&1){let s=U();A(St),l(0),r(1,"span",1),l(2,1),l(3,2),r(4,"span",2,0),D("cdkObserveContent",function(){return Q(s),N(a._updateItemLines(!0))}),l(6,3),_()(),l(7,4),l(8,5),w(9,"div",3)}},dependencies:[G],encapsulation:2,changeDetection:0})}return i})(),It=new F("SelectionList"),ei=(()=>{class i extends K{_selectionList=n(It);_changeDetectorRef=n(q);_lines;_titles;_unscopedContent;selectedChange=new V;togglePosition="after";get checkboxPosition(){return this.togglePosition}set checkboxPosition(t){this.togglePosition=t}get color(){return this._color||this._selectionList.color}set color(t){this._color=t}_color;get value(){return this._value}set value(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}_value;get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(t){let e=g(t);e!==this._selected&&(this._setSelected(e),(e||this._selectionList.multiple)&&this._selectionList._reportValueChange())}_selected=!1;_inputsInitialized=!1;ngOnInit(){let t=this._selectionList;t._value&&t._value.some(a=>t.compareWith(this._value,a))&&this._setSelected(!0);let e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(t){return this._selectionList.multiple&&this._getTogglePosition()===t}_hasRadioAt(t){return!this._selectionList.multiple&&this._getTogglePosition()===t&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(t){return this._hasProjected("icons",t)||this._hasProjected("avatars",t)}_hasProjected(t,e){return this._getTogglePosition()!==e&&(t==="avatars"?this._avatars.length!==0:this._icons.length!==0)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(t){return t===this._selected?!1:(this._selected=t,t?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(t){this._hostElement.setAttribute("tabindex",t+"")}_hasBothLeadingAndTrailing(){let t=this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"),e=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return t&&e}static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list-option"]],contentQueries:function(e,a,s){if(e&1&&(v(s,Ct,5),v(s,Lt,5)),e&2){let c;m(c=d())&&(a._lines=c),m(c=d())&&(a._titles=c)}},viewQuery:function(e,a){if(e&1&&P(wt,5),e&2){let s;m(s=d())&&(a._unscopedContent=s.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(e,a){e&1&&D("blur",function(){return a._handleBlur()})("click",function(){return a._toggleOnInteraction()}),e&2&&(C("aria-selected",a.selected),k("mdc-list-item--selected",a.selected&&!a._selectionList.multiple&&a._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",a._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",a._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",a._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",a._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",a._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",a._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",a._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",a._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",a._hasBothLeadingAndTrailing())("mat-accent",a.color!=="primary"&&a.color!=="warn")("mat-warn",a.color==="warn")("_mat-animation-noopable",a._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[T([{provide:K,useExisting:i},{provide:yt,useExisting:i}]),x],ngContentSelectors:Rt,decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"]],template:function(e,a){if(e&1){let s=U();A(Ft),b(0,Pt,1,0,"ng-template",null,0,B)(2,Bt,6,4,"ng-template",null,1,B)(4,jt,5,4,"ng-template",null,2,B)(6,Nt,2,1,"span",4)(7,Ht,2,1,"span",5)(8,qt,1,1,null,6),r(9,"span",7),l(10),l(11,1),r(12,"span",8,3),D("cdkObserveContent",function(){return Q(s),N(a._updateItemLines(!0))}),l(14,2),_()(),b(15,Xt,2,1,"span",9)(16,Wt,2,1,"span",9)(17,Yt,1,1,null,6),l(18,3),w(19,"div",10)}e&2&&(h(6),z(a._hasCheckboxAt("before")?6:a._hasRadioAt("before")?7:-1),h(2),z(a._hasIconsOrAvatarsAt("before")?8:-1),h(7),z(a._hasCheckboxAt("after")?15:a._hasRadioAt("after")?16:-1),h(2),z(a._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[ot,G],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}@media(forced-colors: active){.mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}}'],encapsulation:2,changeDetection:0})}return i})(),Ti=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]})}return i})();var Si=(()=>{class i extends I{_isNonInteractive=!1;static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[T([{provide:I,useExisting:i}]),x],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),ai={provide:xt,useExisting:it(()=>si),multi:!0},W=class{source;options;constructor(o,t){this.source=o,this.options=t}},si=(()=>{class i extends I{_element=n(O);_ngZone=n(H);_initialized=!1;_keyManager;_destroyed=new $;_isDestroyed;_onChange=t=>{};_items;selectionChange=new V;color="accent";compareWith=(t,e)=>t===e;get multiple(){return this._multiple}set multiple(t){let e=g(t);e!==this._multiple&&(this._multiple=e,this.selectedOptions=new X(this._multiple,this.selectedOptions.selected))}_multiple=!0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=g(t)}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;selectedOptions=new X(this._multiple);_value;_onTouched=()=>{};_changeDetectorRef=n(q);constructor(){super(),this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(t){let e=t.disabled,a=t.disableRipple,s=t.hideSingleSelectionIndicator;(a&&!a.firstChange||e&&!e.firstChange||s&&!s.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){let t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new W(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}get disabled(){return this._selectionListDisabled}set disabled(t){this._selectionListDisabled=g(t),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}_selectionListDisabled=!1;registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_watchForSelectionChange(){this.selectedOptions.changed.pipe(j(this._destroyed)).subscribe(t=>{for(let e of t.added)e.selected=!0;for(let e of t.removed)e.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(t){this.options.forEach(e=>e._setSelected(!1)),t.forEach(e=>{let a=this.options.find(s=>s.selected?!1:this.compareWith(s.value,e));a&&a._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_setAllOptionsSelected(t,e){let a=[];return this.options.forEach(s=>{(!e||!s.disabled)&&s._setSelected(t)&&a.push(s)}),a.length&&this._reportValueChange(),a}get options(){return this._items}_handleKeydown(t){let e=this._keyManager.activeItem;if((t.keyCode===13||t.keyCode===32)&&!this._keyManager.isTyping()&&e&&!e.disabled)t.preventDefault(),e._toggleOnInteraction();else if(t.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&dt(t,"ctrlKey")){let a=this.options.some(s=>!s.disabled&&!s.selected);t.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(a,!0))}else this._keyManager.onKeydown(t)}_handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})};_handleFocusin=t=>{if(this.disabled)return;let e=this._items.toArray().findIndex(a=>a._elementRef.nativeElement.contains(t.target));e>-1?this._setActiveOption(e):this._resetActiveOption()};_setupRovingTabindex(){this._keyManager=new _t(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(t=>this._setActiveOption(t)),this._items.changes.pipe(j(this._destroyed)).subscribe(()=>{let t=this._keyManager.activeItem;(!t||this._items.toArray().indexOf(t)===-1)&&this._resetActiveOption()})}_setActiveOption(t){this._items.forEach((e,a)=>e._setTabindex(a===t?0:-1)),this._keyManager.updateActiveItem(t)}_resetActiveOption(){if(this.disabled){this._setActiveOption(-1);return}let t=this._items.find(e=>e.selected&&!e.disabled)||this._items.first;this._setActiveOption(t?this._items.toArray().indexOf(t):-1)}_containsFocus(){let t=rt();return t&&this._element.nativeElement.contains(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=L({type:i,selectors:[["mat-selection-list"]],contentQueries:function(e,a,s){if(e&1&&v(s,ei,5),e&2){let c;m(c=d())&&(a._items=c)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,a){e&1&&D("keydown",function(c){return a._handleKeydown(c)}),e&2&&C("aria-multiselectable",a.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[T([ai,{provide:I,useExisting:i},{provide:It,useExisting:i}]),x,et],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),Ei=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[pt,S,ft,vt,kt]})}return i})();export{Lt as a,Ct as b,Jt as c,$t as d,ti as e,zi as f,Di as g,ei as h,Ti as i,Si as j,si as k,Ei as l}; +import{b as xt}from"./chunk-E5QACR6S.js";import{B as G,C as pt,L as _t,_ as S,ea as gt,ga as bt,h as lt,ha as ut,ja as ft,la as vt,p as rt,s as mt,u as dt,v as g,w as ht,za as X}from"./chunk-CG5OOKZO.js";import{$ as j,D as tt,Ea as V,Fa as H,Fc as T,Ja as O,Kb as x,Nb as b,Nc as B,Pa as nt,Sb as C,Sc as q,Tb as u,Vb as k,Yb as z,bc as r,cc as _,da as it,dc as w,e as J,fa as E,ha as F,hc as U,ie as ot,j as $,ka as n,kc as D,lb as h,mc as f,nc as A,oc as l,pc as v,qc as P,rc as m,sa as et,sc as d,ta as Q,ua as N,ub as L,va as at,vb as R,wa as st,wb as p,wc as M,xa as y,za as ct}from"./chunk-5L47ZUSK.js";var kt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[S,S]})}return i})();var Z=["*"],Y='.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color, transparent);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size, 24px);height:var(--mdc-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size, 40px);height:var(--mdc-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size, 24px);height:var(--mdc-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}',wt=["unscopedContent"],Tt=["text"],St=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Et=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Ft=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Rt=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function Pt(i,o){i&1&&l(0,4)}function Bt(i,o){if(i&1&&(r(0,"div",11),w(1,"input",12),r(2,"div",13),at(),r(3,"svg",14),w(4,"path",15),_(),st(),w(5,"div",16),_()()),i&2){let t=f();k("mdc-checkbox--disabled",t.disabled),h(),u("checked",t.selected)("disabled",t.disabled)}}function jt(i,o){if(i&1&&(r(0,"div",17),w(1,"input",18),r(2,"div",19),w(3,"div",20)(4,"div",21),_()()),i&2){let t=f();k("mdc-radio--disabled",t.disabled),h(),u("checked",t.selected)("disabled",t.disabled)}}function Qt(i,o){}function Nt(i,o){if(i&1&&(r(0,"span",4),b(1,Qt,0,0,"ng-template",6),_()),i&2){f();let t=M(3);h(),u("ngTemplateOutlet",t)}}function Vt(i,o){}function Ht(i,o){if(i&1&&(r(0,"span",5),b(1,Vt,0,0,"ng-template",6),_()),i&2){f();let t=M(5);h(),u("ngTemplateOutlet",t)}}function Ut(i,o){}function qt(i,o){if(i&1&&b(0,Ut,0,0,"ng-template",6),i&2){f();let t=M(1);u("ngTemplateOutlet",t)}}function Gt(i,o){}function Xt(i,o){if(i&1&&(r(0,"span",9),b(1,Gt,0,0,"ng-template",6),_()),i&2){f();let t=M(3);h(),u("ngTemplateOutlet",t)}}function Kt(i,o){}function Wt(i,o){if(i&1&&(r(0,"span",9),b(1,Kt,0,0,"ng-template",6),_()),i&2){f();let t=M(5);h(),u("ngTemplateOutlet",t)}}function Zt(i,o){}function Yt(i,o){if(i&1&&b(0,Zt,0,0,"ng-template",6),i&2){f();let t=M(1);u("ngTemplateOutlet",t)}}var yt=new F("ListOption"),Lt=(()=>{class i{_elementRef=n(O);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return i})(),Ct=(()=>{class i{_elementRef=n(O);constructor(){}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return i})(),Jt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return i})(),Mt=(()=>{class i{_listOption=n(yt,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,hostVars:4,hostBindings:function(e,a){e&2&&k("mdc-list-item__start",a._isAlignedAtStart())("mdc-list-item__end",!a._isAlignedAtStart())}})}return i})(),$t=(()=>{class i extends Mt{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275dir=p({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[x]})}return i})(),ti=(()=>{class i extends Mt{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275dir=p({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[x]})}return i})(),ii=new F("MAT_LIST_CONFIG"),I=(()=>{class i{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=g(t)}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=g(t)}_disabled=!1;_defaultOptions=n(ii,{optional:!0});static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,hostVars:1,hostBindings:function(e,a){e&2&&C("aria-disabled",a.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return i})(),K=(()=>{class i{_elementRef=n(O);_ngZone=n(H);_listBase=n(I,{optional:!0});_platform=n(lt);_hostElement;_isButtonElement;_noopAnimations;_avatars;_icons;set lines(t){this._explicitLines=ht(t,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=g(t)}_disableRipple=!1;get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=g(t)}_disabled=!1;_subscriptions=new J;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){n(mt).load(gt);let t=n(ut,{optional:!0}),e=n(nt,{optional:!0});this.rippleConfig=t||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=e==="NoopAnimations",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new bt(this,this._ngZone,this._hostElement,this._platform,n(ct)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(tt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let e=this._explicitLines??this._inferLinesFromContent(),a=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",e===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",e===3),this._hasUnscopedTextContent){let s=this._titles.length===0&&e===1;a.classList.toggle("mdc-list-item__primary-text",s),a.classList.toggle("mdc-list-item__secondary-text",!s)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,contentQueries:function(e,a,s){if(e&1&&(v(s,$t,4),v(s,ti,4)),e&2){let c;m(c=d())&&(a._avatars=c),m(c=d())&&(a._icons=c)}},hostVars:4,hostBindings:function(e,a){e&2&&(C("aria-disabled",a.disabled)("disabled",a._isButtonElement&&a.disabled||null),k("mdc-list-item--disabled",a.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return i})();var zi=(()=>{class i extends I{static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[T([{provide:I,useExisting:i}]),x],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),Di=(()=>{class i extends K{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(t){this._activated=g(t)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,a,s){if(e&1&&(v(s,Ct,5),v(s,Lt,5),v(s,Jt,5)),e&2){let c;m(c=d())&&(a._lines=c),m(c=d())&&(a._titles=c),m(c=d())&&(a._meta=c)}},viewQuery:function(e,a){if(e&1&&(P(wt,5),P(Tt,5)),e&2){let s;m(s=d())&&(a._unscopedContent=s.first),m(s=d())&&(a._itemText=s.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(e,a){e&2&&(C("aria-current",a._getAriaCurrent()),k("mdc-list-item--activated",a.activated)("mdc-list-item--with-leading-avatar",a._avatars.length!==0)("mdc-list-item--with-leading-icon",a._icons.length!==0)("mdc-list-item--with-trailing-meta",a._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",a._hasBothLeadingAndTrailing())("_mat-animation-noopable",a._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[x],ngContentSelectors:Et,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(e,a){if(e&1){let s=U();A(St),l(0),r(1,"span",1),l(2,1),l(3,2),r(4,"span",2,0),D("cdkObserveContent",function(){return Q(s),N(a._updateItemLines(!0))}),l(6,3),_()(),l(7,4),l(8,5),w(9,"div",3)}},dependencies:[G],encapsulation:2,changeDetection:0})}return i})(),It=new F("SelectionList"),ei=(()=>{class i extends K{_selectionList=n(It);_changeDetectorRef=n(q);_lines;_titles;_unscopedContent;selectedChange=new V;togglePosition="after";get checkboxPosition(){return this.togglePosition}set checkboxPosition(t){this.togglePosition=t}get color(){return this._color||this._selectionList.color}set color(t){this._color=t}_color;get value(){return this._value}set value(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}_value;get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(t){let e=g(t);e!==this._selected&&(this._setSelected(e),(e||this._selectionList.multiple)&&this._selectionList._reportValueChange())}_selected=!1;_inputsInitialized=!1;ngOnInit(){let t=this._selectionList;t._value&&t._value.some(a=>t.compareWith(this._value,a))&&this._setSelected(!0);let e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(t){return this._selectionList.multiple&&this._getTogglePosition()===t}_hasRadioAt(t){return!this._selectionList.multiple&&this._getTogglePosition()===t&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(t){return this._hasProjected("icons",t)||this._hasProjected("avatars",t)}_hasProjected(t,e){return this._getTogglePosition()!==e&&(t==="avatars"?this._avatars.length!==0:this._icons.length!==0)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(t){return t===this._selected?!1:(this._selected=t,t?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(t){this._hostElement.setAttribute("tabindex",t+"")}_hasBothLeadingAndTrailing(){let t=this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"),e=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return t&&e}static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-list-option"]],contentQueries:function(e,a,s){if(e&1&&(v(s,Ct,5),v(s,Lt,5)),e&2){let c;m(c=d())&&(a._lines=c),m(c=d())&&(a._titles=c)}},viewQuery:function(e,a){if(e&1&&P(wt,5),e&2){let s;m(s=d())&&(a._unscopedContent=s.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(e,a){e&1&&D("blur",function(){return a._handleBlur()})("click",function(){return a._toggleOnInteraction()}),e&2&&(C("aria-selected",a.selected),k("mdc-list-item--selected",a.selected&&!a._selectionList.multiple&&a._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",a._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",a._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",a._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",a._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",a._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",a._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",a._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",a._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",a._hasBothLeadingAndTrailing())("mat-accent",a.color!=="primary"&&a.color!=="warn")("mat-warn",a.color==="warn")("_mat-animation-noopable",a._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[T([{provide:K,useExisting:i},{provide:yt,useExisting:i}]),x],ngContentSelectors:Rt,decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"]],template:function(e,a){if(e&1){let s=U();A(Ft),b(0,Pt,1,0,"ng-template",null,0,B)(2,Bt,6,4,"ng-template",null,1,B)(4,jt,5,4,"ng-template",null,2,B)(6,Nt,2,1,"span",4)(7,Ht,2,1,"span",5)(8,qt,1,1,null,6),r(9,"span",7),l(10),l(11,1),r(12,"span",8,3),D("cdkObserveContent",function(){return Q(s),N(a._updateItemLines(!0))}),l(14,2),_()(),b(15,Xt,2,1,"span",9)(16,Wt,2,1,"span",9)(17,Yt,1,1,null,6),l(18,3),w(19,"div",10)}e&2&&(h(6),z(a._hasCheckboxAt("before")?6:a._hasRadioAt("before")?7:-1),h(2),z(a._hasIconsOrAvatarsAt("before")?8:-1),h(7),z(a._hasCheckboxAt("after")?15:a._hasRadioAt("after")?16:-1),h(2),z(a._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[ot,G],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}@media(forced-colors: active){.mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}}'],encapsulation:2,changeDetection:0})}return i})(),Ti=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=p({type:i,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]})}return i})();var Si=(()=>{class i extends I{_isNonInteractive=!1;static \u0275fac=(()=>{let t;return function(a){return(t||(t=y(i)))(a||i)}})();static \u0275cmp=L({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[T([{provide:I,useExisting:i}]),x],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),ai={provide:xt,useExisting:it(()=>si),multi:!0},W=class{source;options;constructor(o,t){this.source=o,this.options=t}},si=(()=>{class i extends I{_element=n(O);_ngZone=n(H);_initialized=!1;_keyManager;_destroyed=new $;_isDestroyed;_onChange=t=>{};_items;selectionChange=new V;color="accent";compareWith=(t,e)=>t===e;get multiple(){return this._multiple}set multiple(t){let e=g(t);e!==this._multiple&&(this._multiple=e,this.selectedOptions=new X(this._multiple,this.selectedOptions.selected))}_multiple=!0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=g(t)}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;selectedOptions=new X(this._multiple);_value;_onTouched=()=>{};_changeDetectorRef=n(q);constructor(){super(),this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(t){let e=t.disabled,a=t.disableRipple,s=t.hideSingleSelectionIndicator;(a&&!a.firstChange||e&&!e.firstChange||s&&!s.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){let t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new W(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}get disabled(){return this._selectionListDisabled}set disabled(t){this._selectionListDisabled=g(t),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}_selectionListDisabled=!1;registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_watchForSelectionChange(){this.selectedOptions.changed.pipe(j(this._destroyed)).subscribe(t=>{for(let e of t.added)e.selected=!0;for(let e of t.removed)e.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(t){this.options.forEach(e=>e._setSelected(!1)),t.forEach(e=>{let a=this.options.find(s=>s.selected?!1:this.compareWith(s.value,e));a&&a._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_setAllOptionsSelected(t,e){let a=[];return this.options.forEach(s=>{(!e||!s.disabled)&&s._setSelected(t)&&a.push(s)}),a.length&&this._reportValueChange(),a}get options(){return this._items}_handleKeydown(t){let e=this._keyManager.activeItem;if((t.keyCode===13||t.keyCode===32)&&!this._keyManager.isTyping()&&e&&!e.disabled)t.preventDefault(),e._toggleOnInteraction();else if(t.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&dt(t,"ctrlKey")){let a=this.options.some(s=>!s.disabled&&!s.selected);t.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(a,!0))}else this._keyManager.onKeydown(t)}_handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})};_handleFocusin=t=>{if(this.disabled)return;let e=this._items.toArray().findIndex(a=>a._elementRef.nativeElement.contains(t.target));e>-1?this._setActiveOption(e):this._resetActiveOption()};_setupRovingTabindex(){this._keyManager=new _t(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(t=>this._setActiveOption(t)),this._items.changes.pipe(j(this._destroyed)).subscribe(()=>{let t=this._keyManager.activeItem;(!t||this._items.toArray().indexOf(t)===-1)&&this._resetActiveOption()})}_setActiveOption(t){this._items.forEach((e,a)=>e._setTabindex(a===t?0:-1)),this._keyManager.updateActiveItem(t)}_resetActiveOption(){if(this.disabled){this._setActiveOption(-1);return}let t=this._items.find(e=>e.selected&&!e.disabled)||this._items.first;this._setActiveOption(t?this._items.toArray().indexOf(t):-1)}_containsFocus(){let t=rt();return t&&this._element.nativeElement.contains(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=L({type:i,selectors:[["mat-selection-list"]],contentQueries:function(e,a,s){if(e&1&&v(s,ei,5),e&2){let c;m(c=d())&&(a._items=c)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,a){e&1&&D("keydown",function(c){return a._handleKeydown(c)}),e&2&&C("aria-multiselectable",a.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[T([ai,{provide:I,useExisting:i},{provide:It,useExisting:i}]),x,et],ngContentSelectors:Z,decls:1,vars:0,template:function(e,a){e&1&&(A(),l(0))},styles:[Y],encapsulation:2,changeDetection:0})}return i})(),Ei=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[pt,S,ft,vt,kt]})}return i})();export{Lt as a,Ct as b,Jt as c,$t as d,ti as e,zi as f,Di as g,ei as h,Ti as i,Si as j,si as k,Ei as l}; diff --git a/chunk-VOJVPEIN.js b/chunk-VOJVPEIN.js new file mode 100644 index 00000000..a7d8e77b --- /dev/null +++ b/chunk-VOJVPEIN.js @@ -0,0 +1 @@ +import{a}from"./chunk-YARZXNSP.js";import"./chunk-UANEMOTZ.js";import"./chunk-BJ2ND26O.js";import"./chunk-E5QACR6S.js";import"./chunk-CG5OOKZO.js";import"./chunk-5L47ZUSK.js";export{a as AlbumCardComponent}; diff --git a/chunk-WD4JQH2Z.js b/chunk-VTXFVMCI.js similarity index 87% rename from chunk-WD4JQH2Z.js rename to chunk-VTXFVMCI.js index d5dc0804..1d75634f 100644 --- a/chunk-WD4JQH2Z.js +++ b/chunk-VTXFVMCI.js @@ -1,2 +1,2 @@ -import{a as w,b as d}from"./chunk-VAO4SSMZ.js";import{Ia as i,Jc as e,Kc as n,Tb as p,dc as m,fb as a,ub as r}from"./chunk-TEKHUYWQ.js";var f=(()=>{class o{content=i.required();static \u0275fac=function(t){return new(t||o)};static \u0275cmp=r({type:o,selectors:[["devmx-markdown-view"]],inputs:{content:[1,"content"]},decls:3,vars:5,consts:[[1,"markdown-view",3,"innerHTML"]],template:function(t,h){t&1&&(m(0,"div",0),e(1,"markdown"),e(2,"html")),t&2&&p("innerHTML",n(2,3,n(1,1,h.content())),a)},dependencies:[d,w],styles:[`:host{padding:1em;display:flex;flex-direction:column}.markdown-view{gap:0}.markdown-view ul{margin:0}.markdown-view ul li{margin:0;padding:0}.markdown-view p{margin-bottom:24px!important;line-height:24px;padding:0;white-space:pre-wrap}:root .mat-typography .markdown-view>h1,:root .mat-typography .markdown-view>h2,:root .mat-typography .markdown-view>h3,:root .mat-typography .markdown-view>h4,:root .mat-typography .markdown-view>h5,:root .mat-typography .markdown-view>h6{font-weight:600;margin:1em 0 0}:root .mat-typography .markdown-view>h1{font-size:1.7em}:root .mat-typography .markdown-view>h2{font-size:1.6em}:root .mat-typography .markdown-view>h3{font-size:1.5em}:root .mat-typography .markdown-view>h4{font-size:1.4em}:root .mat-typography .markdown-view>h5{font-size:1.3em}:root .mat-typography .markdown-view>h6{font-size:1.2em}:root .mat-typography .markdown-view p{padding:1em 0 0}:root .mat-typography .markdown-view ul+p{margin-top:1em} +import{a as w,b as d}from"./chunk-RVBVVCKL.js";import{Ia as i,Jc as e,Kc as n,Tb as p,dc as m,fb as a,ub as r}from"./chunk-5L47ZUSK.js";var f=(()=>{class o{content=i.required();static \u0275fac=function(t){return new(t||o)};static \u0275cmp=r({type:o,selectors:[["devmx-markdown-view"]],inputs:{content:[1,"content"]},decls:3,vars:5,consts:[[1,"markdown-view",3,"innerHTML"]],template:function(t,h){t&1&&(m(0,"div",0),e(1,"markdown"),e(2,"html")),t&2&&p("innerHTML",n(2,3,n(1,1,h.content())),a)},dependencies:[d,w],styles:[`:host{padding:1em;display:flex;flex-direction:column}.markdown-view{gap:0}.markdown-view ul{margin:0}.markdown-view ul li{margin:0;padding:0}.markdown-view p{margin-bottom:24px!important;line-height:24px;padding:0;white-space:pre-wrap}:root .mat-typography .markdown-view>h1,:root .mat-typography .markdown-view>h2,:root .mat-typography .markdown-view>h3,:root .mat-typography .markdown-view>h4,:root .mat-typography .markdown-view>h5,:root .mat-typography .markdown-view>h6{font-weight:600;margin:1em 0 0}:root .mat-typography .markdown-view>h1{font-size:1.7em}:root .mat-typography .markdown-view>h2{font-size:1.6em}:root .mat-typography .markdown-view>h3{font-size:1.5em}:root .mat-typography .markdown-view>h4{font-size:1.4em}:root .mat-typography .markdown-view>h5{font-size:1.3em}:root .mat-typography .markdown-view>h6{font-size:1.2em}:root .mat-typography .markdown-view p{padding:1em 0 0}:root .mat-typography .markdown-view ul+p{margin-top:1em} `],encapsulation:2,changeDetection:0})}return o})();export{f as a}; diff --git a/chunk-VVQ6JEVH.js b/chunk-VVQ6JEVH.js deleted file mode 100644 index 21ea71ad..00000000 --- a/chunk-VVQ6JEVH.js +++ /dev/null @@ -1 +0,0 @@ -import{f as Z,g as U,j as A}from"./chunk-AND6K73U.js";import{e as G,g as K,k as $,p as Y}from"./chunk-EDIJ2EBQ.js";import{T as j,Y as M,Z as q,ba as W,f as h,h as x,i as z,q as E,t as y,u as k,x as w}from"./chunk-W5KNOAKV.js";import{$ as F,A as C,Fa as d,Fc as P,G as T,Ja as m,Mb as p,Sb as B,Vb as D,Vc as v,Zc as V,ea as S,ed as O,fa as c,ha as b,ic as N,j as l,ka as r,kc as g,n as I,sa as R,ub as L,vb as _,wb as f,zb as H}from"./chunk-TEKHUYWQ.js";var J=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=L({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return s})(),X=z({passive:!0}),Q=(()=>{class s{_platform=r(h);_ngZone=r(d);_styleLoader=r(E);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return I;this._styleLoader.load(J);let t=w(e),i=this._monitoredElements.get(t);if(i)return i.subject;let n=new l,a="cdk-text-field-autofilled",o=u=>{u.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>n.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>n.next({target:u.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",o,X),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",o,X)}}),n}stopMonitoring(e){let t=w(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||s)};static \u0275prov=S({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var xe=(()=>{class s{_elementRef=r(m);_platform=r(h);_ngZone=r(d);_previousValue;_initialHeight;_destroyed=new l;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(e){this._minRows=k(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=k(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=r(O,{optional:!0});_hasFocus;_isViewInited=!1;constructor(){r(E).load(J),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();C(e,"resize").pipe(T(16),F(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,t=e.style.marginBottom||"",i=this._platform.FIREFOX,n=i&&this._hasFocus,a=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";n&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(a);let o=e.scrollHeight-4;return e.classList.remove(a),n&&(e.style.marginBottom=t),o}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let t=this._elementRef.nativeElement,i=t.value;if(!e&&this._minRows===this._previousMinRows&&i===this._previousValue)return;let n=this._measureScrollHeight(),a=Math.max(n,this._cachedPlaceholderHeight||0);t.style.height=`${a}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){let{selectionStart:t,selectionEnd:i}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,i)}static \u0275fac=function(t){return new(t||s)};static \u0275dir=f({type:s,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,i){t&1&&g("input",function(){return i._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",v],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],features:[p]})}return s})(),ee=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=_({type:s});static \u0275inj=c({})}return s})();var ie=new b("MAT_INPUT_VALUE_ACCESSOR"),se=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ne=new b("MAT_INPUT_CONFIG"),Be=(()=>{class s{_elementRef=r(m);_platform=r(h);ngControl=r(K,{optional:!0,self:!0});_autofillMonitor=r(Q);_ngZone=r(d);_formField=r(U,{optional:!0});_uid=r(j).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=r(ne,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new l;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=y(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=y(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&x().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=y(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>x().has(e));constructor(){let e=r($,{optional:!0}),t=r(Y,{optional:!0}),i=r(W),n=r(ie,{optional:!0,self:!0}),a=this._elementRef.nativeElement,o=a.nodeName.toLowerCase();n?H(n.value)?this._signalBasedValueAccessor=n:this._inputValueAccessor=n:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{a.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new q(i,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=o==="select",this._isTextarea=o==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&V(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){se.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,i=t.getAttribute("aria-describedby"),n;if(i){let a=this._formFieldDescribedBy||e;n=e.concat(i.split(" ").filter(o=>o&&!a.includes(o)))}else n=e;this._formFieldDescribedBy=e,n.length?t.setAttribute("aria-describedby",n.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||s)};static \u0275dir=f({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&g("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),t&2&&(N("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),B("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),D("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",v]},exportAs:["matInput"],features:[P([{provide:Z,useExisting:s}]),p,R]})}return s})(),De=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=_({type:s});static \u0275inj=c({imports:[M,A,A,ee,M]})}return s})();export{xe as a,ee as b,ie as c,Be as d,De as e}; diff --git a/chunk-IIJ56NAR.js b/chunk-WDHK3HYB.js similarity index 88% rename from chunk-IIJ56NAR.js rename to chunk-WDHK3HYB.js index 3ccae065..fbf585a8 100644 --- a/chunk-IIJ56NAR.js +++ b/chunk-WDHK3HYB.js @@ -1 +1 @@ -import{a as L}from"./chunk-WK53HQNR.js";import{a as I,e as y,f as O,g as P,l as S}from"./chunk-PAP2P7QR.js";import{a as h,b as T,e as J,f as _,i as E}from"./chunk-EC6LD5KM.js";import{a as M}from"./chunk-EDIJ2EBQ.js";import{Ia as f,Jc as d,Kc as s,Nb as u,Yb as b,bc as t,cc as a,dc as p,lb as o,mc as x,nc as C,oc as v,ub as g,xb as l,xc as r,yc as c,zc as j}from"./chunk-TEKHUYWQ.js";var D=(()=>{class e{transform(i){switch(i){case"internship":return"Estagi\xE1rio";case"junior":return"Junior";case"mid":return"Pleno";case"senior":return"Senior"}}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=l({name:"jobLevel",type:e,pure:!0})}return e})();var F=(()=>{class e{transform(i){switch(i){case"contract":return"Contrato";case"freelance":return"Freelance";case"part-time":return"Meio per\xEDodo";case"full-time":return"Tempo integral"}}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=l({name:"jobType",type:e,pure:!0})}return e})();var B=["*"];function k(e,q){if(e&1&&(t(0,"mat-list-item"),p(1,"devmx-icon",8),t(2,"span",3),r(3),a()()),e&2){let i=x();o(3),c(i.jobOpening.company)}}var X=(()=>{class e{data=f.required();discrete=f(!1);get jobOpening(){return this.data()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=g({type:e,selectors:[["devmx-job-opening-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:B,decls:27,vars:12,consts:[[1,"job-opening-card"],[1,"job-opening-list"],["matListItemIcon","","name","transport/location-pin-alt"],["matListItemTitle",""],["matListItemIcon","","name","doc/check"],["matListItemIcon","","name","doc/shield"],["matListItemIcon","","name","time-loading"],["align","end",1,"job-opening-card-actions"],["matListItemIcon","","name","building/building"]],template:function(n,m){n&1&&(C(),t(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),r(3),a()(),t(4,"mat-list",1),u(5,k,4,1,"mat-list-item"),t(6,"mat-list-item"),p(7,"devmx-icon",2),t(8,"div",3),r(9),d(10,"jobMode"),a()(),t(11,"mat-list-item"),p(12,"devmx-icon",4),t(13,"div",3),r(14),a()(),t(15,"mat-list-item"),p(16,"devmx-icon",5),t(17,"div",3),r(18),d(19,"jobLevel"),a()(),t(20,"mat-list-item"),p(21,"devmx-icon",6),t(22,"div",3),r(23),d(24,"jobType"),a()()(),t(25,"mat-card-actions",7),v(26),a()()),n&2&&(o(3),c(m.jobOpening.title),o(2),b(m.jobOpening.company?5:-1),o(4),c(s(10,6,m.jobOpening.mode)),o(5),j("Contrato ",m.jobOpening.contract,""),o(4),c(s(19,8,m.jobOpening.experience)),o(5),c(s(24,10,m.jobOpening.type)))},dependencies:[E,h,J,_,T,S,O,P,y,I,M,L,F,D],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] .job-opening-list[_ngcontent-%COMP%]{flex:1}"],changeDetection:0})}return e})();export{D as a,F as b,X as c}; +import{a as L}from"./chunk-B7ATSCPT.js";import{a as I,e as y,f as O,g as P,l as S}from"./chunk-UANEMOTZ.js";import{a as h,b as T,e as J,f as _,i as E}from"./chunk-BJ2ND26O.js";import{a as M}from"./chunk-E5QACR6S.js";import{Ia as f,Jc as d,Kc as s,Nb as u,Yb as b,bc as t,cc as a,dc as p,lb as o,mc as x,nc as C,oc as v,ub as g,xb as l,xc as r,yc as c,zc as j}from"./chunk-5L47ZUSK.js";var D=(()=>{class e{transform(i){switch(i){case"internship":return"Estagi\xE1rio";case"junior":return"Junior";case"mid":return"Pleno";case"senior":return"Senior"}}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=l({name:"jobLevel",type:e,pure:!0})}return e})();var F=(()=>{class e{transform(i){switch(i){case"contract":return"Contrato";case"freelance":return"Freelance";case"part-time":return"Meio per\xEDodo";case"full-time":return"Tempo integral"}}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=l({name:"jobType",type:e,pure:!0})}return e})();var B=["*"];function k(e,q){if(e&1&&(t(0,"mat-list-item"),p(1,"devmx-icon",8),t(2,"span",3),r(3),a()()),e&2){let i=x();o(3),c(i.jobOpening.company)}}var X=(()=>{class e{data=f.required();discrete=f(!1);get jobOpening(){return this.data()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=g({type:e,selectors:[["devmx-job-opening-card"]],inputs:{data:[1,"data"],discrete:[1,"discrete"]},ngContentSelectors:B,decls:27,vars:12,consts:[[1,"job-opening-card"],[1,"job-opening-list"],["matListItemIcon","","name","transport/location-pin-alt"],["matListItemTitle",""],["matListItemIcon","","name","doc/check"],["matListItemIcon","","name","doc/shield"],["matListItemIcon","","name","time-loading"],["align","end",1,"job-opening-card-actions"],["matListItemIcon","","name","building/building"]],template:function(n,m){n&1&&(C(),t(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),r(3),a()(),t(4,"mat-list",1),u(5,k,4,1,"mat-list-item"),t(6,"mat-list-item"),p(7,"devmx-icon",2),t(8,"div",3),r(9),d(10,"jobMode"),a()(),t(11,"mat-list-item"),p(12,"devmx-icon",4),t(13,"div",3),r(14),a()(),t(15,"mat-list-item"),p(16,"devmx-icon",5),t(17,"div",3),r(18),d(19,"jobLevel"),a()(),t(20,"mat-list-item"),p(21,"devmx-icon",6),t(22,"div",3),r(23),d(24,"jobType"),a()()(),t(25,"mat-card-actions",7),v(26),a()()),n&2&&(o(3),c(m.jobOpening.title),o(2),b(m.jobOpening.company?5:-1),o(4),c(s(10,6,m.jobOpening.mode)),o(5),j("Contrato ",m.jobOpening.contract,""),o(4),c(s(19,8,m.jobOpening.experience)),o(5),c(s(24,10,m.jobOpening.type)))},dependencies:[E,h,J,_,T,S,O,P,y,I,M,L,F,D],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}[_nghost-%COMP%] .job-opening-card[_ngcontent-%COMP%] .job-opening-list[_ngcontent-%COMP%]{flex:1}"],changeDetection:0})}return e})();export{D as a,F as b,X as c}; diff --git a/chunk-J6QMVZUK.js b/chunk-WV46BQJH.js similarity index 99% rename from chunk-J6QMVZUK.js rename to chunk-WV46BQJH.js index bedbf092..4077dc04 100644 --- a/chunk-J6QMVZUK.js +++ b/chunk-WV46BQJH.js @@ -1 +1 @@ -import{a as E,b as B,f as mt,g as Ne,m as x,n as Me,o as ue}from"./chunk-I7VYXJU2.js";import{a as le,c as ft,ca as S,ea as dt}from"./chunk-TEKHUYWQ.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(3505,!1)}var bs=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;ra.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},i):null}var $e=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ws,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new We(n.style,r,s))}),At(this.states,"true","1"),At(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);n.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Ot(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ne="void",Oe=new re(ne),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return de(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>xe(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;tn.add(r)):e.set(i,s),t.delete(i),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);u.length&&void 0,o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Le(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var we=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],n=[],r=rt(e,t,s,n);if(s.length)throw cs(s);n.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Je=class extends be{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Rt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{_t as AnimationDriver,It as NoopAnimationDriver,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty}; +import{a as E,b as B,f as mt,g as Ne,m as x,n as Me,o as ue}from"./chunk-I7VYXJU2.js";import{a as le,c as ft,ca as S,ea as dt}from"./chunk-5L47ZUSK.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(3505,!1)}var bs=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;ra.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},i):null}var $e=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ws,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new We(n.style,r,s))}),At(this.states,"true","1"),At(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);n.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Ot(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ne="void",Oe=new re(ne),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return de(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>xe(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;tn.add(r)):e.set(i,s),t.delete(i),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);u.length&&void 0,o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Le(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var we=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],n=[],r=rt(e,t,s,n);if(s.length)throw cs(s);n.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Je=class extends be{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Rt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{_t as AnimationDriver,It as NoopAnimationDriver,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty}; diff --git a/chunk-6P3MPDKA.js b/chunk-XCFSI5KM.js similarity index 97% rename from chunk-6P3MPDKA.js rename to chunk-XCFSI5KM.js index 6f6fa249..79e822e6 100644 --- a/chunk-6P3MPDKA.js +++ b/chunk-XCFSI5KM.js @@ -1 +1 @@ -import{a as r}from"./chunk-XIUDFJWJ.js";import{A as C,a as u,b as c,c as p,d as a,u as d}from"./chunk-XYJHVZQT.js";import{F as J}from"./chunk-TEKHUYWQ.js";var o=class extends u{};var s=class extends u{};var i=class extends u{};var m=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.create(e)}};function K(){return r(m,[o])}var v=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.create(e)}};function M(){return r(v,[s])}var f=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.create(e)}};function N(){return r(f,[i])}var x=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.delete(e)}};function Q(){return r(x,[o])}var U=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.delete(e)}};function T(){return r(U,[s])}var S=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.delete(e)}};function V(){return r(S,[i])}var l=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.findOne(e)}};function X(){return r(l,[o])}var h=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.find(e)}};function Y(){return r(h,[o])}var I=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.findOne(e)}};function Z(){return r(I,[s])}var b=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.find(e)}};function _(){return r(b,[s])}var j=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.findOne(e)}};function ee(){return r(j,[i])}var F=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.find(e)}};function te(){return r(F,[i])}var y=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.update(e.id,e)}};function re(){return r(y,[o])}var D=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.update(e.id,e)}};function oe(){return r(D,[s])}var B=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.update(e.id,e)}};function se(){return r(B,[i])}var E=class extends d{};function g(){return{provide:o,useFactory(t,e){return new E(t,e,"courses")},deps:[p,c]}}var L=class extends d{};function w(){return{provide:s,useFactory(t,e){return new L(t,e,"institutions")},deps:[p,c]}}var z=class extends d{};function R(){return{provide:i,useFactory(t,e){return new z(t,e,"subjects")},deps:[p,c]}}var W=class extends C{createCourseUseCase;findCoursesUseCase;findCourseByIdUseCase;updateCourseUseCase;deleteCourseUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createCourseUseCase=e,this.findCoursesUseCase=n,this.findCourseByIdUseCase=P,this.updateCourseUseCase=H,this.deleteCourseUseCase=O}load(){this.onLoad(this.findCoursesUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findCourseByIdUseCase.execute(e))}create(e){this.onCreate(this.createCourseUseCase.execute(e))}update(e){this.onUpdate(this.updateCourseUseCase.execute(e))}delete(e){this.onDelete(this.deleteCourseUseCase.execute(e))}};function $(){return a(W,[m,h,l,y,x])}var A=class extends C{createInstitutionUseCase;findInstitutionsUseCase;findInstitutionByIdUseCase;updateInstitutionUseCase;deleteInstitutionUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createInstitutionUseCase=e,this.findInstitutionsUseCase=n,this.findInstitutionByIdUseCase=P,this.updateInstitutionUseCase=H,this.deleteInstitutionUseCase=O}load(){this.onLoad(this.findInstitutionsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findInstitutionByIdUseCase.execute(e))}create(e){this.onCreate(this.createInstitutionUseCase.execute(e))}update(e){this.onUpdate(this.updateInstitutionUseCase.execute(e))}delete(e){this.onDelete(this.deleteInstitutionUseCase.execute(e))}};function k(){return a(A,[v,b,I,D,U])}var q=class extends C{createSubjectUseCase;findSubjectsUseCase;findSubjectByIdUseCase;updateSubjectUseCase;deleteSubjectUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createSubjectUseCase=e,this.findSubjectsUseCase=n,this.findSubjectByIdUseCase=P,this.updateSubjectUseCase=H,this.deleteSubjectUseCase=O}load(){this.onLoad(this.findSubjectsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findSubjectByIdUseCase.execute(e))}create(e){this.onCreate(this.createSubjectUseCase.execute(e))}update(e){this.onUpdate(this.updateSubjectUseCase.execute(e))}delete(e){this.onDelete(this.deleteSubjectUseCase.execute(e))}};function G(){return a(q,[f,F,j,B,S])}function ie(){return[g(),K(),Y(),X(),re(),Q(),$()]}function ne(){return[w(),M(),_(),Z(),oe(),T(),k()]}function ue(){return[R(),N(),te(),ee(),se(),V(),G()]}function Lr(){return[...ue(),...ne(),...ie()]}var Rr=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(J(n=>!!n)));export{W as a,A as b,q as c,Lr as d,Rr as e}; +import{a as r}from"./chunk-XIUDFJWJ.js";import{A as C,a as u,b as c,c as p,d as a,u as d}from"./chunk-7BKB7KKA.js";import{F as J}from"./chunk-5L47ZUSK.js";var o=class extends u{};var s=class extends u{};var i=class extends u{};var m=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.create(e)}};function K(){return r(m,[o])}var v=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.create(e)}};function M(){return r(v,[s])}var f=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.create(e)}};function N(){return r(f,[i])}var x=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.delete(e)}};function Q(){return r(x,[o])}var U=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.delete(e)}};function T(){return r(U,[s])}var S=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.delete(e)}};function V(){return r(S,[i])}var l=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.findOne(e)}};function X(){return r(l,[o])}var h=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.find(e)}};function Y(){return r(h,[o])}var I=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.findOne(e)}};function Z(){return r(I,[s])}var b=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.find(e)}};function _(){return r(b,[s])}var j=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.findOne(e)}};function ee(){return r(j,[i])}var F=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.find(e)}};function te(){return r(F,[i])}var y=class{courseService;constructor(e){this.courseService=e}execute(e){return this.courseService.update(e.id,e)}};function re(){return r(y,[o])}var D=class{institutionService;constructor(e){this.institutionService=e}execute(e){return this.institutionService.update(e.id,e)}};function oe(){return r(D,[s])}var B=class{subjectService;constructor(e){this.subjectService=e}execute(e){return this.subjectService.update(e.id,e)}};function se(){return r(B,[i])}var E=class extends d{};function g(){return{provide:o,useFactory(t,e){return new E(t,e,"courses")},deps:[p,c]}}var L=class extends d{};function w(){return{provide:s,useFactory(t,e){return new L(t,e,"institutions")},deps:[p,c]}}var z=class extends d{};function R(){return{provide:i,useFactory(t,e){return new z(t,e,"subjects")},deps:[p,c]}}var W=class extends C{createCourseUseCase;findCoursesUseCase;findCourseByIdUseCase;updateCourseUseCase;deleteCourseUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createCourseUseCase=e,this.findCoursesUseCase=n,this.findCourseByIdUseCase=P,this.updateCourseUseCase=H,this.deleteCourseUseCase=O}load(){this.onLoad(this.findCoursesUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findCourseByIdUseCase.execute(e))}create(e){this.onCreate(this.createCourseUseCase.execute(e))}update(e){this.onUpdate(this.updateCourseUseCase.execute(e))}delete(e){this.onDelete(this.deleteCourseUseCase.execute(e))}};function $(){return a(W,[m,h,l,y,x])}var A=class extends C{createInstitutionUseCase;findInstitutionsUseCase;findInstitutionByIdUseCase;updateInstitutionUseCase;deleteInstitutionUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createInstitutionUseCase=e,this.findInstitutionsUseCase=n,this.findInstitutionByIdUseCase=P,this.updateInstitutionUseCase=H,this.deleteInstitutionUseCase=O}load(){this.onLoad(this.findInstitutionsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findInstitutionByIdUseCase.execute(e))}create(e){this.onCreate(this.createInstitutionUseCase.execute(e))}update(e){this.onUpdate(this.updateInstitutionUseCase.execute(e))}delete(e){this.onDelete(this.deleteInstitutionUseCase.execute(e))}};function k(){return a(A,[v,b,I,D,U])}var q=class extends C{createSubjectUseCase;findSubjectsUseCase;findSubjectByIdUseCase;updateSubjectUseCase;deleteSubjectUseCase;constructor(e,n,P,H,O){super({response:{data:[],items:0,pages:0},params:{page:0,size:10,filter:{name:""}},selected:null}),this.createSubjectUseCase=e,this.findSubjectsUseCase=n,this.findSubjectByIdUseCase=P,this.updateSubjectUseCase=H,this.deleteSubjectUseCase=O}load(){this.onLoad(this.findSubjectsUseCase.execute(this.state.params))}loadOne(e){this.onLoadOne(this.findSubjectByIdUseCase.execute(e))}create(e){this.onCreate(this.createSubjectUseCase.execute(e))}update(e){this.onUpdate(this.updateSubjectUseCase.execute(e))}delete(e){this.onDelete(this.deleteSubjectUseCase.execute(e))}};function G(){return a(q,[f,F,j,B,S])}function ie(){return[g(),K(),Y(),X(),re(),Q(),$()]}function ne(){return[w(),M(),_(),Z(),oe(),T(),k()]}function ue(){return[R(),N(),te(),ee(),se(),V(),G()]}function Lr(){return[...ue(),...ne(),...ie()]}var Rr=(t,e)=>(t.loadOne(e.id),t.selected$.pipe(J(n=>!!n)));export{W as a,A as b,q as c,Lr as d,Rr as e}; diff --git a/chunk-BNCLIKTI.js b/chunk-YARZXNSP.js similarity index 90% rename from chunk-BNCLIKTI.js rename to chunk-YARZXNSP.js index c7b12ca0..1e260083 100644 --- a/chunk-BNCLIKTI.js +++ b/chunk-YARZXNSP.js @@ -1 +1 @@ -import{a as I,e as P,f as y,g as O,l as S}from"./chunk-PAP2P7QR.js";import{a as A,b as L,e as D,f as T,g as w,i as E}from"./chunk-EC6LD5KM.js";import{a as h}from"./chunk-EDIJ2EBQ.js";import{Ia as u,Jc as g,Kc as _,Nb as r,Tb as f,Yb as l,bc as e,cc as n,dc as c,gb as x,lb as a,mc as d,nc as M,oc as b,pe as v,ub as C,xc as p,yc as s}from"./chunk-TEKHUYWQ.js";var z=["*"];function q(t,j){if(t&1&&c(0,"img",1),t&2){let i=d();f("src",i.album.cover,x)("alt",i.album.title)}}function B(t,j){if(t&1&&(e(0,"mat-list-item"),c(1,"devmx-icon",3),e(2,"div",4),p(3),g(4,"date"),n()()),t&2){let i=d();a(3),s(_(4,1,i.album.createdAt))}}var V=(()=>{class t{data=u.required();get album(){return this.data()}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-card"]],inputs:{data:[1,"data"]},ngContentSelectors:z,decls:9,vars:3,consts:[[1,"album-card"],["mat-card-image","",3,"src","alt"],["align","end",1,"album-card-actions"],["matListItemIcon","","name","calendar"],["matListItemTitle",""]],template:function(o,m){o&1&&(M(),e(0,"mat-card",0),r(1,q,1,2,"img",1),e(2,"mat-card-header")(3,"mat-card-title"),p(4),n()(),e(5,"mat-list"),r(6,B,5,3,"mat-list-item"),n(),e(7,"mat-card-actions",2),b(8),n()()),o&2&&(a(),l(m.album.cover?1:-1),a(3),s(m.album.title),a(2),l(m.album.createdAt?6:-1))},dependencies:[E,A,D,T,w,L,S,y,O,P,I,h,v],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .album-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .album-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return t})();export{V as a}; +import{a as I,e as P,f as y,g as O,l as S}from"./chunk-UANEMOTZ.js";import{a as A,b as L,e as D,f as T,g as w,i as E}from"./chunk-BJ2ND26O.js";import{a as h}from"./chunk-E5QACR6S.js";import{Ia as u,Jc as g,Kc as _,Nb as r,Tb as f,Yb as l,bc as e,cc as n,dc as c,gb as x,lb as a,mc as d,nc as M,oc as b,pe as v,ub as C,xc as p,yc as s}from"./chunk-5L47ZUSK.js";var z=["*"];function q(t,j){if(t&1&&c(0,"img",1),t&2){let i=d();f("src",i.album.cover,x)("alt",i.album.title)}}function B(t,j){if(t&1&&(e(0,"mat-list-item"),c(1,"devmx-icon",3),e(2,"div",4),p(3),g(4,"date"),n()()),t&2){let i=d();a(3),s(_(4,1,i.album.createdAt))}}var V=(()=>{class t{data=u.required();get album(){return this.data()}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=C({type:t,selectors:[["devmx-album-card"]],inputs:{data:[1,"data"]},ngContentSelectors:z,decls:9,vars:3,consts:[[1,"album-card"],["mat-card-image","",3,"src","alt"],["align","end",1,"album-card-actions"],["matListItemIcon","","name","calendar"],["matListItemTitle",""]],template:function(o,m){o&1&&(M(),e(0,"mat-card",0),r(1,q,1,2,"img",1),e(2,"mat-card-header")(3,"mat-card-title"),p(4),n()(),e(5,"mat-list"),r(6,B,5,3,"mat-list-item"),n(),e(7,"mat-card-actions",2),b(8),n()()),o&2&&(a(),l(m.album.cover?1:-1),a(3),s(m.album.title),a(2),l(m.album.createdAt?6:-1))},dependencies:[E,A,D,T,w,L,S,y,O,P,I,h,v],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}[_nghost-%COMP%] .album-card[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .album-card[_ngcontent-%COMP%]:hover{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}[_nghost-%COMP%] .album-card-actions[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return t})();export{V as a}; diff --git a/chunk-BZ5BKAFD.js b/chunk-YJEP2JMA.js similarity index 81% rename from chunk-BZ5BKAFD.js rename to chunk-YJEP2JMA.js index 065864f9..84072b5c 100644 --- a/chunk-BZ5BKAFD.js +++ b/chunk-YJEP2JMA.js @@ -1 +1 @@ -import{o as a}from"./chunk-XYJHVZQT.js";import{ad as c,ea as n,ed as s,ja as i}from"./chunk-TEKHUYWQ.js";var u=(()=>{class r{_doc;_dom;constructor(e){this._doc=e,this._dom=c()}addScript(e,t=""){if(!e)return null;let o=this.#e(e);return o.append(t),o}removeScriptElement(e){e&&this._dom.remove(e)}#e(e){let t=this._dom.createElement("script");return this.#t(e,t),this._doc.getElementsByTagName("head")[0].appendChild(t),t}#t(e,t){return a(e).forEach(o=>{if(e[o]){let m=typeof e[o]=="boolean"?"":e[o]+"";t.setAttribute(o,m)}}),t}static \u0275fac=function(t){return new(t||r)(i(s))};static \u0275prov=n({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{u as a}; +import{o as a}from"./chunk-7BKB7KKA.js";import{ad as c,ea as n,ed as s,ja as i}from"./chunk-5L47ZUSK.js";var u=(()=>{class r{_doc;_dom;constructor(e){this._doc=e,this._dom=c()}addScript(e,t=""){if(!e)return null;let o=this.#e(e);return o.append(t),o}removeScriptElement(e){e&&this._dom.remove(e)}#e(e){let t=this._dom.createElement("script");return this.#t(e,t),this._doc.getElementsByTagName("head")[0].appendChild(t),t}#t(e,t){return a(e).forEach(o=>{if(e[o]){let m=typeof e[o]=="boolean"?"":e[o]+"";t.setAttribute(o,m)}}),t}static \u0275fac=function(t){return new(t||r)(i(s))};static \u0275prov=n({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{u as a}; diff --git a/chunk-Z3ZVRDLS.js b/chunk-Z3ZVRDLS.js deleted file mode 100644 index d3123768..00000000 --- a/chunk-Z3ZVRDLS.js +++ /dev/null @@ -1 +0,0 @@ -import{a}from"./chunk-BNCLIKTI.js";import"./chunk-PAP2P7QR.js";import"./chunk-EC6LD5KM.js";import"./chunk-EDIJ2EBQ.js";import"./chunk-W5KNOAKV.js";import"./chunk-TEKHUYWQ.js";export{a as AlbumCardComponent}; diff --git a/chunk-Z63MF55O.js b/chunk-Z63MF55O.js new file mode 100644 index 00000000..ed137e36 --- /dev/null +++ b/chunk-Z63MF55O.js @@ -0,0 +1 @@ +import{a as n}from"./chunk-5MUU2WLY.js";import{F as e,ka as a,t as o}from"./chunk-5L47ZUSK.js";var d=(...i)=>()=>{let r=a(n),c=r.auth$.pipe(e(t=>!!t),o(t=>i.some(m=>t.roles[m])));return r.load(),c};export{d as a}; diff --git a/chunk-XWYI7Y6E.js b/chunk-ZYL27KLI.js similarity index 98% rename from chunk-XWYI7Y6E.js rename to chunk-ZYL27KLI.js index f46ddfb1..77c62924 100644 --- a/chunk-XWYI7Y6E.js +++ b/chunk-ZYL27KLI.js @@ -1 +1 @@ -import{a as xi,b as Si}from"./chunk-AFH22WZE.js";import{a as Mi,b as Ii}from"./chunk-4JU575PW.js";import"./chunk-Q2N7RZTH.js";import{a as bi}from"./chunk-WOE5TNBB.js";import"./chunk-VAO4SSMZ.js";import"./chunk-2IAXMR6M.js";import{a as rt}from"./chunk-TPJZ2OYR.js";import"./chunk-XYJHVZQT.js";import{d as me,e as ue}from"./chunk-VVQ6JEVH.js";import{b as $e,c as qe,i as oe,j as ae}from"./chunk-AND6K73U.js";import{b as gi,f as vi,g as Ci}from"./chunk-BJXILAOS.js";import{a as Et}from"./chunk-A3N3AUUJ.js";import{e as Zt,g as He,h as Xt,i as Ue,j as Be,p as ei,q as We,r as Ye,x as Ke}from"./chunk-6BGAZ7SQ.js";import{c as Ct,d as bt,e as yt,g as G,h as W,j as xt,k as St,l as Mt}from"./chunk-I7VYXJU2.js";import{a as Je,b as Ze,c as Xe,d as et,e as yi,f as tt,h as it,i as nt}from"./chunk-EC6LD5KM.js";import{c as H,e as g,f as ui,g as Qe,h as se,i as le,j as U,l as b,m as Ge,p as ce,q as fi,s as pe,u as hi,v as _i,x as de}from"./chunk-EDIJ2EBQ.js";import{J as oi,Q as ai,T as si,U as li,V as ci,Y as re,ba as je,c as Jt,ca as pi,f as ti,ga as di,ha as mi,n as ii,q as It,r as ni,s as ri}from"./chunk-W5KNOAKV.js";import{$ as B,$b as ke,Aa as Bt,Ea as X,Eb as $t,Fc as ft,Ga as De,Gb as Te,Gc as ht,H as Nt,Hc as _t,Ic as be,Ja as R,Jc as Qt,Ka as ve,Kb as z,Kc as Gt,L as Ie,Mb as Ce,Nb as x,Nc as Wt,P as zt,Sb as j,Sc as Le,Tb as u,Vb as D,Vc as L,W as Vt,Wb as Oe,Wc as Yt,Xb as qt,Yb as I,Z as J,_ as Lt,_b as Re,ac as Ae,ba as Ee,bc as a,cc as s,dc as S,e as Me,ea as we,eb as ee,ed as gt,fa as Z,gc as $,ha as _e,hc as V,ic as Pe,ie as vt,j as he,ja as ge,je as Kt,ka as d,kc as h,la as mt,lb as m,ma as ut,mb as te,mc as f,nc as q,ob as ie,oc as Q,p as P,pc as T,q as At,qc as Ne,rc as w,sa as Ht,sb as jt,sc as F,t as N,ta as v,ua as C,ub as y,uc as ze,va as Ut,vb as ne,vc as Ve,wb as E,wc as M,xa as Fe,xc as c,yc as O,z as Pt}from"./chunk-TEKHUYWQ.js";var Ei=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-account-feature-auth"]],decls:1,vars:0,template:function(t,i){t&1&&S(0,"router-outlet")},dependencies:[Xt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return n})();var wi=[Ii()];var tn=["*"];function nn(n,l){n&1&&Q(0)}var wt=(()=>{class n{_elementRef=d(R);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return n})(),Ft=(()=>{class n{template=d(ie);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["","cdkStepLabel",""]]})}return n})();var k={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},rn=new _e("STEPPER_GLOBAL_OPTIONS"),ot=(()=>{class n{_stepperOptions;_stepper=d(ye);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;interacted=!1;interactedStream=new X;label;errorMessage;ariaLabel;ariaLabelledby;state;editable=!0;optional=!1;get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_completedOverride=null;_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_customError=null;_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(){let e=d(rn,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["cdk-step"]],contentQueries:function(t,i,r){if(t&1&&(T(r,Ft,5),T(r,ui,5)),t&2){let o;w(o=F())&&(i.stepLabel=o.first),w(o=F())&&(i._childForms=o)}},viewQuery:function(t,i){if(t&1&&Ne(ie,7),t&2){let r;w(r=F())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",L],optional:[2,"optional","optional",L],completed:[2,"completed","completed",L],hasError:[2,"hasError","hasError",L]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[Ce,Ht],ngContentSelectors:tn,decls:1,vars:0,template:function(t,i){t&1&&(q(),x(0,nn,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return n})(),ye=(()=>{class n{_dir=d(li,{optional:!0});_changeDetectorRef=d(Le);_elementRef=d(R);_destroyed=new he;_keyManager;_steps;steps=new ve;_stepHeader;_sortedHeaders=new ve;linear=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}_selectedIndex=0;get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new X;selectedIndexChange=new X;_groupId=d(si).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(J(this._steps),B(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(J(this._stepHeader),B(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,i)=>t._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new oi(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:P()).pipe(J(this._layoutDirection()),B(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=k.NUMBER){let i=this.steps.toArray()[e],r=this._isCurrentStep(e);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?k.ERROR:!e.completed||t?k.NUMBER:e.editable?k.EDIT:k.DONE}_getGuidelineLogic(e,t,i=k.NUMBER){return e._showError()&&e.hasError&&!t?k.ERROR:e.completed&&!t?k.DONE:e.completed&&t?i:e.editable&&t?k.EDIT:i}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=ri(e),i=e.keyCode,r=this._keyManager;r.activeItemIndex!=null&&!t&&(i===32||i===13)?(this.selectedIndex=r.activeItemIndex,e.preventDefault()):r.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let i=t.stepControl;return(i?i.invalid||i.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=ii();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{_stepper=d(ye);type="submit";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,i){t&1&&h("click",function(){return i._stepper.next()}),t&2&&Pe("type",i.type)},inputs:{type:"type"}})}return n})();var Di=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({imports:[ci]})}return n})();var on=["*"],at;function an(){if(at===void 0&&(at=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(at=n.trustedTypes.createPolicy("angular#components",{createHTML:l=>l}))}return at}function xe(n){return an()?.createHTML(n)||n}function Ti(n){return Error(`Unable to find icon with the name "${n}"`)}function sn(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Oi(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Ri(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var A=class{url;svgText;options;svgElement;constructor(l,e,t){this.url=l,this.svgText=e,this.options=t}},ln=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,i,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,r){return this._addSvgIconConfig(e,t,new A(i,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,i,r){let o=this._sanitizer.sanitize(ee.HTML,i);if(!o)throw Ri(i);let p=xe(o);return this._addSvgIconConfig(e,t,new A("",p,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new A(t,null,i))}addSvgIconSetLiteralInNamespace(e,t,i){let r=this._sanitizer.sanitize(ee.HTML,t);if(!r)throw Ri(t);let o=xe(r);return this._addSvgIconSetConfig(e,new A("",o,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(ee.RESOURCE_URL,e);if(!t)throw Oi(e);let i=this._cachedIconsByUrl.get(t);return i?P(st(i)):this._loadSvgIconFromConfig(new A(e,null)).pipe(Ee(r=>this._cachedIconsByUrl.set(t,r)),N(r=>st(r)))}getNamedSvgIcon(e,t=""){let i=ki(t,e),r=this._svgIconConfigs.get(i);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(i,r),this._getSvgFromConfig(r);let o=this._iconSetConfigs.get(t);return o?this._getSvgFromIconSetConfigs(e,o):At(Ti(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?P(st(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(N(t=>st(t)))}_getSvgFromIconSetConfigs(e,t){let i=this._extractIconWithNameFromAnySet(e,t);if(i)return P(i);let r=t.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Nt(p=>{let K=`Loading icon set URL: ${this._sanitizer.sanitize(ee.RESOURCE_URL,o.url)} failed: ${p.message}`;return this._errorHandler.handleError(new Error(K)),P(null)})));return Pt(r).pipe(N(()=>{let o=this._extractIconWithNameFromAnySet(e,t);if(!o)throw Ti(e);return o}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){let r=t[i];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(r),p=this._extractSvgIconFromSet(o,e,r.options);if(p)return p}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ee(t=>e.svgText=t),N(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?P(null):this._fetchIcon(e).pipe(Ee(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,i){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let o=r.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,i);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),i);let p=this._svgElementFromString(xe(""));return p.appendChild(o),this._setSvgAttributes(p,i)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(e){let t=this._svgElementFromString(xe("")),i=e.attributes;for(let r=0;rxe(K)),zt(()=>this._inProgressUrlFetches.delete(o)),Vt());return this._inProgressUrlFetches.set(o,_),_}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(ki(e,t),i),this}_addSvgIconSetConfig(e,t){let i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;il?l.pathname+l.search:""}}var Ai=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],un=Ai.map(n=>`[${n}]`).join(", "),fn=/^url\(['"]?#(.*?)['"]?\)$/,Pi=(()=>{class n{_elementRef=d(R);_iconRegistry=d(ln);_location=d(dn);_errorHandler=d(De);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Me.EMPTY;constructor(){let e=d(new Bt("aria-hidden"),{optional:!0}),t=d(pn,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let i=e.childNodes[t];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),t.forEach(i=>e.classList.add(i)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((i,r)=>{i.forEach(o=>{r.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(un),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let p=t[r],_=p.getAttribute(o),K=_?_.match(fn):null;if(K){let Se=i.get(p);Se||(Se=[],i.set(p,Se)),Se.push({name:o,value:K[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,i]=this._splitIconName(e);t&&(this._svgNamespace=t),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,t).pipe(Ie(1)).subscribe(r=>this._setSvgElement(r),r=>{let o=`Error retrieving icon ${t}:${i}! ${r.message}`;this._errorHandler.handleError(new Error(o))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,i){t&2&&(j("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Oe(i.color?"mat-"+i.color:""),D("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",L],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ce],ngContentSelectors:on,decls:1,vars:0,template:function(t,i){t&1&&(q(),Q(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return n})(),Ni=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({imports:[re,re]})}return n})();function hn(n,l){if(n&1&&$(0,2),n&2){let e=f();u("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function _n(n,l){if(n&1&&(a(0,"span",7),c(1),s()),n&2){let e=f(2);m(),O(e._getDefaultTextForState(e.state))}}function gn(n,l){if(n&1&&(a(0,"span",8),c(1),s()),n&2){let e=f(3);m(),O(e._intl.completedLabel)}}function vn(n,l){if(n&1&&(a(0,"span",8),c(1),s()),n&2){let e=f(3);m(),O(e._intl.editableLabel)}}function Cn(n,l){if(n&1&&(x(0,gn,2,1,"span",8)(1,vn,2,1,"span",8),a(2,"mat-icon",7),c(3),s()),n&2){let e=f(2);I(e.state==="done"?0:e.state==="edit"?1:-1),m(3),O(e._getDefaultTextForState(e.state))}}function bn(n,l){if(n&1&&x(0,_n,2,1,"span",7)(1,Cn,4,2),n&2){let e,t=f();I((e=t.state)==="number"?0:1)}}function yn(n,l){n&1&&(a(0,"div",4),$(1,9),s()),n&2&&(m(),u("ngTemplateOutlet",l.template))}function xn(n,l){if(n&1&&(a(0,"div",4),c(1),s()),n&2){let e=f();m(),O(e.label)}}function Sn(n,l){if(n&1&&(a(0,"div",5),c(1),s()),n&2){let e=f();m(),O(e._intl.optionalLabel)}}function Mn(n,l){if(n&1&&(a(0,"div",6),c(1),s()),n&2){let e=f();m(),O(e.errorMessage)}}var Vi=["*"];function In(n,l){}function En(n,l){if(n&1&&(Q(0),x(1,In,0,0,"ng-template",0)),n&2){let e=f();m(),u("cdkPortalOutlet",e._portal)}}var Li=(n,l)=>({step:n,i:l}),Hi=n=>({animationDuration:n}),Ui=(n,l)=>({value:n,params:l});function wn(n,l){n&1&&Q(0)}function Fn(n,l){n&1&&S(0,"div",6)}function Dn(n,l){if(n&1&&($(0,5),x(1,Fn,1,0,"div",6)),n&2){let e=l.$implicit,t=l.$index,i=l.$count;f(2);let r=M(4);u("ngTemplateOutlet",r)("ngTemplateOutletContext",be(3,Li,e,t)),m(),I(t!==i-1?1:-1)}}function Tn(n,l){if(n&1){let e=V();a(0,"div",7),h("@horizontalStepTransition.done",function(i){v(e);let r=f(2);return C(r._animationDone.next(i))}),$(1,8),s()}if(n&2){let e=l.$implicit,t=l.$index,i=f(2);D("mat-horizontal-stepper-content-inactive",i.selectedIndex!==t),u("@horizontalStepTransition",be(8,Ui,i._getAnimationDirection(t),_t(6,Hi,i._getAnimationDuration())))("id",i._getStepContentId(t)),j("aria-labelledby",i._getStepLabelId(t)),m(),u("ngTemplateOutlet",e.content)}}function On(n,l){if(n&1&&(a(0,"div",1)(1,"div",2),ke(2,Dn,2,6,null,null,Re),s(),a(4,"div",3),ke(5,Tn,2,11,"div",4,Re),s()()),n&2){let e=f();m(2),Ae(e.steps),m(3),Ae(e.steps)}}function Rn(n,l){if(n&1){let e=V();a(0,"div",9),$(1,5),a(2,"div",10)(3,"div",11),h("@verticalStepTransition.done",function(i){v(e);let r=f(2);return C(r._animationDone.next(i))}),a(4,"div",12),$(5,8),s()()()()}if(n&2){let e=l.$implicit,t=l.$index,i=l.$count,r=f(2),o=M(4);m(),u("ngTemplateOutlet",o)("ngTemplateOutletContext",be(10,Li,e,t)),m(),D("mat-stepper-vertical-line",t!==i-1),m(),D("mat-vertical-stepper-content-inactive",r.selectedIndex!==t),u("@verticalStepTransition",be(15,Ui,r._getAnimationDirection(t),_t(13,Hi,r._getAnimationDuration())))("id",r._getStepContentId(t)),j("aria-labelledby",r._getStepLabelId(t)),m(2),u("ngTemplateOutlet",e.content)}}function kn(n,l){if(n&1&&ke(0,Rn,6,18,"div",9,Re),n&2){let e=f();Ae(e.steps)}}function An(n,l){if(n&1){let e=V();a(0,"mat-step-header",13),h("click",function(){let i=v(e).step;return C(i.select())})("keydown",function(i){v(e);let r=f();return C(r._onKeydown(i))}),s()}if(n&2){let e=l.step,t=l.i,i=f();D("mat-horizontal-stepper-header",i.orientation==="horizontal")("mat-vertical-stepper-header",i.orientation==="vertical"),u("tabIndex",i._getFocusIndex()===t?0:-1)("id",i._getStepLabelId(t))("index",t)("state",i._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",i.selectedIndex===t)("active",i._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(t,e))("color",e.color||i.color),j("aria-posinset",t+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(t))("aria-selected",i.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",i._stepIsNavigable(t,e)?null:!0)}}var Dt=(()=>{class n extends Ft{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275dir=E({type:n,selectors:[["","matStepLabel",""]],features:[z]})}return n})(),lt=(()=>{class n{changes=new he;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(t){return new(t||n)};static \u0275prov=we({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Pn(n){return n||new lt}var Nn={provide:lt,deps:[[new mt,new ut,lt]],useFactory:Pn},Tt=(()=>{class n extends wt{_intl=d(lt);_focusMonitor=d(ai);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super(),d(It).load(pi),d(It).load(ni);let e=d(Le);this._intlSubscription=this._intl.changes.subscribe(()=>e.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof Dt?null:this.label}_templateLabel(){return this.label instanceof Dt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(t,i){t&2&&Oe("mat-"+(i.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[z],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,i){if(t&1&&(S(0,"div",0),a(1,"div")(2,"div",1),x(3,hn,1,2,"ng-container",2)(4,bn,2,1),s()(),a(5,"div",3),x(6,yn,2,1,"div",4)(7,xn,2,1,"div",4)(8,Sn,2,1,"div",5)(9,Mn,2,1,"div",6),s()),t&2){let r;u("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),m(),qt("mat-step-icon-state-",i.state," mat-step-icon"),D("mat-step-icon-selected",i.selected),m(2),I(i.iconOverrides&&i.iconOverrides[i.state]?3:4),m(2),D("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error",i.state=="error"),m(),I((r=i._templateLabel())?6:i._stringLabel()?7:-1,r),m(2),I(i.optional&&i.state!="error"?8:-1),m(),I(i.state==="error"?9:-1)}},dependencies:[di,vt,Pi],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}'],encapsulation:2,changeDetection:0})}return n})(),Bi="500ms",ji="225ms",zi={horizontalStepTransition:Ct("horizontalStepTransition",[W("previous",G({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),W("current",G({transform:"none",visibility:"inherit"})),W("next",G({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),xt("* => *",yt([bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Mt("@*",St(),{optional:!0})]),{params:{animationDuration:Bi}})]),verticalStepTransition:Ct("verticalStepTransition",[W("previous",G({height:"0px",visibility:"hidden"})),W("next",G({height:"0px",visibility:"hidden"})),W("current",G({height:"*",visibility:"inherit"})),xt("* <=> current",yt([bt("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Mt("@*",St(),{optional:!0})]),{params:{animationDuration:ji}})])},Ot=(()=>{class n{templateRef=d(ie);name;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return n})(),zn=(()=>{class n{_template=d(ie);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["ng-template","matStepContent",""]]})}return n})(),Rt=(()=>{class n extends ot{_errorStateMatcher=d(je,{skipSelf:!0});_viewContainerRef=d($t);_isSelected=Me.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Lt(()=>this._stepper.selectionChange.pipe(N(e=>e.selectedStep===this),J(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new gi(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){let i=this._errorStateMatcher.isErrorState(e,t),r=!!(e&&e.invalid&&this.interacted);return i||r}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275cmp=y({type:n,selectors:[["mat-step"]],contentQueries:function(t,i,r){if(t&1&&(T(r,Dt,5),T(r,zn,5)),t&2){let o;w(o=F())&&(i.stepLabel=o.first),w(o=F())&&(i._lazyContent=o.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[ft([{provide:je,useExisting:n},{provide:ot,useExisting:n}]),z],ngContentSelectors:Vi,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,i){t&1&&(q(),x(0,En,2,1,"ng-template"))},dependencies:[vi],encapsulation:2,changeDetection:0})}return n})(),fe=(()=>{class n extends ye{_stepHeader=void 0;_steps=void 0;steps=new ve;_icons;animationDone=new X;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};_animationDone=new he;get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!d(ti).isBrowser;constructor(){super();let t=d(R).nativeElement.nodeName.toLowerCase();this.orientation=t==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(B(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(B(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Bi:ji}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,i,r){if(t&1&&(T(r,Rt,5),T(r,Ot,5)),t&2){let o;w(o=F())&&(i._steps=o),w(o=F())&&(i._icons=o)}},viewQuery:function(t,i){if(t&1&&Ne(Tt,5),t&2){let r;w(r=F())&&(i._stepHeader=r)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,i){t&2&&(j("aria-orientation",i.orientation),D("mat-stepper-horizontal",i.orientation==="horizontal")("mat-stepper-vertical",i.orientation==="vertical")("mat-stepper-label-position-end",i.orientation==="horizontal"&&i.labelPosition=="end")("mat-stepper-label-position-bottom",i.orientation==="horizontal"&&i.labelPosition=="bottom")("mat-stepper-header-position-bottom",i.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[ft([{provide:ye,useExisting:n}]),z],ngContentSelectors:Vi,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(t,i){if(t&1&&(q(),x(0,wn,1,0)(1,On,7,0,"div",1)(2,kn,2,0)(3,An,1,23,"ng-template",null,0,Wt)),t&2){let r;I(i._isServer?0:-1),m(),I((r=i.orientation)==="horizontal"?1:r==="vertical"?2:-1)}},dependencies:[vt,Tt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[zi.horizontalStepTransition,zi.verticalStepTransition]},changeDetection:0})}return n})(),$i=(()=>{class n extends Fi{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275dir=E({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,i){t&2&&Pe("type",i.type)},features:[z]})}return n})();var qi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({providers:[Nn,je],imports:[re,Ci,Di,Ni,mi,fe,Tt,re]})}return n})();var Qi=(()=>{class n{ngControl;constructor(e){this.ngControl=e}onInput(e){this.#e(e.toUpperCase())}#e(e){this.ngControl.control&&this.ngControl.control.setValue(e,{emitEvent:!1})}static \u0275fac=function(t){return new(t||n)(te(Qe))};static \u0275dir=E({type:n,selectors:[["input","devmxUpper",""]],hostBindings:function(t,i){t&1&&h("input",function(o){return i.onInput(o.target.value)})}})}return n})();var Ln=["inputA"],Yi=(()=>{class n extends H{elRef;ngControl;inputA=Te("inputA");get inputAElm(){return this.inputA()?.nativeElement}get control(){return this.ngControl.control}constructor(e,t,i){super(e,t,!0),this.elRef=t,this.ngControl=i,this.ngControl.valueAccessor=this,this.form.valueChanges.subscribe(()=>{if(this.form.valid){let{a:r,b:o,c:p,d:_}=this.form.getRawValue();this.control.setValue(`${r+o+p+_}`.toUpperCase())}})}form=new U({a:new b("",{nonNullable:!0,validators:[g.required]}),b:new b("",{nonNullable:!0,validators:[g.required]}),c:new b("",{nonNullable:!0,validators:[g.required]}),d:new b("",{nonNullable:!0,validators:[g.required]})});onInput(e,t){e.value.length===1&&t&&t.focus()}onPaste(e,t){e.preventDefault();let i=e.clipboardData?.getData("text")??"";if(i.length===4){let[r,o,p,_]=i.split("");this.form.controls.a.setValue(r),this.form.controls.b.setValue(o),this.form.controls.c.setValue(p),this.form.controls.d.setValue(_),t.focus()}}static \u0275fac=function(t){return new(t||n)(te(jt),te(R),te(Qe,10))};static \u0275cmp=y({type:n,selectors:[["devmx-code-field"]],viewQuery:function(t,i){t&1&&ze(i.inputA,Ln,5),t&2&&Ve()},exportAs:["devmxCodeField"],features:[z],decls:13,vars:1,consts:[["inputA",""],["inputB",""],["inputC",""],["inputD",""],[3,"formGroup"],[1,"code-field"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","a",3,"input","paste"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","b",3,"input","keyup.backspace"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","c",3,"input","keyup.backspace"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","d",3,"input","keyup.backspace"]],template:function(t,i){if(t&1){let r=V();a(0,"div",4)(1,"mat-form-field",5)(2,"input",6,0),h("input",function(){v(r);let p=M(3),_=M(6);return C(i.onInput(p,_))})("paste",function(p){v(r);let _=M(12);return C(i.onPaste(p,_))}),s()(),a(4,"mat-form-field",5)(5,"input",7,1),h("input",function(){v(r);let p=M(6),_=M(9);return C(i.onInput(p,_))})("keyup.backspace",function(){v(r);let p=M(3);return C(p.focus())}),s()(),a(7,"mat-form-field",5)(8,"input",8,2),h("input",function(){v(r);let p=M(9),_=M(12);return C(i.onInput(p,_))})("keyup.backspace",function(){v(r);let p=M(6);return C(p.focus())}),s()(),a(10,"mat-form-field",5)(11,"input",9,3),h("input",function(){v(r);let p=M(12);return C(i.onInput(p))})("keyup.backspace",function(){v(r);let p=M(9);return C(p.focus())}),s()()()}t&2&&u("formGroup",i.form)},dependencies:[de,H,se,le,hi,_i,ce,pe,ae,oe,ue,me,Qi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;justify-content:space-between}[_nghost-%COMP%] .code-field[_ngcontent-%COMP%]{width:2.8em}"],changeDetection:0})}return n})();var ct=class extends U{constructor(){super({name:new b("",{nonNullable:!0,validators:[g.required,g.pattern(/^[a-z0-9]+$/)]}),code:new b("",{nonNullable:!0})})}};var pt=class extends U{constructor(){super({member:new b(!0,{nonNullable:!0,validators:[g.requiredTrue]}),academic:new b(!1,{nonNullable:!0}),recruiter:new b(!1,{nonNullable:!0}),speaker:new b(!1,{nonNullable:!0})})}};var dt=class extends U{constructor(){super({name:new b("",{nonNullable:!0,validators:[g.required,g.pattern(/^[a-z0-9]+$/)]}),displayName:new b("",{nonNullable:!0,validators:[g.required]}),email:new b("",{nonNullable:!0,validators:[g.required,g.email]}),roles:new pt})}};var Ki=()=>["..","cadastrar"];function Bn(n,l){n&1&&(Ut(),a(0,"svg",21),S(1,"path",22),s())}var Ji=(()=>{class n{route=d(He);router=d(Ue);stepper=Te(fe);authenticationFacade=d(rt);form=new ct;constructor(){this.authenticationFacade.connected$.pipe(Et()).subscribe(e=>{let{redirectTo:t}=this.route.snapshot.queryParams;e&&t?this.router.navigateByUrl(t):e&&this.router.navigate(["/"])}),this.form.controls.code.valueChanges.pipe(Et()).subscribe(e=>{e.length===4&&this.validateUserCode()})}sendUserCode(){if(this.form.valid){let e=this.form.getRawValue();this.authenticationFacade.sendUserCode(e);let t=[g.required];this.form.controls.code.addValidators(t)}}validateUserCode(){if(this.form.valid){let e=this.form.getRawValue();this.authenticationFacade.validateUserCode(e)}}onAnimationDone(e,t){let i=this.stepper();if(i)switch(i.selectedIndex){case 0:return t.focus();case 1:default:return e.inputAElm?.focus()}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-authentication"]],viewQuery:function(t,i){t&1&&ze(i.stepper,fe,5),t&2&&Ve()},decls:40,vars:14,consts:[["stepper",""],["nameRef",""],["codeFieldRef","devmxCodeField"],[1,"authentication-card"],[1,"authentication-card-header"],["mat-card-avatar","","src","devmx.svg","alt","devmx logo"],[1,"authentication-card-content"],["mat-raised-button","",3,"routerLink","queryParams"],[3,"linear"],["label","Identifique-se",3,"stepControl"],["matStepperIcon","edit"],[3,"submit","formGroup"],["matInput","","formControlName","name","autocomplete","username","autofocus",""],["mat-button","","matStepperNext",""],["label","Confirme sua identidade",3,"stepControl"],[3,"formGroup"],["formControlName","code"],[1,"auth-resend-button"],["mat-button","","type","button",3,"click"],["mat-button","",3,"routerLink","queryParams"],["target","_blank","rel","noopener noreferrer","href","https://wa.me/5544991422726?text=Gui,%20me%20ajuda!%20Estou%20sem%20acesso%20a%20minha%20conta%20no%20portal%20devparana.mx","mat-button",""],["width","16","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 5L10.7721 11.045C11.4943 11.6067 12.5057 11.6067 13.2279 11.045L21 5M5.2 20H18.8C19.9201 20 20.4802 20 20.908 19.782C21.2843 19.5903 21.5903 19.2843 21.782 18.908C22 18.4802 22 17.9201 22 16.8V7.2C22 6.0799 22 5.51984 21.782 5.09202C21.5903 4.71569 21.2843 4.40973 20.908 4.21799C20.4802 4 19.9201 4 18.8 4H5.2C4.07989 4 3.51984 4 3.09202 4.21799C2.71569 4.40973 2.40973 4.71569 2.21799 5.09202C2 5.51984 2 6.07989 2 7.2V16.8C2 17.9201 2 18.4802 2.21799 18.908C2.40973 19.2843 2.71569 19.5903 3.09202 19.782C3.51984 20 4.0799 20 5.2 20Z","stroke","currentColor","stroke-width","2"]],template:function(t,i){if(t&1){let r=V();a(0,"div")(1,"mat-card",3)(2,"mat-card-header",4),S(3,"img",5),a(4,"mat-card-title"),c(5,"Autentica\xE7\xE3o"),s(),a(6,"mat-card-subtitle"),c(7,"Em dois toques"),s()(),a(8,"mat-card-content",6)(9,"a",7),c(10," Quero criar minha conta "),s()(),a(11,"mat-vertical-stepper",8,0)(13,"mat-step",9),x(14,Bn,2,0,"ng-template",10),a(15,"form",11),h("submit",function(){return v(r),C(i.sendUserCode())}),a(16,"mat-form-field")(17,"mat-label"),c(18,"Seu usu\xE1rio"),s(),S(19,"input",12,1),a(21,"mat-error"),c(22,"Obrigat\xF3rio"),s()(),a(23,"button",13),c(24,"Enviar c\xF3digo por e-mail"),s()()(),a(25,"mat-step",14)(26,"form",15)(27,"p"),c(28),Qt(29,"async"),s(),S(30,"devmx-code-field",16,2),a(32,"div",17)(33,"button",18),h("click",function(){return v(r),C(i.sendUserCode())}),c(34," Reenviar c\xF3digo "),s()()()()()(),a(35,"footer")(36,"a",19),c(37," Criar minha conta "),s(),a(38,"a",20),c(39," Recuperar conta "),s()()()}t&2&&(m(9),u("routerLink",ht(12,Ki))("queryParams",i.route.snapshot.queryParams),m(2),u("linear",!0),m(2),u("stepControl",i.form),m(2),u("formGroup",i.form),m(10),u("stepControl",i.form),m(),u("formGroup",i.form),m(2),O(Gt(29,10,i.authenticationFacade.message$)),m(8),u("routerLink",ht(13,Ki))("queryParams",i.route.snapshot.queryParams))},dependencies:[de,Ge,H,se,le,ce,pe,ae,oe,$e,qe,Yi,qi,Rt,fe,$i,Ot,Ke,Ye,We,ue,me,nt,Je,it,Xe,tt,et,Ze,Be,Kt],styles:[`[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f1edec;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23f4f1f0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23f7f4f4' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23f9f8f7' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23fcfbfb' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFFFFF' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffffff' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffffff' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");background-attachment:fixed;background-size:cover}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column;margin-top:.8em}[_nghost-%COMP%] .authentication-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .authentication-card-header[_ngcontent-%COMP%] .mat-mdc-card-title[_ngcontent-%COMP%]{font-size:1.2em}[_nghost-%COMP%] .authentication-card-header[_ngcontent-%COMP%] .mat-mdc-card-subtitle[_ngcontent-%COMP%]{font-size:1em;opacity:.8}[_nghost-%COMP%] .authentication-card-content[_ngcontent-%COMP%]{padding:.3em 3.8em 1em}[_nghost-%COMP%] .authentication-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:80%;opacity:.8}[_nghost-%COMP%] .auth-resend-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:space-between}`],changeDetection:0})}return n})();function jn(n,l){n&1&&c(0," Use apenas letras do alfabeto min\xFAsculas ")}function $n(n,l){n&1&&c(0," Obrigat\xF3rio ")}function qn(n,l){n&1&&(a(0,"mat-error"),c(1,"\xC9 obrigat\xF3rio ser membro"),s())}var Zi=(()=>{class n{authFacade=d(rt);message=d(bi);dialog=d(Mi);route=d(He);router=d(Ue);form=new dt;onSubmit(){if(this.form.valid){let e=this.form.getRawValue();this.authFacade.createUser(e).pipe(Ie(1)).subscribe(()=>{let{redirectTo:r}=this.route.snapshot.queryParams,o={redirectTo:r},p=["/","conta","autenticacao","acessar"];this.router.navigate(p,{queryParams:o})});let i=`Conta ${e.name} criada`;this.message.open({message:i})}}openConduteCode(){this.dialog.readMe("https://raw.githubusercontent.com/DeveloperParana/conduta/refs/heads/master/README.md").subscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-registration"]],decls:54,vars:4,consts:[[3,"submit","formGroup"],[1,"registration-card"],[1,"registration-card-header"],["mat-card-avatar","","src","devmx.svg","alt","devmx logo"],[1,"registration-card-content"],["matInput","","formControlName","displayName","placeholder","Ex.: Francisco Thiago","autocomplete","name","autofocus",""],["matInput","","formControlName","name","autocomplete","username","placeholder","Ex.: chico"],["matInput","","type","email","formControlName","email","autocomplete","email"],["formGroupName","roles",1,"registration-roles"],["formControlName","member"],["formControlName","speaker"],["formControlName","recruiter"],["formControlName","academic"],[1,"registration-card-actions"],["mat-flat-button",""],["routerLink","../acessar","mat-button",""],["href","#"],["href","javascript:void(0)",3,"click"]],template:function(t,i){t&1&&(a(0,"div")(1,"form",0),h("submit",function(){return i.onSubmit()}),a(2,"mat-card",1)(3,"mat-card-header",2),S(4,"img",3),a(5,"mat-card-title"),c(6,"Acesse a comunidade"),s(),a(7,"mat-card-subtitle"),c(8,"Fa\xE7a parte da DevParan\xE1"),s()(),a(9,"mat-card-content",4)(10,"mat-form-field")(11,"mat-label"),c(12,"Seu nome"),s(),S(13,"input",5),a(14,"mat-error"),c(15,"Obrigat\xF3rio"),s()(),a(16,"mat-form-field")(17,"mat-label"),c(18,"Seu usu\xE1rio"),s(),S(19,"input",6),a(20,"mat-error"),x(21,jn,1,0)(22,$n,1,0),s()(),a(23,"mat-form-field")(24,"mat-label"),c(25,"Seu e-mail"),s(),S(26,"input",7),a(27,"mat-error"),c(28,"Endere\xE7o inv\xE1lido"),s()(),a(29,"div",8)(30,"mat-checkbox",9),c(31," Sou membro da comunidade "),s(),x(32,qn,2,0,"mat-error"),a(33,"mat-checkbox",10),c(34," Sou ou quero ser palestrante "),s(),a(35,"mat-checkbox",11),c(36," Sou recrutador de talentos "),s(),a(37,"mat-checkbox",12),c(38," Sou da \xE1rea acad\xEAmica "),s()()(),a(39,"mat-card-actions",13)(40,"button",14),c(41,"Cadastrar"),s(),a(42,"a",15),c(43," J\xE1 tenho uma conta "),s()()(),a(44,"footer"),c(45," Ao continuar, voc\xEA concorda com nossos "),a(46,"a",16),c(47,"Termos de Servi\xE7o"),s(),c(48,", reconhece nossa "),a(49,"a",16),c(50,"Pol\xEDtica de Privacidade"),s(),c(51," e "),a(52,"a",17),h("click",function(){return i.openConduteCode()}),c(53," C\xF3digo de Conduta "),s()()()()),t&2&&(m(),u("formGroup",i.form),m(20),I(i.form.controls.name.hasError("pattern")?21:-1),m(),I(i.form.controls.name.hasError("required")?22:-1),m(10),I(i.form.controls.roles.controls.member.errors?32:-1))},dependencies:[de,Ge,H,se,le,ce,pe,fi,ae,oe,$e,qe,Si,xi,Ke,Ye,We,ue,me,nt,Je,yi,it,Xe,tt,et,Ze,ei,Be],styles:[`[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f1edec;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23f4f1f0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23f7f4f4' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23f9f8f7' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23fcfbfb' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFFFFF' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffffff' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffffff' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");background-attachment:fixed;background-size:cover}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;margin:.8em 1em 1em;max-width:24em;display:flex;flex-direction:column}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%]{min-width:22em;overflow:hidden}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%]{margin-bottom:1em}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%] .mat-mdc-card-title[_ngcontent-%COMP%]{font-size:1.2em}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%] .mat-mdc-card-subtitle[_ngcontent-%COMP%]{font-size:1em;opacity:.8}[_nghost-%COMP%] .registration-card-content[_ngcontent-%COMP%]{gap:.8em;display:flex;margin-bottom:.8em;flex-direction:column}[_nghost-%COMP%] .registration-card-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%] .registration-roles[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%] .registration-roles[_ngcontent-%COMP%] .mat-mdc-form-field-error[_ngcontent-%COMP%]{margin-left:1em}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin:.4em 0;font-size:78%;text-align:center}`],changeDetection:0})}return n})();var da=[{path:"",providers:wi,component:Ei,children:[{path:"acessar",title:"Acessar",component:Ji},{path:"cadastrar",title:"Cadastrar",component:Zi},{path:"",redirectTo:"acessar",pathMatch:"full"}]}];export{Ei as AccountFeatureAuthComponent,da as accountFeatureAuthRoutes}; +import{a as xi,b as Si}from"./chunk-I7HMQKPZ.js";import{a as Mi,b as Ii}from"./chunk-HOUESFGN.js";import"./chunk-BJPVFIKR.js";import{a as bi}from"./chunk-FTG3SWGJ.js";import"./chunk-RVBVVCKL.js";import"./chunk-SBPBG2DZ.js";import{a as rt}from"./chunk-5MUU2WLY.js";import"./chunk-7BKB7KKA.js";import{d as me,e as ue}from"./chunk-A74J7Y3C.js";import{b as $e,c as qe,i as oe,j as ae}from"./chunk-TJJFEYFG.js";import{b as gi,f as vi,g as Ci}from"./chunk-76QZXEBP.js";import{a as Et}from"./chunk-366DNJGU.js";import{e as Zt,g as He,h as Xt,i as Ue,j as Be,p as ei,q as We,r as Ye,x as Ke}from"./chunk-7RMPQIRR.js";import{c as Ct,d as bt,e as yt,g as G,h as W,j as xt,k as St,l as Mt}from"./chunk-I7VYXJU2.js";import{a as Je,b as Ze,c as Xe,d as et,e as yi,f as tt,h as it,i as nt}from"./chunk-BJ2ND26O.js";import{c as H,e as g,f as ui,g as Qe,h as se,i as le,j as U,l as b,m as Ge,p as ce,q as fi,s as pe,u as hi,v as _i,x as de}from"./chunk-E5QACR6S.js";import{L as oi,S as ai,V as si,W as li,X as ci,_ as re,d as Jt,da as je,ea as pi,h as ti,ia as di,ja as mi,p as ii,s as It,t as ni,u as ri}from"./chunk-CG5OOKZO.js";import{$ as B,$b as ke,Aa as Bt,Ea as X,Eb as $t,Fc as ft,Ga as De,Gb as Te,Gc as ht,H as Nt,Hc as _t,Ic as be,Ja as R,Jc as Qt,Ka as ve,Kb as z,Kc as Gt,L as Ie,Mb as Ce,Nb as x,Nc as Wt,P as zt,Sb as j,Sc as Le,Tb as u,Vb as D,Vc as L,W as Vt,Wb as Oe,Wc as Yt,Xb as qt,Yb as I,Z as J,_ as Lt,_b as Re,ac as Ae,ba as Ee,bc as a,cc as s,dc as S,e as Me,ea as we,eb as ee,ed as gt,fa as Z,gc as $,ha as _e,hc as V,ic as Pe,ie as vt,j as he,ja as ge,je as Kt,ka as d,kc as h,la as mt,lb as m,ma as ut,mb as te,mc as f,nc as q,ob as ie,oc as Q,p as P,pc as T,q as At,qc as Ne,rc as w,sa as Ht,sb as jt,sc as F,t as N,ta as v,ua as C,ub as y,uc as ze,va as Ut,vb as ne,vc as Ve,wb as E,wc as M,xa as Fe,xc as c,yc as O,z as Pt}from"./chunk-5L47ZUSK.js";var Ei=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-account-feature-auth"]],decls:1,vars:0,template:function(t,i){t&1&&S(0,"router-outlet")},dependencies:[Xt],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"],changeDetection:0})}return n})();var wi=[Ii()];var tn=["*"];function nn(n,l){n&1&&Q(0)}var wt=(()=>{class n{_elementRef=d(R);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return n})(),Ft=(()=>{class n{template=d(ie);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["","cdkStepLabel",""]]})}return n})();var k={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},rn=new _e("STEPPER_GLOBAL_OPTIONS"),ot=(()=>{class n{_stepperOptions;_stepper=d(ye);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;interacted=!1;interactedStream=new X;label;errorMessage;ariaLabel;ariaLabelledby;state;editable=!0;optional=!1;get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_completedOverride=null;_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_customError=null;_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(){let e=d(rn,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["cdk-step"]],contentQueries:function(t,i,r){if(t&1&&(T(r,Ft,5),T(r,ui,5)),t&2){let o;w(o=F())&&(i.stepLabel=o.first),w(o=F())&&(i._childForms=o)}},viewQuery:function(t,i){if(t&1&&Ne(ie,7),t&2){let r;w(r=F())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",L],optional:[2,"optional","optional",L],completed:[2,"completed","completed",L],hasError:[2,"hasError","hasError",L]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[Ce,Ht],ngContentSelectors:tn,decls:1,vars:0,template:function(t,i){t&1&&(q(),x(0,nn,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return n})(),ye=(()=>{class n{_dir=d(li,{optional:!0});_changeDetectorRef=d(Le);_elementRef=d(R);_destroyed=new he;_keyManager;_steps;steps=new ve;_stepHeader;_sortedHeaders=new ve;linear=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}_selectedIndex=0;get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new X;selectedIndexChange=new X;_groupId=d(si).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(J(this._steps),B(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(J(this._stepHeader),B(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,i)=>t._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new oi(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:P()).pipe(J(this._layoutDirection()),B(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=k.NUMBER){let i=this.steps.toArray()[e],r=this._isCurrentStep(e);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?k.ERROR:!e.completed||t?k.NUMBER:e.editable?k.EDIT:k.DONE}_getGuidelineLogic(e,t,i=k.NUMBER){return e._showError()&&e.hasError&&!t?k.ERROR:e.completed&&!t?k.DONE:e.completed&&t?i:e.editable&&t?k.EDIT:i}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=ri(e),i=e.keyCode,r=this._keyManager;r.activeItemIndex!=null&&!t&&(i===32||i===13)?(this.selectedIndex=r.activeItemIndex,e.preventDefault()):r.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let i=t.stepControl;return(i?i.invalid||i.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=ii();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{_stepper=d(ye);type="submit";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,i){t&1&&h("click",function(){return i._stepper.next()}),t&2&&Pe("type",i.type)},inputs:{type:"type"}})}return n})();var Di=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({imports:[ci]})}return n})();var on=["*"],at;function an(){if(at===void 0&&(at=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(at=n.trustedTypes.createPolicy("angular#components",{createHTML:l=>l}))}return at}function xe(n){return an()?.createHTML(n)||n}function Ti(n){return Error(`Unable to find icon with the name "${n}"`)}function sn(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Oi(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Ri(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var A=class{url;svgText;options;svgElement;constructor(l,e,t){this.url=l,this.svgText=e,this.options=t}},ln=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,i,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,r){return this._addSvgIconConfig(e,t,new A(i,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,i,r){let o=this._sanitizer.sanitize(ee.HTML,i);if(!o)throw Ri(i);let p=xe(o);return this._addSvgIconConfig(e,t,new A("",p,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new A(t,null,i))}addSvgIconSetLiteralInNamespace(e,t,i){let r=this._sanitizer.sanitize(ee.HTML,t);if(!r)throw Ri(t);let o=xe(r);return this._addSvgIconSetConfig(e,new A("",o,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(ee.RESOURCE_URL,e);if(!t)throw Oi(e);let i=this._cachedIconsByUrl.get(t);return i?P(st(i)):this._loadSvgIconFromConfig(new A(e,null)).pipe(Ee(r=>this._cachedIconsByUrl.set(t,r)),N(r=>st(r)))}getNamedSvgIcon(e,t=""){let i=ki(t,e),r=this._svgIconConfigs.get(i);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(i,r),this._getSvgFromConfig(r);let o=this._iconSetConfigs.get(t);return o?this._getSvgFromIconSetConfigs(e,o):At(Ti(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?P(st(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(N(t=>st(t)))}_getSvgFromIconSetConfigs(e,t){let i=this._extractIconWithNameFromAnySet(e,t);if(i)return P(i);let r=t.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Nt(p=>{let K=`Loading icon set URL: ${this._sanitizer.sanitize(ee.RESOURCE_URL,o.url)} failed: ${p.message}`;return this._errorHandler.handleError(new Error(K)),P(null)})));return Pt(r).pipe(N(()=>{let o=this._extractIconWithNameFromAnySet(e,t);if(!o)throw Ti(e);return o}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){let r=t[i];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(r),p=this._extractSvgIconFromSet(o,e,r.options);if(p)return p}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ee(t=>e.svgText=t),N(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?P(null):this._fetchIcon(e).pipe(Ee(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,i){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let o=r.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,i);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),i);let p=this._svgElementFromString(xe(""));return p.appendChild(o),this._setSvgAttributes(p,i)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(e){let t=this._svgElementFromString(xe("")),i=e.attributes;for(let r=0;rxe(K)),zt(()=>this._inProgressUrlFetches.delete(o)),Vt());return this._inProgressUrlFetches.set(o,_),_}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(ki(e,t),i),this}_addSvgIconSetConfig(e,t){let i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;il?l.pathname+l.search:""}}var Ai=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],un=Ai.map(n=>`[${n}]`).join(", "),fn=/^url\(['"]?#(.*?)['"]?\)$/,Pi=(()=>{class n{_elementRef=d(R);_iconRegistry=d(ln);_location=d(dn);_errorHandler=d(De);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Me.EMPTY;constructor(){let e=d(new Bt("aria-hidden"),{optional:!0}),t=d(pn,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let i=e.childNodes[t];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),t.forEach(i=>e.classList.add(i)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((i,r)=>{i.forEach(o=>{r.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(un),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let p=t[r],_=p.getAttribute(o),K=_?_.match(fn):null;if(K){let Se=i.get(p);Se||(Se=[],i.set(p,Se)),Se.push({name:o,value:K[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,i]=this._splitIconName(e);t&&(this._svgNamespace=t),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,t).pipe(Ie(1)).subscribe(r=>this._setSvgElement(r),r=>{let o=`Error retrieving icon ${t}:${i}! ${r.message}`;this._errorHandler.handleError(new Error(o))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,i){t&2&&(j("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Oe(i.color?"mat-"+i.color:""),D("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",L],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ce],ngContentSelectors:on,decls:1,vars:0,template:function(t,i){t&1&&(q(),Q(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return n})(),Ni=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({imports:[re,re]})}return n})();function hn(n,l){if(n&1&&$(0,2),n&2){let e=f();u("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function _n(n,l){if(n&1&&(a(0,"span",7),c(1),s()),n&2){let e=f(2);m(),O(e._getDefaultTextForState(e.state))}}function gn(n,l){if(n&1&&(a(0,"span",8),c(1),s()),n&2){let e=f(3);m(),O(e._intl.completedLabel)}}function vn(n,l){if(n&1&&(a(0,"span",8),c(1),s()),n&2){let e=f(3);m(),O(e._intl.editableLabel)}}function Cn(n,l){if(n&1&&(x(0,gn,2,1,"span",8)(1,vn,2,1,"span",8),a(2,"mat-icon",7),c(3),s()),n&2){let e=f(2);I(e.state==="done"?0:e.state==="edit"?1:-1),m(3),O(e._getDefaultTextForState(e.state))}}function bn(n,l){if(n&1&&x(0,_n,2,1,"span",7)(1,Cn,4,2),n&2){let e,t=f();I((e=t.state)==="number"?0:1)}}function yn(n,l){n&1&&(a(0,"div",4),$(1,9),s()),n&2&&(m(),u("ngTemplateOutlet",l.template))}function xn(n,l){if(n&1&&(a(0,"div",4),c(1),s()),n&2){let e=f();m(),O(e.label)}}function Sn(n,l){if(n&1&&(a(0,"div",5),c(1),s()),n&2){let e=f();m(),O(e._intl.optionalLabel)}}function Mn(n,l){if(n&1&&(a(0,"div",6),c(1),s()),n&2){let e=f();m(),O(e.errorMessage)}}var Vi=["*"];function In(n,l){}function En(n,l){if(n&1&&(Q(0),x(1,In,0,0,"ng-template",0)),n&2){let e=f();m(),u("cdkPortalOutlet",e._portal)}}var Li=(n,l)=>({step:n,i:l}),Hi=n=>({animationDuration:n}),Ui=(n,l)=>({value:n,params:l});function wn(n,l){n&1&&Q(0)}function Fn(n,l){n&1&&S(0,"div",6)}function Dn(n,l){if(n&1&&($(0,5),x(1,Fn,1,0,"div",6)),n&2){let e=l.$implicit,t=l.$index,i=l.$count;f(2);let r=M(4);u("ngTemplateOutlet",r)("ngTemplateOutletContext",be(3,Li,e,t)),m(),I(t!==i-1?1:-1)}}function Tn(n,l){if(n&1){let e=V();a(0,"div",7),h("@horizontalStepTransition.done",function(i){v(e);let r=f(2);return C(r._animationDone.next(i))}),$(1,8),s()}if(n&2){let e=l.$implicit,t=l.$index,i=f(2);D("mat-horizontal-stepper-content-inactive",i.selectedIndex!==t),u("@horizontalStepTransition",be(8,Ui,i._getAnimationDirection(t),_t(6,Hi,i._getAnimationDuration())))("id",i._getStepContentId(t)),j("aria-labelledby",i._getStepLabelId(t)),m(),u("ngTemplateOutlet",e.content)}}function On(n,l){if(n&1&&(a(0,"div",1)(1,"div",2),ke(2,Dn,2,6,null,null,Re),s(),a(4,"div",3),ke(5,Tn,2,11,"div",4,Re),s()()),n&2){let e=f();m(2),Ae(e.steps),m(3),Ae(e.steps)}}function Rn(n,l){if(n&1){let e=V();a(0,"div",9),$(1,5),a(2,"div",10)(3,"div",11),h("@verticalStepTransition.done",function(i){v(e);let r=f(2);return C(r._animationDone.next(i))}),a(4,"div",12),$(5,8),s()()()()}if(n&2){let e=l.$implicit,t=l.$index,i=l.$count,r=f(2),o=M(4);m(),u("ngTemplateOutlet",o)("ngTemplateOutletContext",be(10,Li,e,t)),m(),D("mat-stepper-vertical-line",t!==i-1),m(),D("mat-vertical-stepper-content-inactive",r.selectedIndex!==t),u("@verticalStepTransition",be(15,Ui,r._getAnimationDirection(t),_t(13,Hi,r._getAnimationDuration())))("id",r._getStepContentId(t)),j("aria-labelledby",r._getStepLabelId(t)),m(2),u("ngTemplateOutlet",e.content)}}function kn(n,l){if(n&1&&ke(0,Rn,6,18,"div",9,Re),n&2){let e=f();Ae(e.steps)}}function An(n,l){if(n&1){let e=V();a(0,"mat-step-header",13),h("click",function(){let i=v(e).step;return C(i.select())})("keydown",function(i){v(e);let r=f();return C(r._onKeydown(i))}),s()}if(n&2){let e=l.step,t=l.i,i=f();D("mat-horizontal-stepper-header",i.orientation==="horizontal")("mat-vertical-stepper-header",i.orientation==="vertical"),u("tabIndex",i._getFocusIndex()===t?0:-1)("id",i._getStepLabelId(t))("index",t)("state",i._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",i.selectedIndex===t)("active",i._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(t,e))("color",e.color||i.color),j("aria-posinset",t+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(t))("aria-selected",i.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",i._stepIsNavigable(t,e)?null:!0)}}var Dt=(()=>{class n extends Ft{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275dir=E({type:n,selectors:[["","matStepLabel",""]],features:[z]})}return n})(),lt=(()=>{class n{changes=new he;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(t){return new(t||n)};static \u0275prov=we({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Pn(n){return n||new lt}var Nn={provide:lt,deps:[[new mt,new ut,lt]],useFactory:Pn},Tt=(()=>{class n extends wt{_intl=d(lt);_focusMonitor=d(ai);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super(),d(It).load(pi),d(It).load(ni);let e=d(Le);this._intlSubscription=this._intl.changes.subscribe(()=>e.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof Dt?null:this.label}_templateLabel(){return this.label instanceof Dt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(t,i){t&2&&Oe("mat-"+(i.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[z],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,i){if(t&1&&(S(0,"div",0),a(1,"div")(2,"div",1),x(3,hn,1,2,"ng-container",2)(4,bn,2,1),s()(),a(5,"div",3),x(6,yn,2,1,"div",4)(7,xn,2,1,"div",4)(8,Sn,2,1,"div",5)(9,Mn,2,1,"div",6),s()),t&2){let r;u("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),m(),qt("mat-step-icon-state-",i.state," mat-step-icon"),D("mat-step-icon-selected",i.selected),m(2),I(i.iconOverrides&&i.iconOverrides[i.state]?3:4),m(2),D("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error",i.state=="error"),m(),I((r=i._templateLabel())?6:i._stringLabel()?7:-1,r),m(2),I(i.optional&&i.state!="error"?8:-1),m(),I(i.state==="error"?9:-1)}},dependencies:[di,vt,Pi],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}'],encapsulation:2,changeDetection:0})}return n})(),Bi="500ms",ji="225ms",zi={horizontalStepTransition:Ct("horizontalStepTransition",[W("previous",G({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),W("current",G({transform:"none",visibility:"inherit"})),W("next",G({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),xt("* => *",yt([bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Mt("@*",St(),{optional:!0})]),{params:{animationDuration:Bi}})]),verticalStepTransition:Ct("verticalStepTransition",[W("previous",G({height:"0px",visibility:"hidden"})),W("next",G({height:"0px",visibility:"hidden"})),W("current",G({height:"*",visibility:"inherit"})),xt("* <=> current",yt([bt("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Mt("@*",St(),{optional:!0})]),{params:{animationDuration:ji}})])},Ot=(()=>{class n{templateRef=d(ie);name;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return n})(),zn=(()=>{class n{_template=d(ie);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=E({type:n,selectors:[["ng-template","matStepContent",""]]})}return n})(),Rt=(()=>{class n extends ot{_errorStateMatcher=d(je,{skipSelf:!0});_viewContainerRef=d($t);_isSelected=Me.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Lt(()=>this._stepper.selectionChange.pipe(N(e=>e.selectedStep===this),J(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new gi(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){let i=this._errorStateMatcher.isErrorState(e,t),r=!!(e&&e.invalid&&this.interacted);return i||r}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275cmp=y({type:n,selectors:[["mat-step"]],contentQueries:function(t,i,r){if(t&1&&(T(r,Dt,5),T(r,zn,5)),t&2){let o;w(o=F())&&(i.stepLabel=o.first),w(o=F())&&(i._lazyContent=o.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[ft([{provide:je,useExisting:n},{provide:ot,useExisting:n}]),z],ngContentSelectors:Vi,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,i){t&1&&(q(),x(0,En,2,1,"ng-template"))},dependencies:[vi],encapsulation:2,changeDetection:0})}return n})(),fe=(()=>{class n extends ye{_stepHeader=void 0;_steps=void 0;steps=new ve;_icons;animationDone=new X;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};_animationDone=new he;get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!d(ti).isBrowser;constructor(){super();let t=d(R).nativeElement.nodeName.toLowerCase();this.orientation=t==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(B(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(B(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Bi:ji}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,i,r){if(t&1&&(T(r,Rt,5),T(r,Ot,5)),t&2){let o;w(o=F())&&(i._steps=o),w(o=F())&&(i._icons=o)}},viewQuery:function(t,i){if(t&1&&Ne(Tt,5),t&2){let r;w(r=F())&&(i._stepHeader=r)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,i){t&2&&(j("aria-orientation",i.orientation),D("mat-stepper-horizontal",i.orientation==="horizontal")("mat-stepper-vertical",i.orientation==="vertical")("mat-stepper-label-position-end",i.orientation==="horizontal"&&i.labelPosition=="end")("mat-stepper-label-position-bottom",i.orientation==="horizontal"&&i.labelPosition=="bottom")("mat-stepper-header-position-bottom",i.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[ft([{provide:ye,useExisting:n}]),z],ngContentSelectors:Vi,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(t,i){if(t&1&&(q(),x(0,wn,1,0)(1,On,7,0,"div",1)(2,kn,2,0)(3,An,1,23,"ng-template",null,0,Wt)),t&2){let r;I(i._isServer?0:-1),m(),I((r=i.orientation)==="horizontal"?1:r==="vertical"?2:-1)}},dependencies:[vt,Tt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[zi.horizontalStepTransition,zi.verticalStepTransition]},changeDetection:0})}return n})(),$i=(()=>{class n extends Fi{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Fe(n)))(i||n)}})();static \u0275dir=E({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,i){t&2&&Pe("type",i.type)},features:[z]})}return n})();var qi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ne({type:n});static \u0275inj=Z({providers:[Nn,je],imports:[re,Ci,Di,Ni,mi,fe,Tt,re]})}return n})();var Qi=(()=>{class n{ngControl;constructor(e){this.ngControl=e}onInput(e){this.#e(e.toUpperCase())}#e(e){this.ngControl.control&&this.ngControl.control.setValue(e,{emitEvent:!1})}static \u0275fac=function(t){return new(t||n)(te(Qe))};static \u0275dir=E({type:n,selectors:[["input","devmxUpper",""]],hostBindings:function(t,i){t&1&&h("input",function(o){return i.onInput(o.target.value)})}})}return n})();var Ln=["inputA"],Yi=(()=>{class n extends H{elRef;ngControl;inputA=Te("inputA");get inputAElm(){return this.inputA()?.nativeElement}get control(){return this.ngControl.control}constructor(e,t,i){super(e,t,!0),this.elRef=t,this.ngControl=i,this.ngControl.valueAccessor=this,this.form.valueChanges.subscribe(()=>{if(this.form.valid){let{a:r,b:o,c:p,d:_}=this.form.getRawValue();this.control.setValue(`${r+o+p+_}`.toUpperCase())}})}form=new U({a:new b("",{nonNullable:!0,validators:[g.required]}),b:new b("",{nonNullable:!0,validators:[g.required]}),c:new b("",{nonNullable:!0,validators:[g.required]}),d:new b("",{nonNullable:!0,validators:[g.required]})});onInput(e,t){e.value.length===1&&t&&t.focus()}onPaste(e,t){e.preventDefault();let i=e.clipboardData?.getData("text")??"";if(i.length===4){let[r,o,p,_]=i.split("");this.form.controls.a.setValue(r),this.form.controls.b.setValue(o),this.form.controls.c.setValue(p),this.form.controls.d.setValue(_),t.focus()}}static \u0275fac=function(t){return new(t||n)(te(jt),te(R),te(Qe,10))};static \u0275cmp=y({type:n,selectors:[["devmx-code-field"]],viewQuery:function(t,i){t&1&&ze(i.inputA,Ln,5),t&2&&Ve()},exportAs:["devmxCodeField"],features:[z],decls:13,vars:1,consts:[["inputA",""],["inputB",""],["inputC",""],["inputD",""],[3,"formGroup"],[1,"code-field"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","a",3,"input","paste"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","b",3,"input","keyup.backspace"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","c",3,"input","keyup.backspace"],["matInput","","devmxUpper","","minlength","1","maxlength","1","formControlName","d",3,"input","keyup.backspace"]],template:function(t,i){if(t&1){let r=V();a(0,"div",4)(1,"mat-form-field",5)(2,"input",6,0),h("input",function(){v(r);let p=M(3),_=M(6);return C(i.onInput(p,_))})("paste",function(p){v(r);let _=M(12);return C(i.onPaste(p,_))}),s()(),a(4,"mat-form-field",5)(5,"input",7,1),h("input",function(){v(r);let p=M(6),_=M(9);return C(i.onInput(p,_))})("keyup.backspace",function(){v(r);let p=M(3);return C(p.focus())}),s()(),a(7,"mat-form-field",5)(8,"input",8,2),h("input",function(){v(r);let p=M(9),_=M(12);return C(i.onInput(p,_))})("keyup.backspace",function(){v(r);let p=M(6);return C(p.focus())}),s()(),a(10,"mat-form-field",5)(11,"input",9,3),h("input",function(){v(r);let p=M(12);return C(i.onInput(p))})("keyup.backspace",function(){v(r);let p=M(9);return C(p.focus())}),s()()()}t&2&&u("formGroup",i.form)},dependencies:[de,H,se,le,hi,_i,ce,pe,ae,oe,ue,me,Qi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{gap:1em;display:flex;justify-content:space-between}[_nghost-%COMP%] .code-field[_ngcontent-%COMP%]{width:2.8em}"],changeDetection:0})}return n})();var ct=class extends U{constructor(){super({name:new b("",{nonNullable:!0,validators:[g.required,g.pattern(/^[a-z0-9]+$/)]}),code:new b("",{nonNullable:!0})})}};var pt=class extends U{constructor(){super({member:new b(!0,{nonNullable:!0,validators:[g.requiredTrue]}),academic:new b(!1,{nonNullable:!0}),recruiter:new b(!1,{nonNullable:!0}),speaker:new b(!1,{nonNullable:!0})})}};var dt=class extends U{constructor(){super({name:new b("",{nonNullable:!0,validators:[g.required,g.pattern(/^[a-z0-9]+$/)]}),displayName:new b("",{nonNullable:!0,validators:[g.required]}),email:new b("",{nonNullable:!0,validators:[g.required,g.email]}),roles:new pt})}};var Ki=()=>["..","cadastrar"];function Bn(n,l){n&1&&(Ut(),a(0,"svg",21),S(1,"path",22),s())}var Ji=(()=>{class n{route=d(He);router=d(Ue);stepper=Te(fe);authenticationFacade=d(rt);form=new ct;constructor(){this.authenticationFacade.connected$.pipe(Et()).subscribe(e=>{let{redirectTo:t}=this.route.snapshot.queryParams;e&&t?this.router.navigateByUrl(t):e&&this.router.navigate(["/"])}),this.form.controls.code.valueChanges.pipe(Et()).subscribe(e=>{e.length===4&&this.validateUserCode()})}sendUserCode(){if(this.form.valid){let e=this.form.getRawValue();this.authenticationFacade.sendUserCode(e);let t=[g.required];this.form.controls.code.addValidators(t)}}validateUserCode(){if(this.form.valid){let e=this.form.getRawValue();this.authenticationFacade.validateUserCode(e)}}onAnimationDone(e,t){let i=this.stepper();if(i)switch(i.selectedIndex){case 0:return t.focus();case 1:default:return e.inputAElm?.focus()}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-authentication"]],viewQuery:function(t,i){t&1&&ze(i.stepper,fe,5),t&2&&Ve()},decls:40,vars:14,consts:[["stepper",""],["nameRef",""],["codeFieldRef","devmxCodeField"],[1,"authentication-card"],[1,"authentication-card-header"],["mat-card-avatar","","src","devmx.svg","alt","devmx logo"],[1,"authentication-card-content"],["mat-raised-button","",3,"routerLink","queryParams"],[3,"linear"],["label","Identifique-se",3,"stepControl"],["matStepperIcon","edit"],[3,"submit","formGroup"],["matInput","","formControlName","name","autocomplete","username","autofocus",""],["mat-button","","matStepperNext",""],["label","Confirme sua identidade",3,"stepControl"],[3,"formGroup"],["formControlName","code"],[1,"auth-resend-button"],["mat-button","","type","button",3,"click"],["mat-button","",3,"routerLink","queryParams"],["target","_blank","rel","noopener noreferrer","href","https://wa.me/5544991422726?text=Gui,%20me%20ajuda!%20Estou%20sem%20acesso%20a%20minha%20conta%20no%20portal%20devparana.mx","mat-button",""],["width","16","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 5L10.7721 11.045C11.4943 11.6067 12.5057 11.6067 13.2279 11.045L21 5M5.2 20H18.8C19.9201 20 20.4802 20 20.908 19.782C21.2843 19.5903 21.5903 19.2843 21.782 18.908C22 18.4802 22 17.9201 22 16.8V7.2C22 6.0799 22 5.51984 21.782 5.09202C21.5903 4.71569 21.2843 4.40973 20.908 4.21799C20.4802 4 19.9201 4 18.8 4H5.2C4.07989 4 3.51984 4 3.09202 4.21799C2.71569 4.40973 2.40973 4.71569 2.21799 5.09202C2 5.51984 2 6.07989 2 7.2V16.8C2 17.9201 2 18.4802 2.21799 18.908C2.40973 19.2843 2.71569 19.5903 3.09202 19.782C3.51984 20 4.0799 20 5.2 20Z","stroke","currentColor","stroke-width","2"]],template:function(t,i){if(t&1){let r=V();a(0,"div")(1,"mat-card",3)(2,"mat-card-header",4),S(3,"img",5),a(4,"mat-card-title"),c(5,"Autentica\xE7\xE3o"),s(),a(6,"mat-card-subtitle"),c(7,"Em dois toques"),s()(),a(8,"mat-card-content",6)(9,"a",7),c(10," Quero criar minha conta "),s()(),a(11,"mat-vertical-stepper",8,0)(13,"mat-step",9),x(14,Bn,2,0,"ng-template",10),a(15,"form",11),h("submit",function(){return v(r),C(i.sendUserCode())}),a(16,"mat-form-field")(17,"mat-label"),c(18,"Seu usu\xE1rio"),s(),S(19,"input",12,1),a(21,"mat-error"),c(22,"Obrigat\xF3rio"),s()(),a(23,"button",13),c(24,"Enviar c\xF3digo por e-mail"),s()()(),a(25,"mat-step",14)(26,"form",15)(27,"p"),c(28),Qt(29,"async"),s(),S(30,"devmx-code-field",16,2),a(32,"div",17)(33,"button",18),h("click",function(){return v(r),C(i.sendUserCode())}),c(34," Reenviar c\xF3digo "),s()()()()()(),a(35,"footer")(36,"a",19),c(37," Criar minha conta "),s(),a(38,"a",20),c(39," Recuperar conta "),s()()()}t&2&&(m(9),u("routerLink",ht(12,Ki))("queryParams",i.route.snapshot.queryParams),m(2),u("linear",!0),m(2),u("stepControl",i.form),m(2),u("formGroup",i.form),m(10),u("stepControl",i.form),m(),u("formGroup",i.form),m(2),O(Gt(29,10,i.authenticationFacade.message$)),m(8),u("routerLink",ht(13,Ki))("queryParams",i.route.snapshot.queryParams))},dependencies:[de,Ge,H,se,le,ce,pe,ae,oe,$e,qe,Yi,qi,Rt,fe,$i,Ot,Ke,Ye,We,ue,me,nt,Je,it,Xe,tt,et,Ze,Be,Kt],styles:[`[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f1edec;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23f4f1f0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23f7f4f4' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23f9f8f7' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23fcfbfb' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFFFFF' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffffff' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffffff' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");background-attachment:fixed;background-size:cover}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column;margin-top:.8em}[_nghost-%COMP%] .authentication-card[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .authentication-card-header[_ngcontent-%COMP%] .mat-mdc-card-title[_ngcontent-%COMP%]{font-size:1.2em}[_nghost-%COMP%] .authentication-card-header[_ngcontent-%COMP%] .mat-mdc-card-subtitle[_ngcontent-%COMP%]{font-size:1em;opacity:.8}[_nghost-%COMP%] .authentication-card-content[_ngcontent-%COMP%]{padding:.3em 3.8em 1em}[_nghost-%COMP%] .authentication-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:80%;opacity:.8}[_nghost-%COMP%] .auth-resend-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:space-between}`],changeDetection:0})}return n})();function jn(n,l){n&1&&c(0," Use apenas letras do alfabeto min\xFAsculas ")}function $n(n,l){n&1&&c(0," Obrigat\xF3rio ")}function qn(n,l){n&1&&(a(0,"mat-error"),c(1,"\xC9 obrigat\xF3rio ser membro"),s())}var Zi=(()=>{class n{authFacade=d(rt);message=d(bi);dialog=d(Mi);route=d(He);router=d(Ue);form=new dt;onSubmit(){if(this.form.valid){let e=this.form.getRawValue();this.authFacade.createUser(e).pipe(Ie(1)).subscribe(()=>{let{redirectTo:r}=this.route.snapshot.queryParams,o={redirectTo:r},p=["/","conta","autenticacao","acessar"];this.router.navigate(p,{queryParams:o})});let i=`Conta ${e.name} criada`;this.message.open({message:i})}}openConduteCode(){this.dialog.readMe("https://raw.githubusercontent.com/DeveloperParana/conduta/refs/heads/master/README.md").subscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["devmx-registration"]],decls:54,vars:4,consts:[[3,"submit","formGroup"],[1,"registration-card"],[1,"registration-card-header"],["mat-card-avatar","","src","devmx.svg","alt","devmx logo"],[1,"registration-card-content"],["matInput","","formControlName","displayName","placeholder","Ex.: Francisco Thiago","autocomplete","name","autofocus",""],["matInput","","formControlName","name","autocomplete","username","placeholder","Ex.: chico"],["matInput","","type","email","formControlName","email","autocomplete","email"],["formGroupName","roles",1,"registration-roles"],["formControlName","member"],["formControlName","speaker"],["formControlName","recruiter"],["formControlName","academic"],[1,"registration-card-actions"],["mat-flat-button",""],["routerLink","../acessar","mat-button",""],["href","#"],["href","javascript:void(0)",3,"click"]],template:function(t,i){t&1&&(a(0,"div")(1,"form",0),h("submit",function(){return i.onSubmit()}),a(2,"mat-card",1)(3,"mat-card-header",2),S(4,"img",3),a(5,"mat-card-title"),c(6,"Acesse a comunidade"),s(),a(7,"mat-card-subtitle"),c(8,"Fa\xE7a parte da DevParan\xE1"),s()(),a(9,"mat-card-content",4)(10,"mat-form-field")(11,"mat-label"),c(12,"Seu nome"),s(),S(13,"input",5),a(14,"mat-error"),c(15,"Obrigat\xF3rio"),s()(),a(16,"mat-form-field")(17,"mat-label"),c(18,"Seu usu\xE1rio"),s(),S(19,"input",6),a(20,"mat-error"),x(21,jn,1,0)(22,$n,1,0),s()(),a(23,"mat-form-field")(24,"mat-label"),c(25,"Seu e-mail"),s(),S(26,"input",7),a(27,"mat-error"),c(28,"Endere\xE7o inv\xE1lido"),s()(),a(29,"div",8)(30,"mat-checkbox",9),c(31," Sou membro da comunidade "),s(),x(32,qn,2,0,"mat-error"),a(33,"mat-checkbox",10),c(34," Sou ou quero ser palestrante "),s(),a(35,"mat-checkbox",11),c(36," Sou recrutador de talentos "),s(),a(37,"mat-checkbox",12),c(38," Sou da \xE1rea acad\xEAmica "),s()()(),a(39,"mat-card-actions",13)(40,"button",14),c(41,"Cadastrar"),s(),a(42,"a",15),c(43," J\xE1 tenho uma conta "),s()()(),a(44,"footer"),c(45," Ao continuar, voc\xEA concorda com nossos "),a(46,"a",16),c(47,"Termos de Servi\xE7o"),s(),c(48,", reconhece nossa "),a(49,"a",16),c(50,"Pol\xEDtica de Privacidade"),s(),c(51," e "),a(52,"a",17),h("click",function(){return i.openConduteCode()}),c(53," C\xF3digo de Conduta "),s()()()()),t&2&&(m(),u("formGroup",i.form),m(20),I(i.form.controls.name.hasError("pattern")?21:-1),m(),I(i.form.controls.name.hasError("required")?22:-1),m(10),I(i.form.controls.roles.controls.member.errors?32:-1))},dependencies:[de,Ge,H,se,le,ce,pe,fi,ae,oe,$e,qe,Si,xi,Ke,Ye,We,ue,me,nt,Je,yi,it,Xe,tt,et,Ze,ei,Be],styles:[`[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f1edec;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23f4f1f0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23f7f4f4' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23f9f8f7' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23fcfbfb' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFFFFF' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffffff' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffffff' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffffff' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");background-attachment:fixed;background-size:cover}[_nghost-%COMP%] form[_ngcontent-%COMP%]{gap:1em;margin:.8em 1em 1em;max-width:24em;display:flex;flex-direction:column}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%]{min-width:22em;overflow:hidden}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%]{margin-bottom:1em}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%] .mat-mdc-card-title[_ngcontent-%COMP%]{font-size:1.2em}[_nghost-%COMP%] .registration-card-header[_ngcontent-%COMP%] .mat-mdc-card-subtitle[_ngcontent-%COMP%]{font-size:1em;opacity:.8}[_nghost-%COMP%] .registration-card-content[_ngcontent-%COMP%]{gap:.8em;display:flex;margin-bottom:.8em;flex-direction:column}[_nghost-%COMP%] .registration-card-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:space-between}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%] .registration-roles[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:column}[_nghost-%COMP%] .registration-card[_ngcontent-%COMP%] .registration-roles[_ngcontent-%COMP%] .mat-mdc-form-field-error[_ngcontent-%COMP%]{margin-left:1em}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{margin:.4em 0;font-size:78%;text-align:center}`],changeDetection:0})}return n})();var da=[{path:"",providers:wi,component:Ei,children:[{path:"acessar",title:"Acessar",component:Ji},{path:"cadastrar",title:"Cadastrar",component:Zi},{path:"",redirectTo:"acessar",pathMatch:"full"}]}];export{Ei as AccountFeatureAuthComponent,da as accountFeatureAuthRoutes}; diff --git a/index.html b/index.html index 48aaabc2..428733c2 100644 --- a/index.html +++ b/index.html @@ -75,5 +75,5 @@ - + diff --git a/main-2NY6J6PO.js b/main-2NY6J6PO.js new file mode 100644 index 00000000..3807ecd7 --- /dev/null +++ b/main-2NY6J6PO.js @@ -0,0 +1,5 @@ +import{d as ke}from"./chunk-XCFSI5KM.js";import{c as Ne}from"./chunk-FY4SNPSV.js";import{b as Le}from"./chunk-FKKUCUPL.js";import{a as H,b as F}from"./chunk-RN4QN3AM.js";import{a as je}from"./chunk-FTG3SWGJ.js";import{b as _e}from"./chunk-HY6WPF2C.js";import{b as xe}from"./chunk-C7FIZGKV.js";import{e as De}from"./chunk-7ZNDEEZ6.js";import"./chunk-XIUDFJWJ.js";import{a as Ue,c as He}from"./chunk-5MUU2WLY.js";import{x as Pe,y as Fe}from"./chunk-7BKB7KKA.js";import{h as Oe}from"./chunk-TJJFEYFG.js";import"./chunk-76QZXEBP.js";import{a as be,b as Ee,h as we,i as Ce,j as Se,l as Me,m as Ae,n as Te,o as Ie}from"./chunk-7RMPQIRR.js";import"./chunk-I7VYXJU2.js";import{E as Re,a as me,c as he,d as ge,e as fe,f as ve,g as ye}from"./chunk-CG5OOKZO.js";import{A as _,Bb as se,Be as U,Ca as te,D as N,Db as j,E as h,F as y,Fa as R,Ga as re,L as p,N as Z,Oa as L,P as J,Pa as oe,Pc as ce,Qc as le,Rc as de,Sa as ne,U as G,Wd as ue,_ as b,a as z,ba as Q,bc as w,ca as X,cc as C,dc as S,ea as E,ed as pe,ha as g,j as $,ja as D,ka as c,na as I,nb as ie,o as q,p as T,q as Y,rb as ae,t as d,ub as O,x as K,xc as P,y as k,za as ee}from"./chunk-5L47ZUSK.js";var Ve=(()=>{class r{static \u0275fac=function(o){return new(o||r)};static \u0275cmp=O({type:r,selectors:[["devmx-root"]],decls:1,vars:0,template:function(o,n){o&1&&S(0,"router-outlet")},dependencies:[we],styles:["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}"]})}return r})();var ot="@",nt=(()=>{class r{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=c(te,{optional:!0});loadingSchedulerFn=c(it,{optional:!0});_engine;constructor(e,o,n,a,i){this.doc=e,this.delegate=o,this.zone=n,this.animationType=a,this.moduleImpl=i}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-WV46BQJH.js").then(n=>n),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(n=>{throw new X(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:a})=>{this._engine=n(this.animationType,this.doc);let i=new a(this.delegate,this._engine,this.zone);return this.delegate=i,i})}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=!1);let a=new B(n);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(i=>{let s=i.createRenderer(e,o);a.use(s),this.scheduler?.notify(11)}).catch(i=>{a.use(n)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(o){ie()};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})(),B=class{delegate;replay=[];\u0275type=1;constructor(t){this.delegate=t}use(t){if(this.delegate=t,this.replay!==null){for(let e of this.replay)e(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,e){this.delegate.appendChild(t,e)}insertBefore(t,e,o,n){this.delegate.insertBefore(t,e,o,n)}removeChild(t,e,o){this.delegate.removeChild(t,e,o)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,o,n){this.delegate.setAttribute(t,e,o,n)}removeAttribute(t,e,o){this.delegate.removeAttribute(t,e,o)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,o,n){this.delegate.setStyle(t,e,o,n)}removeStyle(t,e,o){this.delegate.removeStyle(t,e,o)}setProperty(t,e,o){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(t,e,o)),this.delegate.setProperty(t,e,o)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,o){return this.shouldReplay(e)&&this.replay.push(n=>n.listen(t,e,o)),this.delegate.listen(t,e,o)}shouldReplay(t){return this.replay!==null&&t.startsWith(ot)}},it=new g("");function Be(r="animations"){return ne("NgAsyncAnimations"),I([{provide:ae,useFactory:(t,e,o)=>new nt(t,e,o,r),deps:[pe,be,R]},{provide:oe,useValue:r==="noop"?"NoopAnimations":"BrowserAnimations"}])}var We=(r,t)=>{let e=localStorage.getItem("accessToken"),o;e?o={headers:r.headers.set("Authorization",`Bearer ${e}`)}:o={};let n=r.clone(o);return t(n)};function ze(r){return{provide:H,useFactory(t){return new H(t)},deps:[r]}}var $e=new g("layout.sidenav.sections");function qe(r=[]){return[{provide:$e,useValue:r},{provide:F,deps:[Re,$e]}]}var Ye=(r,t)=>{let e=c(F);return e.setLoader(!0),t(r).pipe(J(()=>e.setLoader(!1)))};var A="Service workers are disabled or not supported by this browser";function at(r){return k(()=>Y(new Error(r)))}var f=class{serviceWorker;worker;registration;events;constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=at(A);else{let o=_(t,"controllerchange").pipe(d(()=>t.controller)),n=k(()=>T(t.controller)),a=K(n,o);this.worker=a.pipe(y(m=>!!m)),this.registration=this.worker.pipe(b(()=>t.getRegistration()));let v=_(t,"message").pipe(d(m=>m.data)).pipe(y(m=>m&&m.type)).pipe(G());v.connect(),this.events=v}}postMessage(t,e){return this.worker.pipe(p(1),Q(o=>{o.postMessage(z({action:t},e))})).toPromise().then(()=>{})}postMessageWithOperation(t,e,o){let n=this.waitForOperationCompleted(o),a=this.postMessage(t,e);return Promise.all([a,n]).then(([,i])=>i)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let e;return typeof t=="string"?e=o=>o.type===t:e=o=>t.includes(o.type),this.events.pipe(y(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(p(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(y(e=>e.nonce===t),p(1),d(e=>{if(e.result!==void 0)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},st=(()=>{class r{sw;messages;notificationClicks;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new $;constructor(e){if(this.sw=e,!e.isEnabled){this.messages=h,this.notificationClicks=h,this.subscription=h;return}this.messages=this.sw.eventsOfType("PUSH").pipe(d(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(d(n=>n.data)),this.pushManager=this.sw.registration.pipe(d(n=>n.pushManager));let o=this.pushManager.pipe(b(n=>n.getSubscription()));this.subscription=N(o,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(A));let o={userVisibleOnly:!0},n=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(n.length));for(let i=0;ii.subscribe(o)),p(1)).toPromise().then(i=>(this.subscriptionChanges.next(i),i))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=o=>{if(o===null)throw new Error("Not subscribed to push notifications.");return o.unsubscribe().then(n=>{if(!n)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(p(1),b(e)).toPromise()}decodeBase64(e){return atob(e)}static \u0275fac=function(o){return new(o||r)(D(f))};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})(),ct=(()=>{class r{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=h,this.unrecoverable=h;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static \u0275fac=function(o){return new(o||r)(D(f))};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})();var Ke=new g("");function lt(r,t,e,o){return()=>{if(!(U(o)&&"serviceWorker"in navigator&&e.enabled!==!1))return;let n=r.get(R),a=r.get(j);n.runOutsideAngular(()=>{let s=navigator.serviceWorker,l=()=>s.controller?.postMessage({action:"INITIALIZE"});s.addEventListener("controllerchange",l),a.onDestroy(()=>{s.removeEventListener("controllerchange",l)})});let i;if(typeof e.registrationStrategy=="function")i=e.registrationStrategy();else{let[s,...l]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":i=T(null);break;case"registerWithDelay":i=Ze(+l[0]||0);break;case"registerWhenStable":let v=q(r.get(j).whenStable());i=l[0]?N(v,Ze(+l[0])):v;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}n.runOutsideAngular(()=>i.pipe(p(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function Ze(r){return T(null).pipe(Z(r))}function dt(r,t){return new f(U(t)&&r.enabled!==!1?navigator.serviceWorker:void 0)}var M=class{enabled;scope;registrationStrategy};function Je(r,t={}){return I([st,ct,{provide:Ke,useValue:r},{provide:M,useValue:t},{provide:f,useFactory:dt,deps:[M,L]},{provide:se,useFactory:lt,deps:[ee,Ke,M,L],multi:!0}])}var Ge=[];var x=class{router;messageService;constructor(){this.router=c(Ce),this.messageService=c(je),localStorage.getItem("accessToken")&&(onstorage=this.#e)}#e=({key:t,newValue:e})=>{t==="accessToken"&&!e&&this.router.navigateByUrl("/conta/autenticacao")};handleError(t){if(console.error(t),t instanceof he){let{message:e}=t.error;if(this.showMessage(t.status,e),t.status===401){let o={redirectTo:this.router.url};this.router.navigate(["/","conta","autenticacao"],{queryParams:o}),localStorage.removeItem("accessToken")}}}showMessage(t,e){let o=t>=400&&t<500?"error":"warn";this.messageService.open({message:e,type:o})}};var Qe=[{label:"Navega\xE7\xE3o",expanded:!0,links:[{label:"Inicio",route:["/conta"],icon:"menu/home-4"},{label:"Eventos",route:["/eventos"],icon:"calendar"},{label:"Fotos",route:["/albuns"],icon:"camera-shutter"},{label:"Conhecimento",route:["/apresentacoes"],icon:"presentation"},{label:"Vagas",route:["/carreiras"],icon:"finance/bullseye"},{label:"Academia",route:["/academia"],icon:"academic-cap"}]},{label:"Administra\xE7\xE3o",expanded:!0,links:[{label:"Eventos",route:["/eventos","administracao"],icon:"calendar-tasks",roles:["leader"]},{label:"Fotos",route:["/albuns","administracao","meus-albuns"],icon:"camera-shutter",roles:["leader","fellow","director","manager","staff","speaker"]},{label:"Apresenta\xE7\xF5es",route:["/apresentacoes","administracao"],icon:"presentation",roles:["speaker"]},{label:"Academia",route:["/academia","administracao","meus-cursos"],icon:"academic-cap",roles:["leader","fellow","director","manager","staff","academic"]},{label:"Vagas",route:["/carreiras","administracao"],icon:"music/speaker",roles:["recruiter"]},{label:"Aprenda",route:["/aprenda","administracao"],icon:"book-opened",roles:["member"]},{label:"Sobre voc\xEA",route:["/conta","configuracoes"],icon:"doc/id-card",roles:["member"]},{label:"Sair",route:["/conta","sair"],icon:"exit"}]},{label:"Gerenciamento",expanded:!0,links:[{label:"Eventos",route:["/eventos","administracao","gerenciar-eventos"],icon:"calendar-tasks",roles:["manager","director","staff"]},{label:"Fotos",route:["/albuns","administracao","gerenciar-albuns"],icon:"camera-shutter",roles:["director","manager","staff"]},{label:"Apresenta\xE7\xF5es",route:["/apresentacoes","administracao","gerenciar-apresentacoes"],icon:"presentation",roles:["manager","director","staff"]},{label:"Vagas",route:["/carreiras","administracao","gerenciar-ofertas"],icon:"music/speaker",roles:["manager","director","staff"]},{label:"Academia",route:["/academia","administracao","gerenciar-cursos"],icon:"academic-cap",roles:["manager","director","staff"]},{label:"Usu\xE1rios",route:["/conta","administracao","usuarios"],icon:"gear",roles:["manager","director"]}]}];function pt(r){let t=r,e=Math.floor(Math.abs(r)),o=r.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(r.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===Math.floor(e)&&e>=0&&e<=1?1:n===0&&e!==0&&e%1e6===0&&o===0||!(n>=0&&n<=5)?4:5}var Xe=["pt",[["AM","PM"],void 0,void 0],void 0,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."],["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],void 0,[["a.C.","d.C."],void 0,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],PTE:["Esc."],RON:[void 0,"L"],SYP:[void 0,"S\xA3"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",pt];var et=(()=>{class r{static \u0275fac=function(o){return new(o||r)};static \u0275cmp=O({type:r,selectors:[["devmx-not-found"]],decls:10,vars:0,consts:[["src","devmx.svg"],["routerLink","/conta"],["src","devpr.svg","width","100"]],template:function(o,n){o&1&&(w(0,"div"),S(1,"img",0),w(2,"main")(3,"h2"),P(4,"404"),C(),w(5,"h3"),P(6,"P\xE1gina n\xE3o encontrada"),C(),w(7,"a",1),P(8,"Acesse sua conta"),C()(),S(9,"img",2),C())},dependencies:[Se],styles:["[_nghost-%COMP%]{height:100vh;display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{flex:1;gap:2em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:4.04em;text-align:center;font-weight:600}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;color:#00f}"],changeDetection:0})}return r})();var tt=[{path:"vagas",loadChildren:()=>import("./chunk-K7TUA2BU.js").then(r=>r.careerFeaturePageRoutes)},{path:"sobre",loadChildren:()=>import("./chunk-KJGJNKOT.js").then(r=>r.accountFeatureAboutRoutes)},{path:"evento",loadChildren:()=>import("./chunk-3IM4ETQJ.js").then(r=>r.eventFeaturePageRoutes)},{path:"albuns",loadChildren:()=>import("./chunk-R2DS22I4.js").then(r=>r.albumFeatureShellRoutes)},{path:"carreiras",loadChildren:()=>import("./chunk-44YUKMNR.js").then(r=>r.careerFeatureShellRoutes)},{path:"eventos",loadChildren:()=>import("./chunk-IWNQKLZQ.js").then(r=>r.eventFeatureShellRoutes)},{path:"apresentacoes",loadChildren:()=>import("./chunk-SHFAOAWS.js").then(r=>r.presentationFeatureShellRoutes)},{path:"conta",loadChildren:()=>import("./chunk-PUZOD6N6.js").then(r=>r.accountFeatureShellRoutes)},{path:"academia",loadChildren:()=>import("./chunk-BET5XOG5.js").then(r=>r.academyFeatureShellRoutes)},{path:"aprenda",loadChildren:()=>import("./chunk-HTIZBTEM.js").then(r=>r.learnFeatureShellRoutes)},{path:"",pathMatch:"full",redirectTo:"conta"},{path:"**",component:et}];var u={prod:!0,api:{url:"https://api.devparana.mx/api"},photos:{url:"https://api.devparana.mx/photos"},covers:{events:{url:"https://api.devparana.mx/events/covers"}},googleTag:"G-3562LSS0KB"};ue(Xe,"pt-BR",Ge);var rt={providers:[ce({eventCoalescing:!0}),Me(tt,Ie(),Te(),Ae({onSameUrlNavigation:"ignore",urlUpdateStrategy:"deferred"})),Be(),{provide:le,useValue:"pt-BR"},{provide:re,useClass:x},qe(Qe),ve(ye([We,Ye])),{provide:me,useExisting:fe},Fe(ge),...He(),ze(Ue),Pe(u),..._e(),...xe(),...De(),...Ne(),...ke(),...Le(),Je("ngsw-worker.js",{enabled:!de(),registrationStrategy:"registerWhenStable:30000"}),{provide:Oe,useValue:{appearance:"outline"}}]};var W=class extends HTMLScriptElement{connectedCallback(){this.setAttribute("async",""),this.setAttribute("src",`https://www.googletagmanager.com/gtag/js?id=${u.googleTag}`);let t=document.createElement("script");t.innerHTML=`window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', '${u.googleTag}');`,document.body.appendChild(t)}};customElements.define("google-tag",W,{extends:"script"});u.prod&&document.body.appendChild(document.createElement("script",{is:"google-tag"}));Ee(Ve,rt).catch(r=>console.error(r)); diff --git a/main-I2XGNJXV.js b/main-I2XGNJXV.js deleted file mode 100644 index a68b3ba8..00000000 --- a/main-I2XGNJXV.js +++ /dev/null @@ -1,5 +0,0 @@ -import{d as Fe}from"./chunk-6P3MPDKA.js";import{c as _e}from"./chunk-L2JQY5SP.js";import{b as ke}from"./chunk-GXQHMTZK.js";import{a as H,b as F}from"./chunk-WKFJTKSD.js";import{a as De}from"./chunk-WOE5TNBB.js";import{b as xe}from"./chunk-2GNIBV4J.js";import{b as Pe}from"./chunk-JNB3NYAZ.js";import{e as Ne}from"./chunk-V6KASOE3.js";import"./chunk-XIUDFJWJ.js";import{a as Le,c as je}from"./chunk-TPJZ2OYR.js";import{x as Re,y as Oe}from"./chunk-XYJHVZQT.js";import{h as Ie}from"./chunk-AND6K73U.js";import"./chunk-BJXILAOS.js";import{a as ve,b as ye,h as be,i as Ee,j as we,l as Ce,m as Se,n as Me,o as Ae}from"./chunk-6BGAZ7SQ.js";import"./chunk-I7VYXJU2.js";import{C as Te,b as me,c as he,d as ge,e as fe}from"./chunk-W5KNOAKV.js";import{A as N,Bb as se,Be as U,Ca as te,D as k,Db as j,E as h,F as y,Fa as R,Ga as re,L as p,N as Z,Oa as L,P as J,Pa as oe,Pc as ce,Qc as le,Rc as de,Sa as ne,U as G,Wd as ue,_ as b,a as z,ba as Q,bc as w,ca as X,cc as C,dc as S,ea as E,ed as pe,ha as g,j as $,ja as D,ka as c,na as I,nb as ie,o as q,p as T,q as Y,rb as ae,t as d,ub as O,x as K,xc as P,y as _,za as ee}from"./chunk-TEKHUYWQ.js";var Ue=(()=>{class r{static \u0275fac=function(o){return new(o||r)};static \u0275cmp=O({type:r,selectors:[["devmx-root"]],decls:1,vars:0,template:function(o,n){o&1&&S(0,"router-outlet")},dependencies:[be],styles:["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}"]})}return r})();var tt="@",rt=(()=>{class r{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=c(te,{optional:!0});loadingSchedulerFn=c(ot,{optional:!0});_engine;constructor(e,o,n,a,i){this.doc=e,this.delegate=o,this.zone=n,this.animationType=a,this.moduleImpl=i}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-J6QMVZUK.js").then(n=>n),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(n=>{throw new X(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:a})=>{this._engine=n(this.animationType,this.doc);let i=new a(this.delegate,this._engine,this.zone);return this.delegate=i,i})}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=!1);let a=new W(n);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(i=>{let s=i.createRenderer(e,o);a.use(s),this.scheduler?.notify(11)}).catch(i=>{a.use(n)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(o){ie()};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})(),W=class{delegate;replay=[];\u0275type=1;constructor(t){this.delegate=t}use(t){if(this.delegate=t,this.replay!==null){for(let e of this.replay)e(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,e){this.delegate.appendChild(t,e)}insertBefore(t,e,o,n){this.delegate.insertBefore(t,e,o,n)}removeChild(t,e,o){this.delegate.removeChild(t,e,o)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,o,n){this.delegate.setAttribute(t,e,o,n)}removeAttribute(t,e,o){this.delegate.removeAttribute(t,e,o)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,o,n){this.delegate.setStyle(t,e,o,n)}removeStyle(t,e,o){this.delegate.removeStyle(t,e,o)}setProperty(t,e,o){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(t,e,o)),this.delegate.setProperty(t,e,o)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,o){return this.shouldReplay(e)&&this.replay.push(n=>n.listen(t,e,o)),this.delegate.listen(t,e,o)}shouldReplay(t){return this.replay!==null&&t.startsWith(tt)}},ot=new g("");function He(r="animations"){return ne("NgAsyncAnimations"),I([{provide:ae,useFactory:(t,e,o)=>new rt(t,e,o,r),deps:[pe,ve,R]},{provide:oe,useValue:r==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ve=(r,t)=>{let e=localStorage.getItem("accessToken"),o;e?o={headers:r.headers.set("Authorization",`Bearer ${e}`)}:o={};let n=r.clone(o);return t(n)};function We(r){return{provide:H,useFactory(t){return new H(t)},deps:[r]}}var Be=new g("layout.sidenav.sections");function ze(r=[]){return[{provide:Be,useValue:r},{provide:F,deps:[Te,Be]}]}var $e=(r,t)=>{let e=c(F);return e.setLoader(!0),t(r).pipe(J(()=>e.setLoader(!1)))};var A="Service workers are disabled or not supported by this browser";function nt(r){return _(()=>Y(new Error(r)))}var f=class{serviceWorker;worker;registration;events;constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=nt(A);else{let o=N(t,"controllerchange").pipe(d(()=>t.controller)),n=_(()=>T(t.controller)),a=K(n,o);this.worker=a.pipe(y(m=>!!m)),this.registration=this.worker.pipe(b(()=>t.getRegistration()));let v=N(t,"message").pipe(d(m=>m.data)).pipe(y(m=>m&&m.type)).pipe(G());v.connect(),this.events=v}}postMessage(t,e){return this.worker.pipe(p(1),Q(o=>{o.postMessage(z({action:t},e))})).toPromise().then(()=>{})}postMessageWithOperation(t,e,o){let n=this.waitForOperationCompleted(o),a=this.postMessage(t,e);return Promise.all([a,n]).then(([,i])=>i)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let e;return typeof t=="string"?e=o=>o.type===t:e=o=>t.includes(o.type),this.events.pipe(y(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(p(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(y(e=>e.nonce===t),p(1),d(e=>{if(e.result!==void 0)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},it=(()=>{class r{sw;messages;notificationClicks;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new $;constructor(e){if(this.sw=e,!e.isEnabled){this.messages=h,this.notificationClicks=h,this.subscription=h;return}this.messages=this.sw.eventsOfType("PUSH").pipe(d(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(d(n=>n.data)),this.pushManager=this.sw.registration.pipe(d(n=>n.pushManager));let o=this.pushManager.pipe(b(n=>n.getSubscription()));this.subscription=k(o,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(A));let o={userVisibleOnly:!0},n=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(n.length));for(let i=0;ii.subscribe(o)),p(1)).toPromise().then(i=>(this.subscriptionChanges.next(i),i))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=o=>{if(o===null)throw new Error("Not subscribed to push notifications.");return o.unsubscribe().then(n=>{if(!n)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(p(1),b(e)).toPromise()}decodeBase64(e){return atob(e)}static \u0275fac=function(o){return new(o||r)(D(f))};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})(),at=(()=>{class r{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=h,this.unrecoverable=h;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static \u0275fac=function(o){return new(o||r)(D(f))};static \u0275prov=E({token:r,factory:r.\u0275fac})}return r})();var qe=new g("");function st(r,t,e,o){return()=>{if(!(U(o)&&"serviceWorker"in navigator&&e.enabled!==!1))return;let n=r.get(R),a=r.get(j);n.runOutsideAngular(()=>{let s=navigator.serviceWorker,l=()=>s.controller?.postMessage({action:"INITIALIZE"});s.addEventListener("controllerchange",l),a.onDestroy(()=>{s.removeEventListener("controllerchange",l)})});let i;if(typeof e.registrationStrategy=="function")i=e.registrationStrategy();else{let[s,...l]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":i=T(null);break;case"registerWithDelay":i=Ye(+l[0]||0);break;case"registerWhenStable":let v=q(r.get(j).whenStable());i=l[0]?k(v,Ye(+l[0])):v;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}n.runOutsideAngular(()=>i.pipe(p(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function Ye(r){return T(null).pipe(Z(r))}function ct(r,t){return new f(U(t)&&r.enabled!==!1?navigator.serviceWorker:void 0)}var M=class{enabled;scope;registrationStrategy};function Ke(r,t={}){return I([it,at,{provide:qe,useValue:r},{provide:M,useValue:t},{provide:f,useFactory:ct,deps:[M,L]},{provide:se,useFactory:st,deps:[ee,qe,M,L],multi:!0}])}var Ze=[];var x=class{router;messageService;constructor(){this.router=c(Ee),this.messageService=c(De),localStorage.getItem("accessToken")&&(onstorage=this.#e)}#e=({key:t,newValue:e})=>{t==="accessToken"&&!e&&this.router.navigateByUrl("/conta/autenticacao")};handleError(t){if(console.error(t),t instanceof me){let{message:e}=t.error;if(this.showMessage(t.status,e),t.status===401){let o={redirectTo:this.router.url};this.router.navigate(["/","conta","autenticacao"],{queryParams:o}),localStorage.removeItem("accessToken")}}}showMessage(t,e){let o=t>=400&&t<500?"error":"warn";this.messageService.open({message:e,type:o})}};var Je=[{label:"Navega\xE7\xE3o",expanded:!0,links:[{label:"Inicio",route:["/conta"],icon:"menu/home-4"},{label:"Eventos",route:["/eventos"],icon:"calendar"},{label:"Fotos",route:["/albuns"],icon:"camera-shutter"},{label:"Conhecimento",route:["/apresentacoes"],icon:"presentation"},{label:"Vagas",route:["/carreiras"],icon:"finance/bullseye"},{label:"Academia",route:["/academia"],icon:"academic-cap"}]},{label:"Administra\xE7\xE3o",expanded:!0,links:[{label:"Eventos",route:["/eventos","administracao"],icon:"calendar-tasks",roles:["leader"]},{label:"Fotos",route:["/albuns","administracao","meus-albuns"],icon:"camera-shutter",roles:["leader","fellow","director","manager","staff","speaker"]},{label:"Apresenta\xE7\xF5es",route:["/apresentacoes","administracao"],icon:"presentation",roles:["speaker"]},{label:"Academia",route:["/academia","administracao","meus-cursos"],icon:"academic-cap",roles:["leader","fellow","director","manager","staff","academic"]},{label:"Vagas",route:["/carreiras","administracao"],icon:"music/speaker",roles:["recruiter"]},{label:"Aprenda",route:["/aprenda","administracao"],icon:"book-opened",roles:["member"]},{label:"Sobre voc\xEA",route:["/conta","configuracoes"],icon:"doc/id-card",roles:["member"]},{label:"Sair",route:["/conta","sair"],icon:"exit"}]},{label:"Gerenciamento",expanded:!0,links:[{label:"Eventos",route:["/eventos","administracao","gerenciar-eventos"],icon:"calendar-tasks",roles:["manager","director","staff"]},{label:"Fotos",route:["/albuns","administracao","gerenciar-albuns"],icon:"camera-shutter",roles:["director","manager","staff"]},{label:"Apresenta\xE7\xF5es",route:["/apresentacoes","administracao","gerenciar-apresentacoes"],icon:"presentation",roles:["manager","director","staff"]},{label:"Vagas",route:["/carreiras","administracao","gerenciar-ofertas"],icon:"music/speaker",roles:["manager","director","staff"]},{label:"Academia",route:["/academia","administracao","gerenciar-cursos"],icon:"academic-cap",roles:["manager","director","staff"]},{label:"Usu\xE1rios",route:["/conta","administracao","usuarios"],icon:"gear",roles:["manager","director"]}]}];function lt(r){let t=r,e=Math.floor(Math.abs(r)),o=r.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(r.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===Math.floor(e)&&e>=0&&e<=1?1:n===0&&e!==0&&e%1e6===0&&o===0||!(n>=0&&n<=5)?4:5}var Ge=["pt",[["AM","PM"],void 0,void 0],void 0,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."],["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],void 0,[["a.C.","d.C."],void 0,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],PTE:["Esc."],RON:[void 0,"L"],SYP:[void 0,"S\xA3"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",lt];var Qe=(()=>{class r{static \u0275fac=function(o){return new(o||r)};static \u0275cmp=O({type:r,selectors:[["devmx-not-found"]],decls:10,vars:0,consts:[["src","devmx.svg"],["routerLink","/conta"],["src","devpr.svg","width","100"]],template:function(o,n){o&1&&(w(0,"div"),S(1,"img",0),w(2,"main")(3,"h2"),P(4,"404"),C(),w(5,"h3"),P(6,"P\xE1gina n\xE3o encontrada"),C(),w(7,"a",1),P(8,"Acesse sua conta"),C()(),S(9,"img",2),C())},dependencies:[we],styles:["[_nghost-%COMP%]{height:100vh;display:flex;flex-direction:column}[_nghost-%COMP%] div[_ngcontent-%COMP%]{flex:1;gap:2em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:4.04em;text-align:center;font-weight:600}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;color:#00f}"],changeDetection:0})}return r})();var Xe=[{path:"vagas",loadChildren:()=>import("./chunk-UH3UXNJ6.js").then(r=>r.careerFeaturePageRoutes)},{path:"sobre",loadChildren:()=>import("./chunk-YDU3JYTF.js").then(r=>r.accountFeatureAboutRoutes)},{path:"evento",loadChildren:()=>import("./chunk-3F647OO5.js").then(r=>r.eventFeaturePageRoutes)},{path:"albuns",loadChildren:()=>import("./chunk-3OW34LBR.js").then(r=>r.albumFeatureShellRoutes)},{path:"carreiras",loadChildren:()=>import("./chunk-P6FJ2MEG.js").then(r=>r.careerFeatureShellRoutes)},{path:"eventos",loadChildren:()=>import("./chunk-F6THDKE2.js").then(r=>r.eventFeatureShellRoutes)},{path:"apresentacoes",loadChildren:()=>import("./chunk-MZVM2UVI.js").then(r=>r.presentationFeatureShellRoutes)},{path:"conta",loadChildren:()=>import("./chunk-6GR4MAJE.js").then(r=>r.accountFeatureShellRoutes)},{path:"academia",loadChildren:()=>import("./chunk-TQRFHWEI.js").then(r=>r.academyFeatureShellRoutes)},{path:"aprenda",loadChildren:()=>import("./chunk-ZUTFRYJ3.js").then(r=>r.learnFeatureShellRoutes)},{path:"",pathMatch:"full",redirectTo:"conta"},{path:"**",component:Qe}];var u={prod:!0,api:{url:"https://api.devparana.mx/api"},photos:{url:"https://api.devparana.mx/photos"},covers:{events:{url:"https://api.devparana.mx/events/covers"}},googleTag:"G-3562LSS0KB"};ue(Ge,"pt-BR",Ze);var et={providers:[ce({eventCoalescing:!0}),Ce(Xe,Ae(),Me(),Se({onSameUrlNavigation:"ignore",urlUpdateStrategy:"deferred"})),He(),{provide:le,useValue:"pt-BR"},{provide:re,useClass:x},ze(Je),ge(fe([Ve,$e])),Oe(he),...je(),We(Le),Re(u),...xe(),...Pe(),...Ne(),..._e(),...Fe(),...ke(),Ke("ngsw-worker.js",{enabled:!de(),registrationStrategy:"registerWhenStable:30000"}),{provide:Ie,useValue:{appearance:"outline"}}]};var B=class extends HTMLScriptElement{connectedCallback(){this.setAttribute("async",""),this.setAttribute("src",`https://www.googletagmanager.com/gtag/js?id=${u.googleTag}`);let t=document.createElement("script");t.innerHTML=`window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); - - gtag('config', '${u.googleTag}');`,document.body.appendChild(t)}};customElements.define("google-tag",B,{extends:"script"});u.prod&&document.body.appendChild(document.createElement("script",{is:"google-tag"}));ye(Ue,et).catch(r=>console.error(r)); diff --git a/ngsw.json b/ngsw.json index 398c3658..7910f517 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1734779383983, + "timestamp": 1735280397118, "index": "/index.html", "assetGroups": [ { @@ -11,97 +11,98 @@ "ignoreVary": true }, "urls": [ - "/chunk-2GNIBV4J.js", - "/chunk-2IAXMR6M.js", - "/chunk-2XST3EDK.js", - "/chunk-3F647OO5.js", - "/chunk-3OW34LBR.js", - "/chunk-4422JARR.js", - "/chunk-4JU575PW.js", - "/chunk-4Z5R5VSG.js", - "/chunk-56M6HFOE.js", - "/chunk-5BAEVBCP.js", - "/chunk-6BGAZ7SQ.js", - "/chunk-6GR4MAJE.js", - "/chunk-6P3MPDKA.js", - "/chunk-73QBZNVE.js", - "/chunk-7O2H2TAM.js", - "/chunk-A3N3AUUJ.js", - "/chunk-AFH22WZE.js", - "/chunk-AND6K73U.js", - "/chunk-BJXILAOS.js", - "/chunk-BLJCB4Q7.js", - "/chunk-BNCLIKTI.js", - "/chunk-BZ5BKAFD.js", - "/chunk-DAURILCW.js", - "/chunk-DUF4HXV7.js", - "/chunk-EC6LD5KM.js", - "/chunk-EDIJ2EBQ.js", - "/chunk-F2BR4OZZ.js", - "/chunk-F6THDKE2.js", - "/chunk-FROUXDRM.js", - "/chunk-FVH3EPWM.js", - "/chunk-GXQHMTZK.js", - "/chunk-HGOTYYGI.js", - "/chunk-HRSGZXOU.js", + "/chunk-2CZV2Z3I.js", + "/chunk-2ZIXK45P.js", + "/chunk-2ZQUZ4JV.js", + "/chunk-34JIMYEM.js", + "/chunk-366DNJGU.js", + "/chunk-37XQ32LA.js", + "/chunk-3FERTUMZ.js", + "/chunk-3ICSMDPT.js", + "/chunk-3IM4ETQJ.js", + "/chunk-44YUKMNR.js", + "/chunk-46FZR7EY.js", + "/chunk-4GWBJQXV.js", + "/chunk-4OXAFH6K.js", + "/chunk-4YGLTYA3.js", + "/chunk-5L47ZUSK.js", + "/chunk-5MUU2WLY.js", + "/chunk-5XJFAPMG.js", + "/chunk-5ZT2NHQS.js", + "/chunk-6O7ZXXYX.js", + "/chunk-6PKCOWVT.js", + "/chunk-75BM4JAG.js", + "/chunk-76QZXEBP.js", + "/chunk-7BKB7KKA.js", + "/chunk-7RMPQIRR.js", + "/chunk-7ZNDEEZ6.js", + "/chunk-A74J7Y3C.js", + "/chunk-AF344KWA.js", + "/chunk-B7ATSCPT.js", + "/chunk-BET5XOG5.js", + "/chunk-BJ2ND26O.js", + "/chunk-BJPVFIKR.js", + "/chunk-BN44ELXF.js", + "/chunk-C7FIZGKV.js", + "/chunk-CG5OOKZO.js", + "/chunk-DQZ22ZG2.js", + "/chunk-E5QACR6S.js", + "/chunk-ECERSGDL.js", + "/chunk-EJAMDHKS.js", + "/chunk-EM27EDGS.js", + "/chunk-F7SWVKKK.js", + "/chunk-FJPP4CEK.js", + "/chunk-FKKUCUPL.js", + "/chunk-FTG3SWGJ.js", + "/chunk-FY4SNPSV.js", + "/chunk-GXWUGGBK.js", + "/chunk-HEUAONWX.js", + "/chunk-HOUESFGN.js", + "/chunk-HTIZBTEM.js", + "/chunk-HY6WPF2C.js", + "/chunk-I7HMQKPZ.js", "/chunk-I7VYXJU2.js", - "/chunk-IIJ56NAR.js", - "/chunk-J6QMVZUK.js", - "/chunk-JALA4ZS3.js", - "/chunk-JMI5D6U5.js", - "/chunk-JNB3NYAZ.js", - "/chunk-JQW63IXS.js", - "/chunk-K4DUSKBE.js", - "/chunk-KDMTRYHW.js", - "/chunk-L2JQY5SP.js", - "/chunk-M5BYPXOP.js", - "/chunk-MEIYYXQK.js", - "/chunk-MLNPCJDD.js", - "/chunk-MYMD7E64.js", - "/chunk-MZVM2UVI.js", - "/chunk-NAMLT62R.js", - "/chunk-O3T3UZHL.js", - "/chunk-P6FJ2MEG.js", - "/chunk-PAP2P7QR.js", - "/chunk-Q2N7RZTH.js", - "/chunk-Q33OVU5J.js", - "/chunk-QQ3DFMVY.js", - "/chunk-R2BYSYX5.js", - "/chunk-RGIFAF2T.js", - "/chunk-SG4GQJJH.js", - "/chunk-SVV7FRLS.js", - "/chunk-SZNPDBBQ.js", - "/chunk-TEKHUYWQ.js", - "/chunk-TPJZ2OYR.js", - "/chunk-TQRFHWEI.js", - "/chunk-UH3UXNJ6.js", - "/chunk-UOTKRQ63.js", - "/chunk-V6KASOE3.js", - "/chunk-VAO4SSMZ.js", - "/chunk-VHE4TYFV.js", - "/chunk-VVQ6JEVH.js", - "/chunk-W5KNOAKV.js", - "/chunk-WD4JQH2Z.js", - "/chunk-WK53HQNR.js", - "/chunk-WKFJTKSD.js", - "/chunk-WOE5TNBB.js", - "/chunk-WPU27ID5.js", + "/chunk-INB6BZQB.js", + "/chunk-IWNQKLZQ.js", + "/chunk-J4P2XXRU.js", + "/chunk-K7TUA2BU.js", + "/chunk-KCQYBIUM.js", + "/chunk-KJGJNKOT.js", + "/chunk-KN3XQ7E5.js", + "/chunk-LJI7J76F.js", + "/chunk-LKFEOD7V.js", + "/chunk-MNMKGC52.js", + "/chunk-MSZO77IL.js", + "/chunk-NAKSAAO7.js", + "/chunk-OOIIDBJ2.js", + "/chunk-OQLD3BC6.js", + "/chunk-OSS63ZJA.js", + "/chunk-PUZOD6N6.js", + "/chunk-R2DS22I4.js", + "/chunk-R4QCZCL2.js", + "/chunk-RN4QN3AM.js", + "/chunk-RVBVVCKL.js", + "/chunk-SBPBG2DZ.js", + "/chunk-SF2V34MO.js", + "/chunk-SHFAOAWS.js", + "/chunk-TDAJGOKB.js", + "/chunk-TERRPVDK.js", + "/chunk-TJJFEYFG.js", + "/chunk-U4DRQCSW.js", + "/chunk-UANEMOTZ.js", + "/chunk-VOJVPEIN.js", + "/chunk-VTXFVMCI.js", + "/chunk-WDHK3HYB.js", + "/chunk-WV46BQJH.js", + "/chunk-XCFSI5KM.js", "/chunk-XIUDFJWJ.js", - "/chunk-XUKBPA5N.js", - "/chunk-XWYI7Y6E.js", - "/chunk-XYJHVZQT.js", - "/chunk-YDU3JYTF.js", - "/chunk-YFMYPYPE.js", - "/chunk-YGTSZDQ5.js", - "/chunk-Z3ZVRDLS.js", - "/chunk-ZHS65JNW.js", - "/chunk-ZQOXWN4S.js", - "/chunk-ZTJS4K5V.js", - "/chunk-ZTWYID37.js", - "/chunk-ZUTFRYJ3.js", + "/chunk-YARZXNSP.js", + "/chunk-YJEP2JMA.js", + "/chunk-Z63MF55O.js", + "/chunk-ZYL27KLI.js", "/index.html", "/logo.svg", - "/main-I2XGNJXV.js", + "/main-2NY6J6PO.js", "/manifest.webmanifest", "/polyfills-YTAVFQFU.js", "/styles-CQKXDTW2.css" @@ -1084,94 +1085,95 @@ "/banners/undraw_programmer_re_owql.svg": "2f3f6a1413c76f74db01b2336d24b3fe94c4a01a", "/banners/undraw_short_bio_re_fmx0.svg": "7aea0d6ddaa111cc3263058bb0398055d2a6a1f5", "/banners/undraw_spreadsheet_re_cn18.svg": "d50ed18ed77945fca923efd3163a0dedaf182bfd", - "/chunk-2GNIBV4J.js": "9fec64323c90156dfc997fbe75cf090a5d121ff3", - "/chunk-2IAXMR6M.js": "a5f0ad9ddcfb088421e470a891154f75b52267d0", - "/chunk-2XST3EDK.js": "e84eed8e7baa237aeed0d0f2a0af859c335dd51b", - "/chunk-3F647OO5.js": "d2dad350280661a0d26e806e178f637bf6183f27", - "/chunk-3OW34LBR.js": "c56853c181e9199ed2afa544b6f755f470a48fe7", - "/chunk-4422JARR.js": "7086d3a9346461410defbe4b787839c2c5243048", - "/chunk-4JU575PW.js": "4f7520c6ce897c01e097d218894a6b49c952c776", - "/chunk-4Z5R5VSG.js": "9e11da472fc34b99e2e596234bbaaa3fff25ddff", - "/chunk-56M6HFOE.js": "022665ab9e3babdb667d0004dc800843d42e6684", - "/chunk-5BAEVBCP.js": "07fa8770d27175733b31fb50c60a7deadca2c8ae", - "/chunk-6BGAZ7SQ.js": "c6e93c2b8da6a96ad3b4be199d9b276d7a49d8d8", - "/chunk-6GR4MAJE.js": "b41ec6fccdf6f29f4779062f2487dbcd85fb9eb2", - "/chunk-6P3MPDKA.js": "13b24bfae34aac153d45355036698622bb1357e5", - "/chunk-73QBZNVE.js": "20b0e916c94421a826410e23c660e910a7156af3", - "/chunk-7O2H2TAM.js": "f5c0fbf7cdbc2e33ac0e21909b8797eb6dfec7ca", - "/chunk-A3N3AUUJ.js": "dc7037208ca3b777d5967a14909d0ba194b064b6", - "/chunk-AFH22WZE.js": "b6d8a77dc258344549e048960815b0134b1897e5", - "/chunk-AND6K73U.js": "ac84b9c5e3b501f5c8c829de8f2ae96014efa8e8", - "/chunk-BJXILAOS.js": "3002a26e51a94c52e1abf27f2f10e6eaf9502fce", - "/chunk-BLJCB4Q7.js": "5f22c7f74cd349420616fb7f73ad34da791c8984", - "/chunk-BNCLIKTI.js": "ed7aba029580be447387245dfe4ccdf76dfee75f", - "/chunk-BZ5BKAFD.js": "497dc0f2d44e77de45d0c5f9e1ddbc50ccda9665", - "/chunk-DAURILCW.js": "868575c0dd619fd9fff554f9b5d947a8722de8e5", - "/chunk-DUF4HXV7.js": "233bb7c2e4e8b41af77cfeac58ea5cea01039c26", - "/chunk-EC6LD5KM.js": "f0ceeb45af5c43f50b14bf1ab88c561ef12505dc", - "/chunk-EDIJ2EBQ.js": "9ed1c47fefdc5c0807791e1f4e59da638e7c219a", - "/chunk-F2BR4OZZ.js": "564954b87dc0fca6807d7864d562354c15db3528", - "/chunk-F6THDKE2.js": "817348079a7456c6904f315a01208893cc872945", - "/chunk-FROUXDRM.js": "c6ee7efa8dc5ecf17df6214cd40142142392bb42", - "/chunk-FVH3EPWM.js": "97813b155a1070dbbac33fa602e15a5921dc1a02", - "/chunk-GXQHMTZK.js": "6fe4633655065bbcca2704190270990b229b263f", - "/chunk-HGOTYYGI.js": "c14c69bc53e5fe10a84744b11bffb55a13fa6adb", - "/chunk-HRSGZXOU.js": "b3d1339cb59d9062c9a59bae3cd2c3df170e54cc", + "/chunk-2CZV2Z3I.js": "50eeb046896a17be46b50bb7b3a24523dc76df2a", + "/chunk-2ZIXK45P.js": "9542e38ea68d5c6f3f12c6ecd5c9d2d298ce128e", + "/chunk-2ZQUZ4JV.js": "45c18a4f5cf13f9768d50bf58b2a12b1e5c96a26", + "/chunk-34JIMYEM.js": "cbcb8bd04048ef87dc6b1700faf6058c3dc23d6e", + "/chunk-366DNJGU.js": "4de4d7517bd216cc55a53acc52ae39720f475f3d", + "/chunk-37XQ32LA.js": "f223fa95e4ef2ebef33ffd810edb97cd4a130ed9", + "/chunk-3FERTUMZ.js": "cba4428db3a756ff50f739ebf041da3acd300464", + "/chunk-3ICSMDPT.js": "e9db8a53107f8a9a95af4f242abb423c35473cfe", + "/chunk-3IM4ETQJ.js": "da2ba2602c682f07826b1f54b1c7e92ec500f17d", + "/chunk-44YUKMNR.js": "f70e04e553673cdfdc216f41b958a95ded4ab792", + "/chunk-46FZR7EY.js": "6329efd8c8a5ef7b43887e3929ca7ca38733e7c9", + "/chunk-4GWBJQXV.js": "6e858245158e6af2786b3f8158ba9f4fe746ce09", + "/chunk-4OXAFH6K.js": "7517c9d0328ef312f4bb97145f7e7fa1df448011", + "/chunk-4YGLTYA3.js": "d08753b118a6be6501a08aa6ada4df35f0339451", + "/chunk-5L47ZUSK.js": "20a75bf6fd92514e554d0409f29b5684737afa79", + "/chunk-5MUU2WLY.js": "0e659caffcffb57ad020d5e7020689afcc09f4b8", + "/chunk-5XJFAPMG.js": "dff909e8dea26eae01bcffde28ed19f1dfd6e2f8", + "/chunk-5ZT2NHQS.js": "2d2cc79bbce0a8c263de5006f1f0b382e2bd3a6a", + "/chunk-6O7ZXXYX.js": "73768d0910800a2458323c1da4037e40cb7eafcf", + "/chunk-6PKCOWVT.js": "05976d4c34276abe26b968d6087afd84130b63c7", + "/chunk-75BM4JAG.js": "824db0a1e9c304c96e9343aa12873ef03df3e45d", + "/chunk-76QZXEBP.js": "f243f25efa59f7a7c9e56a1c306cb1c6eef27ff7", + "/chunk-7BKB7KKA.js": "7f6e22c1e9f9cd6d9ff89c9b62a5c6d2b4d9cdd9", + "/chunk-7RMPQIRR.js": "627d1a96f77c7dc423898e94899769696815ea25", + "/chunk-7ZNDEEZ6.js": "771a6295a8ef5ff427b3763229ef9e1e3db2e9b7", + "/chunk-A74J7Y3C.js": "547ea5e302ed929e3f777ae2a67a0831b916bf71", + "/chunk-AF344KWA.js": "b6fd945d7c7ad5d14af0d009147f3cd228a9019a", + "/chunk-B7ATSCPT.js": "20999742a8c2cdbe9e10c66d42fbc520504d3697", + "/chunk-BET5XOG5.js": "181aadcb23621835146d0ef043b6972f5e42f125", + "/chunk-BJ2ND26O.js": "52ac5967f0a98d13c7b85dda433fa3fde7637c67", + "/chunk-BJPVFIKR.js": "ba1099939c8b0096da0b63e3430cf700eb44f63b", + "/chunk-BN44ELXF.js": "6ad586d68ed8f10593bab196be8387b64c65407b", + "/chunk-C7FIZGKV.js": "a863119bed04f6c8ab93529aba817197bc066a98", + "/chunk-CG5OOKZO.js": "8927b696a90673acfdfbc3e110f7203104dfae8a", + "/chunk-DQZ22ZG2.js": "c59976a4783d0f68d56f32390a096c269b1357cd", + "/chunk-E5QACR6S.js": "21dd9e45ae7130640286d932b6e98f22900b869f", + "/chunk-ECERSGDL.js": "6324b6052b5306e1d721fffbfbb892d844c537f6", + "/chunk-EJAMDHKS.js": "c6a02e5a092b1722cdf1335621cf6bb30444526d", + "/chunk-EM27EDGS.js": "3967f8edad862bd0fd7da2227540bc04f6765a11", + "/chunk-F7SWVKKK.js": "71d48fd4a934c83799052e63524adf065b0e1b22", + "/chunk-FJPP4CEK.js": "7207ac224112c35ac6f7cca9691749ac5c290f80", + "/chunk-FKKUCUPL.js": "e5b3f631ec48798476a3f7418e19f6ab1a5fb6d1", + "/chunk-FTG3SWGJ.js": "c5194847dec2c4e33078e2ad7d9cfa71273089ad", + "/chunk-FY4SNPSV.js": "9d4e985ca30a96c84395df5fa6fd2e35f8860f03", + "/chunk-GXWUGGBK.js": "976465bd98786d0ab23e22ed95dd4ccc1f752b40", + "/chunk-HEUAONWX.js": "01066e6280bcde3a449b21a40c3bcea43dc16ae1", + "/chunk-HOUESFGN.js": "663cf658ac978de3e3c3ba7de640420af5df03a5", + "/chunk-HTIZBTEM.js": "7a1005bdc75bf8a551d5fc502124a0560b9b8743", + "/chunk-HY6WPF2C.js": "b1bb6e501d944fb528d898fc83f3873a84f3acff", + "/chunk-I7HMQKPZ.js": "29c2897bc37467e4e7402b67730e65c3099626b5", "/chunk-I7VYXJU2.js": "3e369591746c5ccefe654c29a87c54c5e6f87894", - "/chunk-IIJ56NAR.js": "889ecfee30d63085563d821c12076654ab0dd83c", - "/chunk-J6QMVZUK.js": "48e779b33c3b31bf6fa5ad73204f1991e62aaa7b", - "/chunk-JALA4ZS3.js": "ab41ea85369560a40ae0fe9406063865cf75e8f4", - "/chunk-JMI5D6U5.js": "255c7955adad3de3fe68d7a016bd465139c76aa4", - "/chunk-JNB3NYAZ.js": "fbc7e580e3c699b6e91abde34626939915618cbf", - "/chunk-JQW63IXS.js": "f8c06958ea22cc7ece931389ec337a81af732bc6", - "/chunk-K4DUSKBE.js": "537b193161f0ba5ddfc03e411dc9999e8ea21ebd", - "/chunk-KDMTRYHW.js": "75f55cbd2b6a8d96853630025de16c56a3925beb", - "/chunk-L2JQY5SP.js": "e63463922a9f5770e83c7cb68000b6eef2bdf116", - "/chunk-M5BYPXOP.js": "9f385c8c6db9eb8b0fda7310c86070d5cc486fc2", - "/chunk-MEIYYXQK.js": "691bf056468c05ffccf904cbaf1462556e31ffd7", - "/chunk-MLNPCJDD.js": "c876e007e494440439c9311cb65049cd0ecab212", - "/chunk-MYMD7E64.js": "99e85091158abf4b0cb1af01c71af1d929ca71f0", - "/chunk-MZVM2UVI.js": "7d2cf6e9880ebde543db83f6337b643a30a7db04", - "/chunk-NAMLT62R.js": "4bbbf5353182cfbd06f852d3877833387da66943", - "/chunk-O3T3UZHL.js": "79ae8a49463e0700f7b7f06766d58c9b232c418a", - "/chunk-P6FJ2MEG.js": "a1053c90863aa9e9adc1149b17af1f10dd4c8879", - "/chunk-PAP2P7QR.js": "fcec8eb565b77b8f5f25bfcbce86511f1f670a1d", - "/chunk-Q2N7RZTH.js": "ebf537ee9e33d9977b8f66d0f0741ac251d6318c", - "/chunk-Q33OVU5J.js": "3988ece12b683f985fc143989b01ed7604ac0623", - "/chunk-QQ3DFMVY.js": "1d15368b92bde289a0fc259595b17a5b4b5b676f", - "/chunk-R2BYSYX5.js": "fbfc6bcb1c9f37be2f10139e731a84fc376becb8", - "/chunk-RGIFAF2T.js": "d8565fb42294837550d8d5ae5687bcfb7c6fac1c", - "/chunk-SG4GQJJH.js": "5587e78c4fa4eed63adc49b8790d127b6af4d961", - "/chunk-SVV7FRLS.js": "882f528f301027506468af21769bac06bf53f10a", - "/chunk-SZNPDBBQ.js": "9ab637f78cf448daa634803014448b9fe8c233bf", - "/chunk-TEKHUYWQ.js": "39b3e28be2f156253cfae1b08f166ec78d8bcf35", - "/chunk-TPJZ2OYR.js": "20c06ce356c18de47048b9d88e66d53ca47088ca", - "/chunk-TQRFHWEI.js": "ffd4ff695a0faae6affb6269170a4f6a247a814c", - "/chunk-UH3UXNJ6.js": "e55bdb8c303cd34730919a6061c9ec7de8531541", - "/chunk-UOTKRQ63.js": "708a090560c444a9e403daf3fa5515cd257a1434", - "/chunk-V6KASOE3.js": "cfdc441fbb250d199f63eaa0f7c37eee90bfe496", - "/chunk-VAO4SSMZ.js": "c7192e61016a522d912689d2455e0f36d86859d5", - "/chunk-VHE4TYFV.js": "ca4fe186c87ef94f3b433c7e6ad8edc31fea7289", - "/chunk-VVQ6JEVH.js": "9a3b9b0664ae616fb95d567bbae6de9eb1548eff", - "/chunk-W5KNOAKV.js": "814f756d70b30483ca22e453f5c637f1f262e05d", - "/chunk-WD4JQH2Z.js": "feb871a8db9af0b2c497a0c72ad9880db2ad91ec", - "/chunk-WK53HQNR.js": "1bdf422c2eb54247c5d49fce92b19f98844732ed", - "/chunk-WKFJTKSD.js": "1c69ebdf0f3b063b12a9be7eaf753512f25123d1", - "/chunk-WOE5TNBB.js": "fde50316638de3fb259c939bbd906c261f50958d", - "/chunk-WPU27ID5.js": "bbd45efcaa64dfc072678d38caf6141f49a1a5de", + "/chunk-INB6BZQB.js": "59524a4ef174cc905eceeeb8e8b1fe9c62ea2c3b", + "/chunk-IWNQKLZQ.js": "1484fb35255d2020c82200bede3b2ac06b71858b", + "/chunk-J4P2XXRU.js": "60d94714c941f49374635da53b7f53a66a4687a2", + "/chunk-K7TUA2BU.js": "d809b756c697e8accc1b2514e160aeb767be7e78", + "/chunk-KCQYBIUM.js": "bdac13e12ac27bf539e07b679e7bfd201dfe6173", + "/chunk-KJGJNKOT.js": "4ccc36f429584ce6c75f485fba0631b5cde111ad", + "/chunk-KN3XQ7E5.js": "25d91234a6b70a28b1bf1e7247936bd6d8ce991b", + "/chunk-LJI7J76F.js": "db4817bac28ec2aa1a842354598a72a2d6f62772", + "/chunk-LKFEOD7V.js": "1fda49fb2b688cdf016c17e30d36dc32795bab8d", + "/chunk-MNMKGC52.js": "2e955ce8099e1c07639183e655092639f8972f3f", + "/chunk-MSZO77IL.js": "f1c93a4bc4ae9b198f7bea1a5d3aa6b47df90ddf", + "/chunk-NAKSAAO7.js": "09d90b1de019e4780bae492d18fdbdb88f43084c", + "/chunk-OOIIDBJ2.js": "b6e0909789f780fce5e48088d74d67ba6c2d1571", + "/chunk-OQLD3BC6.js": "3c478d15c994eb47b2f06ba11160f5d514bbaf6e", + "/chunk-OSS63ZJA.js": "71ed7e87628e0a406b22657e0b668ec0b7a504d7", + "/chunk-PUZOD6N6.js": "859bc2e17fb7bd37df8da3c3c6e73808d7852b50", + "/chunk-R2DS22I4.js": "c2eeb54f309ee73a50519eb97598c9d98c2858ea", + "/chunk-R4QCZCL2.js": "1eacb3949caba2a906f17ddd343537841ab5dc8b", + "/chunk-RN4QN3AM.js": "14b1a6f4b92b5e1751b89d87a3084c4bc4087e95", + "/chunk-RVBVVCKL.js": "3ec6105790836e612ecab23d2964e68d0bec1e6e", + "/chunk-SBPBG2DZ.js": "f113644607b8e594e9259f95df3224960c5d5cdb", + "/chunk-SF2V34MO.js": "a693b727cdbced3438c4ece64df60ce923c3f726", + "/chunk-SHFAOAWS.js": "b763fe5df2bcc87ce7190787b3d5479c5910b3da", + "/chunk-TDAJGOKB.js": "5ee14a2fc1303545572dba8aac094cea797fee26", + "/chunk-TERRPVDK.js": "08dee429452903c7ab4f95ac07ebf9ad7eed6972", + "/chunk-TJJFEYFG.js": "0cef78c84ae539ac5788bd3f49a12e0cfa292209", + "/chunk-U4DRQCSW.js": "d542c31ece8d9d0427b60b5b29f8aab825d825df", + "/chunk-UANEMOTZ.js": "cb8b3a0860dbd4caf2f757390386f6e59d286f52", + "/chunk-VOJVPEIN.js": "5a5fa0eebcc498c427af50a0237099920f257753", + "/chunk-VTXFVMCI.js": "4c7d4f92a0bda99bf1c1cbf879320bb711e5848c", + "/chunk-WDHK3HYB.js": "8d49e544c2c05580f0a70c5757f70e0e5c7c8b63", + "/chunk-WV46BQJH.js": "25c11dd346ba55724497477533873c9f382d5547", + "/chunk-XCFSI5KM.js": "0475e30a6e4c38bff2e12b4e68beb3c49a2290d5", "/chunk-XIUDFJWJ.js": "fd9c30a40c3d458e96abfcbbfccd64a3f97ce7b6", - "/chunk-XUKBPA5N.js": "29310d55a1f1a475f6a9cc42ab0c814d5f394a50", - "/chunk-XWYI7Y6E.js": "d94f6bd091dd4ed0c2b8f1525c05928684c3fdf9", - "/chunk-XYJHVZQT.js": "8dec488ca90328d825d431fa547033d581f08409", - "/chunk-YDU3JYTF.js": "1b0983cd2c3005fb8ad739a91299296ca3aa1c6f", - "/chunk-YFMYPYPE.js": "e0a63387ed4c29edc0b753e97e8c53131f138163", - "/chunk-YGTSZDQ5.js": "d8c6c67513bc18d9d21611647820272674f45903", - "/chunk-Z3ZVRDLS.js": "313080ea8db8e923e1f25ad79486d493de32b32e", - "/chunk-ZHS65JNW.js": "d5658f4ffec5f0093b379527779021db63ed0fd6", - "/chunk-ZQOXWN4S.js": "d79f0ddcf1cccdadb444cb75f3808ee4e4e6972e", - "/chunk-ZTJS4K5V.js": "d1dbafb3eb15a465227cf46f094d37bd4c223eae", - "/chunk-ZTWYID37.js": "321ec7c75e1df558b3f0cd832edbda9deb97fa00", - "/chunk-ZUTFRYJ3.js": "51a1d3af7d6c10936f752deb19c3707ce5cdca31", + "/chunk-YARZXNSP.js": "456da22e8602252c02d0e46d02258d1de7de0efa", + "/chunk-YJEP2JMA.js": "bc21f410492053421127e941adeedc277cad2d5f", + "/chunk-Z63MF55O.js": "62710576467fb0e1cc964cdae92ed59b0d16a70a", + "/chunk-ZYL27KLI.js": "8b21dd94911603ba0222e9184365db9fa15e72da", "/devmx.svg": "2cfa8115983d46ff4e4aadf2d08c4a54dca3d51e", "/devparana.mx.webp": "0d9f58b58d75153e8b2b9912daa3a065891e1db4", "/devpr.svg": "b0341a602edf0cc47bba3bdd03eaf02bb4982b73", @@ -2049,10 +2051,10 @@ "/illustrations/projetos.svg": "0808b82037b44d3563035c7b9497d2d3ce07250e", "/images/resume-folder.png": "36484a5502d2359b07c3c656a694345d16b88f6c", "/images/resume-folder.webp": "ad287528a078eba29452a90a9d973b6f68f77c0c", - "/index.html": "e100996c7f7c5cc794fa494c192ccb90b4440096", + "/index.html": "00307c08fc9e3f2e3bbac1e5276d6568ae95f414", "/loader.svg": "805d529f2dcd845a527c394917dfbf91817efcf5", "/logo.svg": "2e202060974c416a93e07c04259c4aea01ffc8f7", - "/main-I2XGNJXV.js": "e3dc8f696a5fcd84686d451042dca1c48eb995ff", + "/main-2NY6J6PO.js": "8389b49a53aaa002a7392913729ea5f077a95862", "/manifest.webmanifest": "5fb0d39d4d6f1d375edf05eff19dc89664c74ca9", "/photos/default.svg": "28187a03d38b2c569486a162c93a28d60372f9da", "/placeholder.svg": "033b33f152ea32d79c011c1b920e2eb7ce86488f",